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.
7651
Off-topic / Re: Pre-made CSS/HTML framework?
« on September 28th, 2011, 08:00 PM »Um, lack of complete IE6 support? :P
7652
Features / Re: New revs - Public comments
« on September 28th, 2011, 07:58 PM »
- Convert to is_dir, then?
- Okay!
- What does the 'be insert' mean, if it's not a typo....? :unsure:
- Okay!
- What does the 'be insert' mean, if it's not a typo....? :unsure:
7653
Off-topic / Re: Post count fever
« on September 28th, 2011, 07:53 PM »
If you don't beat me to 9k, I'll be mad at you! :P
7654
Features / Re: New revs - Public comments
« on September 28th, 2011, 06:41 PM »
I noticed you used this a few times:
filetype($addonsdir . '/' . $folder) == 'dir'
Why not just use is_dir()...? Is it any faster?
Another commented out line of code (multiple, actually):
//libxml_use_internal_errors(true);
Doesn't say whether you're planning to restore them or delete them, so I thought I'd mention them...
Typo...? (Used twice.)
// Users might be insert 5 or 5.3 or 5.3.0.
filetype($addonsdir . '/' . $folder) == 'dir'
Why not just use is_dir()...? Is it any faster?
Posted: September 28th, 2011, 06:31 PM
Another commented out line of code (multiple, actually):
//libxml_use_internal_errors(true);
Doesn't say whether you're planning to restore them or delete them, so I thought I'd mention them...
Posted: September 28th, 2011, 06:40 PM
Typo...? (Used twice.)
// Users might be insert 5 or 5.3 or 5.3.0.
7655
Off-topic / Re: Post count fever
« on September 28th, 2011, 06:07 PM »
And... 7000 posts :P
These last 1000 were a bit faster than the ones before them. However, Pete was in a rage last week and managed to start catching up big time. He sent something like 100 posts more than I did this month ;)
So I would estimate that I will be first to 7500, but I definitely no longer have a shot at 10k... And possibly even at 8k, eheh.
These last 1000 were a bit faster than the ones before them. However, Pete was in a rage last week and managed to start catching up big time. He sent something like 100 posts more than I did this month ;)
So I would estimate that I will be first to 7500, but I definitely no longer have a shot at 10k... And possibly even at 8k, eheh.
7656
Features / Re: New revs
« on September 28th, 2011, 06:03 PM »
rev 1037
(3 files, 9kb)
+ Will now add the action list and 'do' to the forbidden board names when generating pretty URLs. (Subs-PrettyUrls.php)
! Reverted part of rev 362, where a bug in the auto-suggest code was fixed by introducing another one. Now, pressing Tab with no suggestion highlighted will still take the first valid match into account. I tried hard, but I wasn't able to reproduce the bug mentioned in rev 362, so... fingers crossed. (suggest.js)
! Fixed auto-suggest position after submitting an item (assuming we're going to submit more, obviously.) (suggest.js)
* Converted Foxy code to jQuery. (Aeva-Foxy.php)
(3 files, 9kb)
+ Will now add the action list and 'do' to the forbidden board names when generating pretty URLs. (Subs-PrettyUrls.php)
! Reverted part of rev 362, where a bug in the auto-suggest code was fixed by introducing another one. Now, pressing Tab with no suggestion highlighted will still take the first valid match into account. I tried hard, but I wasn't able to reproduce the bug mentioned in rev 362, so... fingers crossed. (suggest.js)
! Fixed auto-suggest position after submitting an item (assuming we're going to submit more, obviously.) (suggest.js)
* Converted Foxy code to jQuery. (Aeva-Foxy.php)
7657
Plugins / [Naming poll] Re: Packages
« on September 28th, 2011, 05:11 PM »Interesting to see the current split in the poll. I haven't voted, specifically to avoid biasing things, but it does seem to reflect what Nao had already observed before about the split between folks that prefer plugins and folks that prefer add-ons.
The reason is probably that 'add-ons' is the 'correct' word to define these, but that it doesn't ring much of a bell to anyone who doesn't speak English on a daily basis.
It would be okay if Wedge was available from the start in 150 languages, but it won't be the case. Many non-native English speakers will be using the English version for that reason, and that includes modders as well. I think they'd like it best if they could call functions like loadPluginSomething() instead of loadAddonSomething() because that would be easier for them to remember.
Also, the various 'major' folders in Wedge have universal names: 'Sources', 'Themes', 'avatars'... ('attachments' not so much, but then again that's why I've renamed it to 'files' and was thinking of 'uploads' as well.) Uploading plugins to an Addons folder would possibly be a bit more confusing than to a Plugins folder. Things like that...
Now, I suppose it depends on how many Wedge users have English as their main language.
Right now, it looks like it's a 50/50.
7658
Off-topic / Re: Pre-made CSS/HTML framework?
« on September 28th, 2011, 04:47 PM »
Wedge :eheh:
7659
Features / Re: New revs
« on September 28th, 2011, 02:22 PM »
rev 1036
(11 files, 21kb)
+ Added an add_css() function to make it easier to add inline CSS at the very end of the headers. (Aeva-Embed.php, Aeva-Foxy.php, Subs-Media.php, Subs-Cache.php, Register.template.php)
* Cache manager will now use the data subfolder, and when asked, will touch the (less likely to be opened) Collapse.php file instead of Load.php. Because if you're developing Wedge and testing it on a local install, believe me, it's annoying as hell to see Notepad2 complain just because you left Load.php opened and it noticed its file date changed. What do you mean, you don't care? Did your mom tell you how rude you can be sometimes? Do you really deserve Wedge? Well... We'll see about it after you apologize. (Subs-Cache.php)
* Removed 'last_minute_header' hack, and instead rewrote everything to use $context['header'] and show it at the last minute, instead of via the index template. Also made the dynamic replacement ten times faster by using substr_replace instead of a regex. (Class-Editor.php, Aeva-Embed.php, Aeva-Gallery.php, Aeva-ModCP.php, Subs-Media.php, Subs-BBC.php, Subs-Cache.php, Subs-Template.php, index.template.php)
(11 files, 21kb)
+ Added an add_css() function to make it easier to add inline CSS at the very end of the headers. (Aeva-Embed.php, Aeva-Foxy.php, Subs-Media.php, Subs-Cache.php, Register.template.php)
* Cache manager will now use the data subfolder, and when asked, will touch the (less likely to be opened) Collapse.php file instead of Load.php. Because if you're developing Wedge and testing it on a local install, believe me, it's annoying as hell to see Notepad2 complain just because you left Load.php opened and it noticed its file date changed. What do you mean, you don't care? Did your mom tell you how rude you can be sometimes? Do you really deserve Wedge? Well... We'll see about it after you apologize. (Subs-Cache.php)
* Removed 'last_minute_header' hack, and instead rewrote everything to use $context['header'] and show it at the last minute, instead of via the index template. Also made the dynamic replacement ten times faster by using substr_replace instead of a regex. (Class-Editor.php, Aeva-Embed.php, Aeva-Gallery.php, Aeva-ModCP.php, Subs-Media.php, Subs-BBC.php, Subs-Cache.php, Subs-Template.php, index.template.php)
7660
Features / Re: New revs
« on September 28th, 2011, 02:20 PM »
rev 1035
(7 files +2, 11kb)
+ Added a 'data' subfolder to the cache folder, to differentiate between data we might end up adding to the HTML (cached JS or CSS), from data that is solely for internal use (PHP cache). Also added an index.php handler, even if not needed, because we're never far away from a security issue. (cache/data/*)
+ Added a couple of media table keys that weren't correctly imported from the AeMe installer. (install.sql)
* Tweaked media CSS to allow for the item information column to be moved to the bottom if we don't have enough space on the right. (media.css)
! Fixed a few typos in the language files, and removed some outdated strings. (ManageAddons.language.php, ManageMedia.french.php, Media.language.php)
(7 files +2, 11kb)
+ Added a 'data' subfolder to the cache folder, to differentiate between data we might end up adding to the HTML (cached JS or CSS), from data that is solely for internal use (PHP cache). Also added an index.php handler, even if not needed, because we're never far away from a security issue. (cache/data/*)
+ Added a couple of media table keys that weren't correctly imported from the AeMe installer. (install.sql)
* Tweaked media CSS to allow for the item information column to be moved to the bottom if we don't have enough space on the right. (media.css)
! Fixed a few typos in the language files, and removed some outdated strings. (ManageAddons.language.php, ManageMedia.french.php, Media.language.php)
7661
Plugins / Re: Converting WedgeDesk
« on September 28th, 2011, 10:32 AM »
Yeah... Now it's definitely ringing a bell :P
7662
Features / Re: Board index hookage
« on September 28th, 2011, 10:31 AM »
No problem with these.
I don't think it'll have an impact on performance anyway...
I don't think it'll have an impact on performance anyway...
7663
Plugins / [Naming poll] Re: Packages
« on September 28th, 2011, 07:47 AM »
I'd put my veto on Wedget. I suggested the name it's true. But it was only as a joke. We could use it for sidebar blocks or something but not to plugins. I can guarantee it won't be used in the end.
Btw votes were blocked. Sorry about that.
Btw votes were blocked. Sorry about that.
7664
Off-topic / Re: MySQL Website Compromised; Serves Malware to Visitors
« on September 28th, 2011, 12:29 AM »
Apparently this attack is the result of a weak/stolen admin password. No software holes.
Well, with this I learned that the Linux kernel website was hacked and has been down for a long time... Not so inspiring! "Okay, this OS is really insecure... I think I'll be using Windows instead. Never seen the Microsoft website go down!"
Well, with this I learned that the Linux kernel website was hacked and has been down for a long time... Not so inspiring! "Okay, this OS is really insecure... I think I'll be using Windows instead. Never seen the Microsoft website go down!"
7665
Features / Re: These two bytes may not matter to you...
« on September 28th, 2011, 12:26 AM »
Odd little thing I noticed last week... I can't seem to find any use for $context['languages']['english']['selected'].
It's not used anywhere I could find -- and it's not even set, i.e. if I select the English version, 'selected' isn't set to true or whatever.
This should probably go... Can someone look into this?
Up.
Pete, I suspect you still don't have access to the codebase right....?
It's not used anywhere I could find -- and it's not even set, i.e. if I select the English version, 'selected' isn't set to true or whatever.
This should probably go... Can someone look into this?
Posted: September 27th, 2011, 08:17 AM
Up.
Pete, I suspect you still don't have access to the codebase right....?