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
5416
Features / Re: New revs
« on April 20th, 2012, 12:08 AM »
rev 1553
(1 file, 2kb)

! Fixed broken page index system in topic merging. I'm not exactly sure why having a board ID in the URL automatically brings out the message index instead of the action page... We should look into this, but this fix is rather elegant anyway. (SplitTopics.php)

! Fixed incorrect topic count calculation in page index system... yeah, in topic merging, how did you guess? This is probably a SMF bug: the count also takes the current topic into account, even though it's never shown in the list, resulting in an empty last page in one case out of 15. (SplitTopics.php)
5417
Features / Re:
« on April 19th, 2012, 09:03 PM »
You don't have to tap out of them and in again to be able to type? Even with the Wireless skin..?
5418
Features / Re: New revs
« on April 19th, 2012, 08:28 PM »
rev 1552
(4 files, 5kb)

* A tiny fix for French. Note to self and Pete: seriously, 30+KB is too large for the index language... It should only hold the most commonly used text strings, and certainly not things like a merge topic feature description... If anything, index.english.php should be short and easy to translate, so that we can have obscure translations that deal with at least the most common strings. (index.french.php)

- Removed script remover from pretty URL code -- as far as I know, it's no longer needed. Note to self: if anyone finds a bug related to this, just revert this revision of the file... :) (Subs-Template.php)

+ Added support for 'admin' and 'mod' suffixes in CSS files. For instance, index.admin.css is loaded on all pages for admins (as opposed to 'admin.css' which is loaded on admin pages for everyone). I'm sure it'll end up being useful at some point... (Load.php)

+ Added support for the 'local' suffix in CSS files (index.local.css is basically index.custom.css but it won't be included if a sub-skin is selected.) (Subs-Cache.php)

! Fixed cache hash support for slashes (/), and did some micro-tweaking to save a few cycles... I'm desperate for cycles. (Subs-Cache.php)
5419
Features / Re: New revs
« on April 19th, 2012, 08:26 PM »
rev 1551
(5 files, 5kb)

! Split timezones into continent optgroups in the admin area. Added Africa back into the list... I've seen countless PHP samples about timezones, and over half of them forget Africa as well. Innnn...teresting. (ManageServer.php)

- Removed a hack that was no longer needed after my changes to the pretty URL system. (Display.php)

+ Added support for optgroups in admin-generated select boxes. (Admin.template.php)

* Rewrote the split topics feature to accept a topic parameter (instead of 'from'), so that we can prettify it alongside the other moderator links in topic pages. (Display.php, SplitTopics.php)

! Fixed maximum length for user titles. (Profile-Modify.php)

+ Added a Europe/Paris timezone in user profiles. Hey, what did you expect from me? (Profile-Modify.php)
5420
Archived fixes / Re: SMorg
« on April 19th, 2012, 07:35 PM »
Yep, but not for long... Only a few months I think? And Karl is the one who wrote the autolink code for Aeva, and IIRC he took whatever was in SMF at the time... So basically, maybe he was the one who changed that in SMF but I'd need to be able to access their old SVN to be sure... (And use that wonderful little tool called Blame...)
5421
The Pub / Re: The Cookie Law (in the UK at least)
« on April 19th, 2012, 07:33 PM »
I'm sure Wedge will be fine with just a warning message at registration time. That could be disabled from the admin panel for users outside the UK or whatever.
5422
Plugins / Re: Plugins I refuse to do
« on April 19th, 2012, 07:01 PM »
Quote from Arantor on April 18th, 2012, 07:02 PM
I reply to most topics. Aside from dispelling a lot of the smug 'XenForo is better' crap, it does give me a decent barometer as to what people are using software for.
I don't know... You know, fanboys! XenForo is 'on the way up'. Google Trends seems to prove that.[1]
Even if we had a gold Wedge by now, I'm sure there would still be XF fanboys claiming that free software just can't compete.
Quote
MATHCHA is even more bastardised a name than CAPTCHA is, heh, but yes, that's what it's known as.
Starting to wonder if the people responsible for these names are Doctor Slump fans... (Ncha! Byecha!)
Quote
Except that you're not, not nearly 99%. However, I do agree that it might be useful to generate a question like that as an example, I just wouldn't implement it like that (I'd generate it in the install language and install it directly as a question), so that instead of having {equation} show up in the Q&A area, it would show up with the actual question.
Sounds good to me.
Then the localized versions could use local 'common sense' questions like 'Quelle est la couleur du cheval blanc d'Henri IV ?' (What's the color of Henry IV's white horse? Famous one here. I think the answer is white, BTW. Uh no, it's blanc. It's a hard question for a US bot to answer, see.)
 1. While vBulletin trends are down, as well as phpBB and even SMF... Only MyBB seems to be up in the free forum world. Hard to say about Wedge though, because it's such as generic word, and although I'd say it's up, we're still lost in a forest of other references ;)
5423
Archived fixes / Re: SMorg
« on April 19th, 2012, 06:55 PM »
So, is anyone getting more issues with url tags now? No? Good :)

