Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - CerealGuy
136
Bug reports / [Aeva] Re: Non-SSL on SSL Connection
« on June 1st, 2015, 10:10 AM »
The universe is fantastic, can't wait to get home and play it. But i will probably have to wait another 2 weeks till i have enough time (really enough time like 24/7 ^^).

How about adding another "magic" string (whats the proper term for this?)  like <URL>?  Something like <?HTTPS> which gets replaced with http or https depends on the users connection type.
137
Bug reports / [Aeva] Re: Non-SSL on SSL Connection
« on May 31st, 2015, 09:14 PM »
Hmmm doesn't sound too good, perhaps Geralt has to kill this demon :niark:.
In the moment I'm reading the first book, which is till yet absolutely recommendable (no doubts that the rest is it too).
138
Bug reports / [Aeva] Non-SSL on SSL Connection
« on May 31st, 2015, 10:31 AM »
Aeva doesn't change the embedded url to https if the user views the site over a ssl connection. Therefore you have non ssl content on a ssl encrypted page, which gets blocked by most browsers, for all other browsers it's a security issue.
139
Bug reports / [Aeva] Cache of Aeva-Sites
« on May 17th, 2015, 11:28 PM »
After the latest update (the youtube thing) i had to remove Aeva-Sites.php to get it working. Why does that stuff get cached outside of /gz/app?
140
Off-topic / Re: My Journey with Wedge.
« on May 12th, 2015, 11:15 AM »
Quote from CerealGuy on April 30th, 2015, 12:01 PM
Quote from Wanchope on April 30th, 2015, 09:35 AM
Quote from CerealGuy on April 29th, 2015, 11:54 PM
index.php?action=admin;area=featuresettings;sa=home
Sorry don't know the english descriptions, but there you can change it.
From the link you gave me, there is no option to disable it entirely, just to remove it from the displaying in the homepage. This means that thought query is still executed but to displayed. I was looking for an option to display thought entirely.
Thanks anyway.
That would be stupid if wedge executes the queries but not display thoughts. I will have a look at it...
Wedge is definetly not doing that. Only if thoughts should be displayed it's asking the db for thoughts. Otherwise wedge doesn't even load Thoughts.php (have a look into Home.php).
141
Support / [Aeva] Need help implementing Soundcloud
« on May 10th, 2015, 03:14 PM »
Again i tried to implement Soundcloud into Aeva Media. And it's not really easy because debugging is a pain in the ass.  But that's another story.

In the moment i'm this far that i only need to get the "real" url over an api provided by soundcloud and replace the old url. But Aeva doesn't even perform my url lookup. I only need to extract everything between "url=" and ";".

Example lookup url: soundcloud.com/oembed?iframe=true&url=http://soundcloud.com/erasedtapes/olafur-arnalds-poland

My current array is this:
Code: [Select]
array(
'id' => 'scld',
'plugin' => 'html',
'title' => 'Soundcloud',
'website' => 'http://soundcloud.com',
'type' => 'video',

'pattern' => 'http://(?:www\.)?soundcloud\.com/([\w-]+)(\/[\w-]+)?/?',
'movie' => '<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=$1;color=ff5500&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false"></iframe>',
'ui-height' => 0,
'lookup-url' => 'url=(.*);',
'lookup-actual-url' => 'http://soundcloud.com/oembed?iframe=true&url=$1',
'lookup-pattern' => 'url=(.*);',


),

142
Off-topic / Re: My Journey with Wedge.
« on April 30th, 2015, 12:01 PM »
Quote from Wanchope on April 30th, 2015, 09:35 AM
Quote from CerealGuy on April 29th, 2015, 11:54 PM
index.php?action=admin;area=featuresettings;sa=home
Sorry don't know the english descriptions, but there you can change it.
From the link you gave me, there is no option to disable it entirely, just to remove it from the displaying in the homepage. This means that thought query is still executed but to displayed. I was looking for an option to display thought entirely.
Thanks anyway.
That would be stupid if wedge executes the queries but not display thoughts. I will have a look at it...
143
Off-topic / Re: My Journey with Wedge.
« on April 29th, 2015, 11:54 PM »
index.php?action=admin;area=featuresettings;sa=home
Sorry don't know the english descriptions, but there you can change it.
144
Off-topic / Re: My Journey with Wedge.
« on April 29th, 2015, 01:16 PM »
You can disable thoughts. Somewhere in the admin panel you can configure the startpage. There should be a start page where you can change the objects which should be displayed.
145
Off-topic / Re: My Journey with Wedge.
« on April 27th, 2015, 03:02 PM »
Nginx is perfectly fine with wedge at far as i have seen it. The only thing you have to keep in mind is that nginx does not support .htaccess files (at least in default installation).
146
Plugins / [Plugin] MoreRecyclingBins
« on April 6th, 2015, 02:28 AM »
Sometimes you need more than one Recyclingbin, for example
if you want to move Topics of a specific board to another
recyclingbin as the rest. And this is what this plugin does.
You can define new Recyclingbins for some affected boards.

This is a more special plugin, but maybe useful for someone.

https://github.com/C3realGuy/MoreRecyclingBins
147
apply_plugin_mods() destroys the Settings.php when an error occurs.

array_diff() needs two arrays as arguments but only gets one (the other one is the plugin string).
Code: (Subs-CachePHP) [Select]
$enabled_plugins = array_diff($enabled_plugins, $plugin);
I changed it to
Code: (Fix1) [Select]
$enabled_plugins = array_diff($enabled_plugins, array($plugin));
but perhaps something with array_search and unset would be better.

And updateSettingsFile() wants an assoc but it gets something weird:
Code: (Subs-CachePHP) [Select]
updateSettingsFile(array('my_plugins' => $my_plugins = implode(',', $enabled_plugins)));

I changed it to
Code: (Fix2) [Select]
updateSettingsFile(array('my_plugins' => implode(',', $enabled_plugins)));

Will create a pull request...

EDIT:
https://github.com/Wedge/wedge/pull/28
Includes some other fixes
148
Archived fixes / Re: Some bugs with allow_guestAccess
« on March 23rd, 2015, 07:31 PM »
@Farjo do you have any links are any more details on those bugs?
149
Plugins / [Plugin] Re: CountLikes
« on March 21st, 2015, 01:53 PM »
Didn't get that error yet :hmm:. But thats a block of code where I really don't know what it does.
150
Archived fixes / Re: Some bugs with allow_guestAccess
« on March 19th, 2015, 07:36 AM »
This is still unsolved.
@Farjo allow_guestAccess = False has the effect that guests only can login. Nothing else. So changing the permissions is only a workaround.