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 - Nao
451
Support / Re: horizontal screen size
« on January 7th, 2015, 12:05 AM »
Quote from CerealGuy on December 22nd, 2014, 07:19 PM
Hmm tried that in topic.js, didnt work for me. Its an annoying bug, but firefox is my favourite browser because of its usability...
Yeah I understand, I have nothing against Firefox but I find that Chrome has fewer rendering bugs overall, so I tend to favor it.
Anyway, I've got a fix for topic.js now, I've tested it and it works fine in the latest Firefox, although I'll need to test images too...

452
Features / Re: No overwrite of files
« on January 6th, 2015, 11:16 PM »
That file is always created by wedge so it shouldn't have permission problems.
However if you're importing from SMF, you'll need to chown the file or ensure your apache config allows you to edit the file any other way through php.
453
Support / Re: Install problem....
« on January 6th, 2015, 12:05 PM »
(Sorry about that one...)
454
Archived fixes / Re: updateSettingsFile in install.php
« on January 6th, 2015, 11:55 AM »
While your solution is certainly more elegant than what I ultimately chose to do (and I really, really wanted to just do that include!), ultimately this is the installer we're talking about, the entry point into Wedge, and I just don't have the time to commit to testing whether using the 'default' version will work in the installer. There has to be a reason why SMF (or whatever old version of Wedge) didn't just do include('Subs-Admin.php') to load the updateSettingsFile function and instead chose to re-declare it, so I'm not going to bother for now...

Feel free to test your own patch thoroughly, i.e. go through the painful steps of installation several times, and convince me to use it... The less code, the better. :^^;:
455
Archived fixes / Re: Top header
« on January 6th, 2015, 11:52 AM »
Honestly, not seeing any problems on my local copy... I've committed minor existing changes to Wilde, to sync the git repo with my own install, but I don't think it'll have any influence on it... (?)
456
Features / Re: New revs
« on January 6th, 2015, 11:50 AM »
[Commit revision e300c92]
Author: Nao
Date: Tue, 06 Jan 2015 11:50:04 +0100
Stats: 1 file changed; +6 (insertions), -1 (deletion)

  • More minor CSS changes, this time to Wilde... (skins/Wilde/extra.css)
457
Features / Re: New revs
« on January 6th, 2015, 11:49 AM »
[Commit revision 36035ec]
Author: Nao
Date: Tue, 06 Jan 2015 11:49:01 +0100
Stats: 1 file changed; +7 (insertions), -7 (deletions)

  • I forgot that the installer would call loadSource at some point and attempt to redeclare updateSettingsFile, of which a simplified version was already declared inside the install script... So I'm just renaming it. And that should be all right now... Hopefully. (install/install.php)
458
Features / Re: New revs
« on January 5th, 2015, 04:18 PM »
[Commit revision eedf086]
Author: Nao
Date: Sat, 03 Jan 2015 23:40:13 +0100
Stats: 1 file changed; +4 (insertions), -4 (deletions)

  • Updated to Bad Behavior 2.2.16 (behav_invalid_via test is now only run in strict mode.) (Security.php)

[Commit revision 0b351e7]
Author: Nao
Date: Mon, 05 Jan 2015 16:18:02 +0100
Stats: 1 file changed; +2 (insertions), -1 (deletion)

  • Added a $separator_col variable. (common.css)

[Commit revision f11a6c2]
Author: Nao
Date: Mon, 05 Jan 2015 16:18:10 +0100
Stats: 1 file changed; +12 (insertions), -5 (deletions)

  • CSS property break-inside isn't supported in Firefox, so it needed an extra hack... Meh. (index.css)
  • Minor improvements to root skin. (index.css)
459
If it's imported, wedge might inherit the SMF file permissions indeed. In which case you were never able to change some admin settings for SMF either...
460
This shouldn't happen BTW.. Settings.php is created by Wedge itself, so you should have the rights to it...

Unless you installed it before my rewrite a few months ago... Dunno.
461
Features / Re: New revs
« on December 30th, 2014, 07:54 PM »
[Commit revision 6f172c0]
Author: Nao
Date: Tue, 30 Dec 2014 19:54:14 +0100
Stats: 2 files changed; +8 (insertions), -3 (deletions)

  • These changes should guarantee that enabling/disabling plugins will correctly flush the CSS and JS caches. Also, the manual purge option didn't flush the template cache, AFAICS. (ManagePlugins.php, Subs-Cache.php)
462
Also make sure to purge the cache just in case.

Which makes me realize I forgot to force purge CSS and js files where I'm force purging HTML files... Oops! I'll deal with that later. In the meantime, purge manually!
463
Features / Re: New revs
« on December 30th, 2014, 04:55 PM »
[Commit revision 7f69520]
Author: Nao
Date: Tue, 30 Dec 2014 16:55:21 +0100
Stats: 1 file changed; +4 (insertions), -2 (deletions)

  • Added support for modding JavaScript and CSS files. I actually tested the JS implementation, can you believe it? And it works. Haven't bothered with CSS, though... Please note, I believe this is the first time one can actually change the default behavior of Wedge's JavaScript files. I never added any hooks for them before... (Subs-Cache.php)
464
Features / Re: New revs
« on December 30th, 2014, 03:50 PM »
[Commit revision b44db28]
Author: Nao
Date: Tue, 30 Dec 2014 15:12:50 +0100
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • Forgot to commit the Subs-CachePHP change in Subs-Template.php. (Subs-Template.php)

[Commit revision 05bdbfd]
Author: Nao
Date: Tue, 30 Dec 2014 15:36:22 +0100
Stats: 1 file changed; +25 (insertions), -23 (deletions)

  • Modding wasn't applied to early-loaded files, only caching, due to accessing $context['enabled_plugins'] before it was potentially initialized. I wasn't drunk, I assure you. Thanks to CerealGuy again for being the only one to bother testing file modding... (Including me.) (Subs-CachePHP.php)
  • Added $no_caching parameter to apply_plugin_mods, to allow more freedom in modding any files, including those that shouldn't be cached in gz/app or gz/html. (Subs-CachePHP.php)
  • Renamed that function's parameters to $source and $dest, for readability. (Subs-CachePHP.php)
465
Features / Re: New revs
« on December 30th, 2014, 02:27 PM »
Sorry, forgot to commit my file. That's because it has custom changes to disable auto-merging for testing purposes, and I tend to disable it before committing stuff. If only git could allow for ignoring specific changes in a file, rather than an entire file... Their way of doing it is wrong.

As for the my_plugins error, I'll look into it. Busy right now... Baby stuff.

PS... Having comments in this topic is odd. Yet I allowed for it because it gives the topic more... Life?