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.
1726
Archived fixes / Re: follow_me() bug, shows up from time to time.
« on January 29th, 2014, 06:54 PM »
Hmm, okay then...
Perhaps it's due to my latest 'fix', I don't know. I only inverted two things, and I don't even think it had an influence.
Perhaps it's due to my latest 'fix', I don't know. I only inverted two things, and I don't even think it had an influence.
1727
Archived fixes / Re: Twice in online list?
« on January 29th, 2014, 06:53 PM »
Because he's worth two of our best men!
...No?
Well, apart from logging in with two different browsers, and even that is normally accounted for AFAIK, I don't know how it could happen...
...No?
Well, apart from logging in with two different browsers, and even that is normally accounted for AFAIK, I don't know how it could happen...
1728
Off-topic / Re: A short script to remove unused, useless globals in PHP.
« on January 29th, 2014, 06:52 PM »
Well, I failed horribly at fixing my function, so I reverted my code and simply pushed the existing work-in-progress.
It's ugly.
Sad face.
I'll try again tomorrow, or something. I don't have time left to work on something else than Wedge right now.
It's ugly.
Sad face.
I'll try again tomorrow, or something. I don't have time left to work on something else than Wedge right now.
1729
Off-topic / Re: Post count fever
« on January 29th, 2014, 04:12 PM »
And... Once again, I finally topped the list earlier today.
Hopefully I'll remain at the top longer this time... 8-)
Hopefully I'll remain at the top longer this time... 8-)
1730
Off-topic / Re: A short script to remove unused, useless globals in PHP.
« on January 29th, 2014, 04:10 PM »
I realized earlier this morning that I'd left this script to rot for a few days (i.e. after Wedge went public)... I've put a lot of work into the current version, and I didn't even notice I hadn't pushed it yet! (I made several commits over the weeks.)
Anyway, so I'll try to finish a version that supports lambda functions today. Believe me, it's horribly complicated and required not only a large rewrite of the script, but also forced me to remove the ability to fix stuff automatically... Which is okay, I suppose, because it only fixed unneeded globals, and the script started doing much more than that these last few weeks, and if you want to automatically remove unused globals, you can STILL use an older version of the script, I guess.
I also renamed it to Globye, which I find more amusing than some basic, lousy name. :ph34r:
Anyway, so I'll try to finish a version that supports lambda functions today. Believe me, it's horribly complicated and required not only a large rewrite of the script, but also forced me to remove the ability to fix stuff automatically... Which is okay, I suppose, because it only fixed unneeded globals, and the script started doing much more than that these last few weeks, and if you want to automatically remove unused globals, you can STILL use an older version of the script, I guess.
I also renamed it to Globye, which I find more amusing than some basic, lousy name. :ph34r:
1731
Archived fixes / Re: Parent CSS overwriting children.
« on January 29th, 2014, 04:04 PM »
The skin system can be a bit overwhelming when you first start using it, but very soon you'll see that there's nothing easier, and it's much better (and more powerful) than Themes+variants in SMF. Let alone less awkward to use!
I'm not done with my work on skins, though, so stay tuned. (I'm not planning to remove or break anything, so you should be able to create new skins, but I *may* do some work on <ul> and <li> tags in Weaving -- actually I started last month but haven't committed anything yet-- meaning you'll have to fix your lists if you style them in your skins.)
I'm not done with my work on skins, though, so stay tuned. (I'm not planning to remove or break anything, so you should be able to create new skins, but I *may* do some work on <ul> and <li> tags in Weaving -- actually I started last month but haven't committed anything yet-- meaning you'll have to fix your lists if you style them in your skins.)
1732
The Pub / Re: Wedge repo -- installation feedback
« on January 29th, 2014, 04:03 PM »Did the Install Yesterday On a sub-domain/ created DB > uploaded all files via ftp > had all DB info ready, typed in the url and let the install process begin, Install went well no issues, well done!
Note the redirect to install worked great, installed my information > was done in a few!
But yeah, this technique was never used in an SMF codebase before, AFAIK, and it makes it much easier to install Wedge from the same package, because then you get to decide whether or not you wish to reinstall (ie, remove Settings.php from the root folder), and it doesn't depend on the package you're using. Also, security-wise, you no longer need to get rid of the install.php file after installing, because it can't do anything by itself. I'd still recommend removing it (I haven't made a full security evaluation on this, and I'm sure there are more people who are more knowledgeable about security than I am), but I'm also tempted to remove the admin warning when it isn't.
For those who no not > the info in the form fields during install are on example, you must enter you DB name User db name and passwords you created for that DB, "local host" is the only one you will use!
> don't forget to remove the Install.php at the finish of the install, then I would go a head and down load the settings.php to you local disk for back up purposes.
1733
Archived fixes / Re : follow_me() bug, shows up from time to time.
« on January 29th, 2014, 03:58 PM »
Okay, I can (finally!) reproduce this all the time... Under Opera 20 Developer, with web platform disabled.
Take a topic that only has me in it (hello!), such as Plugin Revs or New Revs.
From the homepage, open it in a new tab by middle-clicking it.
*Wait for it to load*. This is important!
Then switch to it. Problem reproduced.
If you switch to the new tab as soon as you launch it, then the script will apply proper dimensions to the user box. If you don't, then it will screw up.
Which is really, really odd because topic.js has pagevisibility events that are specifically there to avoid this problem... :-/
Can anyone confirm, maybe..? With Chrome, or Firefox, or anything?
Take a topic that only has me in it (hello!), such as Plugin Revs or New Revs.
From the homepage, open it in a new tab by middle-clicking it.
*Wait for it to load*. This is important!
Then switch to it. Problem reproduced.
If you switch to the new tab as soon as you launch it, then the script will apply proper dimensions to the user box. If you don't, then it will screw up.
Which is really, really odd because topic.js has pagevisibility events that are specifically there to avoid this problem... :-/
Can anyone confirm, maybe..? With Chrome, or Firefox, or anything?
1734
Features / Re: Plugin revs
« on January 29th, 2014, 02:24 PM »
[Commit revision 04f4daa]
Author: Pandos (Signed-off)
Date: Tue, 28 Jan 2014 20:30:36 +0100
Stats: 9 files changed; +200 (insertions), -0 (deletion)
[Commit revision e29ff5b]
Author: Pandos (Signed-off)
Date: Tue, 28 Jan 2014 21:26:49 +0100
Stats: 1 files changed; +1 (insertion), -3 (deletions)
[Commit revision 94e389f]
Author: Pandos (Signed-off)
Date: Wed, 29 Jan 2014 12:40:34 +0100
Stats: 1 files changed; +7 (insertions), -0 (deletion)
[Commit revision 80f4b21]
Author: Nao
Date: Wed, 29 Jan 2014 13:20:26 +0100
Stats: 10 files changed; +205 (insertions), -0 (deletion)
Date: Tue, 28 Jan 2014 20:30:36 +0100
Stats: 9 files changed; +200 (insertions), -0 (deletion)
- This is a little handy plugin that brings a floating button for Pinterest into wedge.
Initial version.
[Commit revision e29ff5b]
Date: Tue, 28 Jan 2014 21:26:49 +0100
Stats: 1 files changed; +1 (insertion), -3 (deletions)
- Fixed undefined variable.
[Commit revision 94e389f]
Date: Wed, 29 Jan 2014 12:40:34 +0100
Stats: 1 files changed; +7 (insertions), -0 (deletion)
- German translation for admin interface
[Commit revision 80f4b21]
Date: Wed, 29 Jan 2014 13:20:26 +0100
Stats: 10 files changed; +205 (insertions), -0 (deletion)
- Merge pull request #1 from Pandos/master
This is a little handy plugin that brings a floating button for Pinteres...
1735
Archived fixes / Re: Issues with CDN's
« on January 29th, 2014, 01:03 PM »
But it's there for a reason, innit..?
1736
Features / Re: New revs
« on January 29th, 2014, 12:57 PM »
[Commit revision e974a13]
Author: Nao
Date: Wed, 29 Jan 2014 12:41:06 +0100
Stats: 1 files changed; +1 (insertion), -1 (deletion)
Date: Wed, 29 Jan 2014 12:41:06 +0100
Stats: 1 files changed; +1 (insertion), -1 (deletion)
- Mini-menus were broken on pages with guest posts on them. Well, first time I'm seeing that... But it's true we don't have a lot of guests on wedge.org..? (script.js)
1737
Archived fixes / Re: Incorrect list styling in the notifications window
« on January 29th, 2014, 11:49 AM »
I totally missed that original bug report. I only noticed that with the advent of the new automatic github postings here, where styling was broken in notification popups.
There's still a minor bug, I should mention, in that the backgrounds for these specific lists is wrongly positioned in mobile mode, but there's not MUCH I can do to fix it.
Please bump any bug reports that are unreplied and that you feel should be addressed at one point!
There's still a minor bug, I should mention, in that the backgrounds for these specific lists is wrongly positioned in mobile mode, but there's not MUCH I can do to fix it.
Please bump any bug reports that are unreplied and that you feel should be addressed at one point!
1738
The Pub / Re: Wedge repo -- installation feedback
« on January 29th, 2014, 11:47 AM »
Oh bugger, I forgot that the new install process, since it goes through index.php first, should ensure pre-install.php executions don't run into PHP 5.3-only calls.
I'll fix that ASAP.
Just replace lines 14 and 15 of index.php with:
Code: [Select]
And yes, it won't help you much... This all means that you're using PHP 5.2 or less, and you need to upgrade/fix your server, or switch to a more competent host.
I'll fix that ASAP.
Just replace lines 14 and 15 of index.php with:
define('WEDGE_VERSION', '0.1');
define('WEDGE', 1); // We are go.And yes, it won't help you much... This all means that you're using PHP 5.2 or less, and you need to upgrade/fix your server, or switch to a more competent host.
1739
Archived fixes / Re: accessing profile\forum profile causes 500 error
« on January 29th, 2014, 10:59 AM »
Yup, because this is exactly the kind of bug that would be found out immediately if it was reproducible everywhere...
1740
Features / Re: New revs
« on January 29th, 2014, 10:52 AM »
[Commit revision 7afbc8d]
Author: Nao
Date: Tue, 28 Jan 2014 19:38:30 +0100
Stats: 1 files changed; +1 (insertion), -2 (deletions)
[Commit revision 2577996]
Author: Nao
Date: Tue, 28 Jan 2014 19:41:51 +0100
Stats: 2 files changed; +34 (insertions), -8 (deletions)
[Commit revision a832463]
Author: Nao
Date: Tue, 28 Jan 2014 22:44:13 +0100
Stats: 1 files changed; +2 (insertions), -1 (deletion)
[Commit revision 88783ce]
Author: Nao
Date: Tue, 28 Jan 2014 22:48:53 +0100
Stats: 3 files changed; +14 (insertions), -8 (deletions)
[Commit revision e168928]
Author: Nao
Date: Tue, 28 Jan 2014 23:04:24 +0100
Stats: 1 files changed; +1 (insertion), -1 (deletion)
[Commit revision 4aab401]
Author: Nao
Date: Tue, 28 Jan 2014 23:05:28 +0100
Stats: 1 files changed; +1 (insertion), -1 (deletion)
Date: Tue, 28 Jan 2014 19:38:30 +0100
Stats: 1 files changed; +1 (insertion), -2 (deletions)
- Improved accessibility for stand-alone search page. Yes, I know, inline styles... But it's better than wasting bytes in the generic CSS files. (Search.template.php)
[Commit revision 2577996]
Date: Tue, 28 Jan 2014 19:41:51 +0100
Stats: 2 files changed; +34 (insertions), -8 (deletions)
- Implemented wedge_ranged_implode/explode functions, which do implode/explode but transform number ranges into actual, err... Ranges. Making the resulting string shorter. Which is good for limiting the query string size when you have hundreds of boards. I like it so much, I might move it to Subs.php at some point. (Search.php, Search2.php)
- Fixed a remaining 'e' modifier in a preg_replace call. Wondering if there are any more left... (Search2.php)
[Commit revision a832463]
Date: Tue, 28 Jan 2014 22:44:13 +0100
Stats: 1 files changed; +2 (insertions), -1 (deletion)
- Disabling follow_me on Opera Presto; hadn't tried it in a long time, and it totally doesn't like my fallback. (topic.js)
- Also fixed a wrong test in the same line, which sort of made it possible for IE6 to once again show it sucks at everything. Ahem. (topic.js)
[Commit revision 88783ce]
Date: Tue, 28 Jan 2014 22:48:53 +0100
Stats: 3 files changed; +14 (insertions), -8 (deletions)
- That Google CDN blunder reminded me that without jQuery, Wedge will have trouble performing properly, especially in the admin area where you get to choose the jQuery script origin. So, to my great dismay, I'm now adding a fallback loader on all pages. (Subs-Cache.php)
- I'm keeping the fallback code clean (and thus, whitespace), but I shortened the usual window.jQuery test, as well as the final filename for the fallback script. This adds a bit less than 40 bytes per page after compression, and yes, I guess I'm okay with that. Please don't remind it to me for some time, though.
- Compensating byte by byte, saving about 4 gzipped bytes in HTML headers by refraining from outputting a title for Atom feeds. The website name is enough, and chances are your feed reader doesn't even care. Plus, if you use the feed links in the sidebar, you don't get titles anyway. (index.template.php)
- Saving 7 bytes and 2 lines of code. In a PHP file. And I'm okay thank youuuuuglllbzblzglz. (Search.php)
[Commit revision e168928]
Date: Tue, 28 Jan 2014 23:04:24 +0100
Stats: 1 files changed; +1 (insertion), -1 (deletion)
- Turned the 'me' bbcode into a div. This takes less space than a span (obviously), and I'd rather not have to style it in the CSS files. Really, it's tailored for block styling, not inline styling. (install.sql)
[Commit revision 4aab401]
Date: Tue, 28 Jan 2014 23:05:28 +0100
Stats: 1 files changed; +1 (insertion), -1 (deletion)
- Minor documentation fix for the install process. (Install.english.php)