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
4891
Archived fixes / Re: Thoughts Bug
« on June 13th, 2012, 12:44 AM »
I'm just not gonna get started with minor tidbits when there are still some major features I need to finish implementing.
I know myself -- a "minor tidbit" takes me a day to completely fix in a "cool" way. I'll spend 10 minutes adding the feature, and then I'll waste 8 hours just to ensure the extra feature doesn't add any bytes to the gzipped JS file. No thank you...
4892
Archived fixes / Re: Thoughts Bug
« on June 13th, 2012, 12:19 AM »
First of all: the homepage code is probably not going to be in the final package. It's something for wedge.org to begin with.
So, it's not a Wedge bug per se but a Wedge.org issue (with you.)
If you'll have a look at the JS code for thoughts (granted, it's compressed and obfuscated a bit...), you'll see that if I want to refresh two parts at the same time, I'm going to have to add more code. And I'm not thrilled about adding more code when logic says, "hey it's okay, it's just for that main page, don't sweat it..."
4893
Off-topic / Re: The 10 Year Sigh
« on June 13th, 2012, 12:10 AM »
I split the other topic to the private boards.

Pete -- I have a message for you over there.
4894
Archived fixes / Re: Thoughts Bug
« on June 12th, 2012, 11:04 PM »
It's not a bug, it's due to the fact that the thought is shown in the first logical place. Because you can post a thought from any page, the only place where it can be shown for sure after posting it is in the sidebar.
4895
Off-topic / Re: The 10 Year Sigh
« on June 12th, 2012, 10:39 PM »
Quote from Nao on June 12th, 2012, 10:20 PM
Pete -- I noticed you no longer had any membergroup attached to yourself... Was it a voluntary move on your side? I reset the groups just in case.
It's happening again... Could you confirm this is of your own choice..?!

We're not just talking about admin status -- but Wedgeward...!
4896
Off-topic / Re: The 10 Year Sigh
« on June 12th, 2012, 10:20 PM »
Pete -- I noticed you no longer had any membergroup attached to yourself... Was it a voluntary move on your side? I reset the groups just in case.
4897
Off-topic / Re: The 10 Year Sigh
« on June 12th, 2012, 09:49 PM »
As I said, I'll be too busy from Monday or so (and I'd LOVE to escape what's coming to me, not at liberty to discuss it in public), but I'm ready to welcome you anytime this week. Even tomorrow morning if you want... There's a spare room etc. But don't expect me to take you to bara and have fun and everything because I'm as boring a bloke as can be made :^^;:
4898
Off-topic / Re: The browser you loved to hate
« on June 12th, 2012, 05:51 PM »
I installed Win8 Preview Release and tested IE10...
Heck, it's so great that I didn't even bother to write this with it.

It's still at the very bottom of my wish-list when it comes to using a browser. It has nothing to keep me hooked. Even IE9 was an improvement over IE8 -- but this time, it's hard to see any improvements at all. Fail.

Metro has some funny animations, but if it's all it's gonna bring to the table, Win8 will be without me... I'll just happily wait for Windows 9 or 10, just like I stayed so long with XP.
4899
Features / Re: Badges and the displaying thereof
« on June 12th, 2012, 03:33 PM »
Ah...HA! Finally proper support for multiple badges...
Example:
http://wedge.org/pub/off/7213/the-browser-you-loved-to-hate/msg275170/#msg275170

The admin can also determine whether the Moderator badge will show. Selecting to have it "never show", or "show only if there are no other badges" or "show only if it's a primary group" (which never is the case here) will hide it.
Well, the UI has yet to be written... But it's in progress locally.

Also, I'm not 100% sure I'm doing it right -- I'm actually adding id_group #3 to the list of additional_groups in the $user_profile variable at this point. I don't think that SMF did that at all. It makes sense to me that at least one area has a record of it for the duration of the page...
Quote from Arantor on June 7th, 2012, 02:55 AM
I'd consider showing just the very first group's name, no point showing all the group names, but only the primary group's name - or post count group name if there isn't a primary group name, and nothing more than that.
I elected to keep both of the systems I wrote.
- Badge system: set it up per-badge (per-group), on individual group pages.
- Group titles: Wedge will only show the primary group's name (if it exists), and/or the post-based group's name (if it exists), and then will determine which to show according to a setting in the Manage Membergroups > Settings page.