I think it's worth pointing out that I was going to copy my newly rewritten url auto-linker into Wedge's parse_bbc() code, until I noticed that, ahem.... SMF 2.0 had already done exactly the same... :lol:
Well, I know that I'm not the first SMF-related coder who's actually capable of doing complex regexes (lookarounds aren't exactly the most complex of all, they're just not for your average dev), but it's kinda upsetting not to be first on that piece of code, ahah. I just don't like reinventing the wheel!
5424
The Pub / Re: Starting date of the topic in the subject index
« on April 19th, 2012, 06:52 PM »
Twitter, for instance, now hides their action links by default and shows them on hover... Like thoughts here btw (nope, unrelated :P)
And they have the same problem too: if you just want to select the text behind the action links... Well, you can't :lol:

Anyway, I'm more of a "hiding is okay" guy because then things can be shown again later, eh, after all there's the full editor link below, and you're well aware that we still load all of its HTML... :whistle:
5425
The Pub / Re: The Cookie Law (in the UK at least)
« on April 19th, 2012, 06:47 PM »
Quote from markham on April 19th, 2012, 06:22 PM
Oh and thank you for posting a copy of your email to ICO. I am relieved and reassured to know that this issue is being taken seriously by the Wedge Team
Only half the team, I'm afraid :P
I'm still convinced that this is just 'for the show', and that this law is only going to be used in clear cases of privacy abuses, as legal grounds for action, rather than being mindlessly applied to every single blog or whatever.
Wedge (and SMF), by having their source code freely available (well, soon for Wedge!), clearly make it easy to get a full list of what the software does with cookies and such.
Quote
whilst those over at SMF are simply burying their heads in the sand.  You have just provided me with yet another in an increasingly long list of reasons to wait patiently for the release of Wedge!
Heck, even *I* can no longer wait for an alpha release...
5426
Off-topic / Re: Extract images with a certain tag from Instagram
« on April 19th, 2012, 06:18 PM »
How come I never heard about Amstamgram before they got gobbled up by Facebook? :P
5427
Off-topic / Re: Post count fever
« on April 19th, 2012, 06:17 PM »
(Hmm... Why don't these YouTube videos show the title at the bottom?!)
5428
Features / Re:
« on April 19th, 2012, 06:15 PM »
Oh... Personal opinion? Screw Safari Mobile, at this point.
The priority would be to fix its fucked up behavior when entering a textarea...!! (I don't know why it fails in Wedge when it works perfectly on Noisen... >_<)

(I'm on iOS 4.x BTW -- maybe it's all magically fixed in 5.0...?)
5429
Features / Re: New suffixes for skin files...
« on April 19th, 2012, 06:13 PM »
admin.css is loaded (for everyone), only when visiting the Admin area.
index.admin.css is loaded (for admins) everywhere.

It's a suffix -- meaning it can be "media.admin.css" for instance, or even "admin.admin.css" if you're giving admin area access to non-admins and want to keep something to you... :P

I'm keeping my index.local.css, I agree it's a good idea :lol:
5430
Archived fixes / Re: Time offset (auto detect)
« on April 19th, 2012, 06:11 PM »
Quote from Arantor on April 18th, 2012, 07:08 PM
Do you *really* want to put a 470-odd long select list into the *general user area*? It's bad enough having it in the admin area.
Actually, it's 580+... I don't know why everyone in their samples, including you, insist on forgetting about that (admittedly very small but still a bit more important than Antarctica), continent called Africa...?
Quote
Consider also that other forums perform just fine having multiple cities grouped together without any problems.
I don't know, never seen that on other forums really.
Quote
If you want to do it, go nuts. Ever delving into timezones is one of the (very few) things I've ever regretted taking on with Wedge.
Can't you just revert it...? I know most people wouldn't mind :P
Just keep to the server's timezone, and adjust user settings with the time offset... Voilà. If they ever get diverging hours (because of time savings), they can simply update their account page.
Quote
The entire situation is a fucking mess, long before we came along, Just remember that whatever you do, you're cleaning up an operation that users will only see on registration and when they delve into their profile, they won't see it the rest of the time.
Sure. But I'd like to point out that when someone gets lost into a complicated select box, they may not want to proceed at all... (Well, it's more likely they'll just choose a random timezone, but the first experience is crucial for users...)

https://bitbucket.org/pellepim/jstimezonedetect/raw/6c845a1f02b7/detect_timezone.js

This fun little script will try and detect the user's actual time zone. It would be nice to simply run it at registration time, and use it to select a default timezone for the user...

BTW, head to the admin area. I implemented the continent separator into the Manage Server page.
Quote
Have fun with managing that 470-odd list down into the groups you're hoping for, it took me long enough to compile the list I had.
I remember that... And for now we'll keep to it. I'd just like to be sure there isn't a better solution here. :)
Quote
(Sorry for my attitude, I'm tired, achy, pissed off with the weather here and I have other stuff going on out here in RL that's bugging me, like the fact that I'm in the process of taking my name off the house that I bought almost 5 years ago as the place I wanted to spend the rest of my life :()
You don't have to say you're sorry. I'm well aware of how touchy you are these days... ;)