My only concern is that it ends up being too complicated for some admins... But OTOH, once they have it set up, they don't have to touch it again. And the default setup should be good enough. (Group title's default is the same as in SMF.)
Quote
Got something I can see of the code?
Soon, soon :P
Quote
Certain things aren't about speed, especially as you still have to do the extra query to get board moderators to be able to add the board moderator badge into the mix yet.
Well, it's cached most of the time. Uh, let me look... The TTL is 480 seconds. That's not much... Maybe we should increase that. And ensure the cache is emptied for that item when moderators are set up. I don't know... I can see a huge TTL for that kind of thing, personally.
Quote
My problem is, I just see so much stuff there is to do and I have no idea where to pitch in to do any of it :(
Personally, I've decided to focus, as soon as I'm finished with my current crap, on three items: custom groups, floating boards (which include adding support for board icons), and topic privacy. Gonna have fun though... It's a lot to swallow. -_-
4900
Archived fixes / Re: Admin search issues
« on June 12th, 2012, 02:49 PM »
Quote from Arantor on June 11th, 2012, 08:42 PM
Because what it matches on is what it's supposed to use >_>

I never said it was perfectly written.
I don't know what you wrote in it -- I think the feature was there already in SMF, right...? I know you touched it, but I don't know where. I only know that it needed some fixes as noticed yesterday. Now, of course, feel free to rewrite my fix from rev 1612 (or so), and make it better! I didn't actually change anything regarding the loading order for language files... I only fixed the array stuff.
Quote
If it's being overwritten that suggests that the other string should be changed so that it has a different language string - and that we shouldn't be reloading lots more strings.
Reloading, I don't know. It's an admin thing and not used much, so I guess it *can* use a lot of resources without being a problem. When it comes to string names, though, it's hard to rename them all. Some are also associated with database settings and would need some further rewrites if we were to rename one of the entries...

Regarding that, yesterday I posted a topic with a list of all intersecting entries in the language files. Feel free to have a look and hack away at the language files... :)
4901
Off-topic / Re: The 10 Year Sigh
« on June 12th, 2012, 02:46 PM »
Quote from billy2 on June 12th, 2012, 01:25 PM
p.s Dont sit in Nao's room tapping out code........ get to the bars, cafes and fine eateries :cool: :lol:
In Paris, there are only two interesting places to visit: le Louvre, and my room office.
4902
Off-topic / Re: What the...
« on June 12th, 2012, 02:44 PM »
When you'd catch someone not washing their hands after dirtying them, you could for instance say "Eh, les lavabos c'est pas fait pour les chiens !", qui basically means that these things were built for use by humans, not dogs, and one should therefore use them... :^^;:

I was actually looking for a direct English translation earlier and couldn't find it, so it's definitely a French peculiarity I guess...

Just like people looked at me strangely when I told them "J'te dirai quoi" (direct translation: "I'll tell you what", actual meaning: "I'll tell you (later) (the outcome of what we just discussed)"), and found out, years later when watching a movie, that it was actually something only the French from the North would say.
4903
Features / Re: New revs
« on June 12th, 2012, 02:39 PM »
rev 1613
(9 files +4-2, 5kb)

* Replaced the new animation easing function (out) with a simpler one (sqr) which is also more realistic, while still putting the emphasis on the latter end of the animation. Saves a dozen bytes. Also made a funny-looking optimization to weToggle that saves a whopping one byte. I spent at least 10 minutes on that, so let me commit it. (script.js)

! As threatened earlier, I split the split code in two. SplitTopics.php is now Split.php and Merge.php, and same for the template. (index.php, xml/detailed-version.php, QuickMod.php, SplitTopics.php, Subs-Post.php, SplitTopics.template.php)

! Some 'pas si formidables' French translations. (Admin.french.php, ManageSettings.french.php)

! SMF 'bug': useless code. Was changed from SMF 1.1 and never updated in SMF 2.0 Final. (Search2.php)

* Spacinazi. (ManageMembers.template.php)
4904
Off-topic / Re: The 10 Year Sigh
« on June 12th, 2012, 01:12 PM »
Well it's technically possible for me to fetch you in Dieppe -- but at about 2h30 worth of travel, it's pretty much the Eurostar distance between London and Paris ;)
I'm just surprised you can't find a Eurostar trip. I just went to their website, tried a London-Paris for today and for this Thursday, and it came up with tons of results -- notably a few at 100£. It's not cheap because it's soon, but it's doable. The return trip is at 75 to 90£ on a Sunday or Monday for instance.
I tried an outbound trip on Sunday night, found a 65£ one, but as you know next week I'll be very busy IRL so it'll be harder to organize anything.
4905
Off-topic / Re: What the...
« on June 12th, 2012, 10:50 AM »
Some features are there for a reason. As we say in France... "Comments are not made for dogs" :P