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
6076
The Pub / Re: Logo Madness
« on March 15th, 2012, 07:39 PM »
I had a hard, very hard time removing the first logo from the Weaving header. I don't know why. Early on, I was fond of it but I figured it'd be easy to replace it.
Thankfully, the new logo is great too :)
And it seems that everyone agrees. Phew! ;)
6077
Features / Re: The Regular Members group
« on March 15th, 2012, 06:47 PM »
That doesn't say what 'un' is for ;)

Anyway... Is it enough to justify not using -2? I mean, it's apparently only used in the id_parent owner of membergroups.

I'll stick with -3 for now.
Posted: March 15th, 2012, 06:23 PM

Oh, bummer... I just thought about the extra possibility I forgot -- private thoughts that should only be between the user and the person they replied to. I suspect that just filling in a blank value would be okay, though... (The default for the privacy field is -3.)
Posted: March 15th, 2012, 06:42 PM

Hmm, it's getting interesting...
If I implement 'me and recipient', this means I have to add a test for the parent's member ID before showing the thought. Which is okay. But what if you don't want said person to read your post...? Well, will I have to test for the parent only if the field is empty...? And what if you just want the thought to be read by you, the recipient and your friends (a custom ID), *but* the recipient isn't your friend...?! Then I suspect I'll have to add another virtual membergroup, e.g. '-5' would mean 'me and said member...'

Heck, thinking about it, it'd even be simpler to have something like: 'mem-1, mem-5, 12', meaning 'only member 1, member 5 and group 12'... Since we only have to search for mem- + my own user ID for the privacy test, that'd be doable... Meh ;)
6078
Features / Re: The Regular Members group
« on March 15th, 2012, 06:11 PM »
Apparently -2 is used for 'uninherited groups', whatever that means...?
6079
Features / Re: The Regular Members group
« on March 15th, 2012, 04:50 PM »
Well... I suppose it's not something we'll have to deal with for now.

I tried to find any references to -2 as a membergroup and failed... Is there any reason for its non-use, then...?
6080
Features / Re: The Regular Members group
« on March 15th, 2012, 04:38 PM »
Hmm, yes, somehow it makes sense :P

So... Why not -2? Is it already used by something else?
So we'd just 'need' to add -3 to the list of groups for $user_info and stuff?
6081
Features / Re: The Regular Members group
« on March 15th, 2012, 04:34 PM »
I thought about it again, and it just struck me that in AeMe, I did it very simply: I took all groups that were being used as a primary group, and added them to my '-1,0' string... It requires an extra query, though. Or storing that list in a setting, maybe.
Posted: March 15th, 2012, 04:34 PM
Quote from live627 on March 15th, 2012, 04:33 PM
Use -3 for all groups?
Hmm...
This is bordering into hack-land, right? ;)
6082
Quote from billy2 on March 15th, 2012, 03:55 PM
Did you manage to squeeze yourself into shot?
No, wouldn't even have tried... Clear security perimeter, things like that. They were shooting a near-car pile-up right next to the Gare Saint-Charles train station, meaning -- lots of onlookers, lots of security. They rehearsed the scene 2 or 3 times, with the stunt vehicles stopping right before the end each time, and then they shot the final scene in a single shot[1], the final scene is about 5-10 seconds in the finished film, it took them over an hour to do it. What a waste of time and money... The scene wasn't even very exciting. I think they wanted to do a French Bullit with comedy... It was a box-office success with 3 sequels, but also made Luc Besson (the movie's producer) suddenly look like the French George Lucas, instead of, I don't know, the guy who made Leon such an endearing film.

Anyway! :P
Quote
That would have been something to show the grand kids  :lol:
I still have a videotape of a cable show I was interviewed in back in 1996[2]... Now that was fun. I had hippie hair and looked obviously and painfully stressed. Ah ah, oh dear oh dear.
 1. And wrecked one of the cars in the process, as planned!
 2. It was about my first website... Yeah, at the time I was one of the pioneers, so everything I made turned into gold. Now, the new generation keeps stealing my thunder :P
6083
Features / Re: Multiple default skins?
« on March 15th, 2012, 04:02 PM »
Quote from Arantor on March 15th, 2012, 03:36 PM
Works for me.

Also: option to disable users picking their own (which is a shade cleaner than having to remove skins)
You mean, adding a per-skin option like <disable> and <hide>, right...? (disable = not selectable, not usable, only used for inheritance. hide = not selectable, but usable through e.g. default skin selection.)
The main reason I never worked on these, is that it's pretty much impossible to put these variables into skin.xml because it means admins have to edit them manually, which is precisely what I want to avoid (so that they can easily upgrade their site later...)
So it has to be done in the admin area, something like having a variable that specifies skin paths to ignore... But I'm not big fan of that either ;) If only because I like the idea of skins being so flexible that, like plugins, you can immediately add or remove them through FTP and they'll be usable or deleted immediately. (Hmm, actually I never tried deleting a skin while it was being used... should try that.)
Quote
Yup. Though most current mobile devices subscribe to both camps; almost all mobile phones are both, most tablets are the former, but you can get keyboards for both.
Except it's very unlikely you'd do that. (There's only the Asus Eeepad Transformer/Transformer Prime that does that on a wider scale, AFAIK. These definitely qualify for full desktop experience to me.)
Quote
I do get the impression that the mobile support should be handled less by a skin and more by a theme (bearing in mind that we can fall back to the default)
Well, mobile support is included in our default theme... Considering that it's less than 30 lines of code or so, I don't think it's that big a deal. Do you?
6084
Features / Re: The Regular Members group
« on March 15th, 2012, 03:57 PM »
Actually, Sans Groupe (Ungrouped) is a term I used in some places in the French version to represent Regular Members.

Here's why I'm talking about this. In my current code, thought privacy is set to '-1,0' (guests + regular members). So, what if your primary group is not 0? Well, you can't see the thought... :-/
It's pretty much the same problem as with board access, *except* that it has to be set on every single thought you send.
Funny...
Posted: March 15th, 2012, 03:55 PM

(For instance, you wouldn't be able to view these thoughts, since you're in the Wedgeward primary group...)
6085
And an annoying French AAA movie :P
(Was in Marseille when they shot the first one over there. Only time I ever saw a movie (action) scene being shot AND saw it on TV later, lol.)
6086
Features / Re: Pretty URLs things
« on March 15th, 2012, 03:49 PM »
It's there, off by default, works, doesn't bother anyone ;)
6087
Features / Re: Multiple default skins?
« on March 15th, 2012, 10:42 AM »
Quote from Dragooon on March 15th, 2012, 09:10 AM
That level of checking can be best done via CSS media queries. I treat Note as a mobile device and let my theme handle the splitview or single view dilemma, since at the end of the day it's a touch device. Here's the code that I use
Hmm yeah that's the thing -- philosophy differences. A mobile device can either be seen as a "device without a mouse or keyboard" (i.e. you need to redo the UI), or a "device with a low resolution". I chose to treat them as low-res devices first. The UI rewrite will come later. To me, what matters in priority is to ensure the text is readable without having to double-tap the screen. This can be done through a media query indeed, and much of it is actually done by default in Wedge (even in Weaving), but as Pete requested that a mobile theme removes elements it's going to hide anyway (because mobile devices are often limited when it comes to bandwidth), I decided to add an extra stylesheet for custom stuff, and deal with userboxes in the template... I don't know if it's for the *best*, but it's certainly looking better than a stock SMF install on my iPod ;)

BTW, PocketIE is a PocketPC program and as such, very old stuff. I think using 'IEMobile' would be smarter, as it accounts for Windows Mobile browsers.
6088
Features / Re: Multiple default skins?
« on March 15th, 2012, 09:05 AM »
Well, could definitely use that ;) I'm especially interested in speed (since we'll be running that code even on desktop) and strictness, i.e. ensure the device IS confirmed to have a smaller resolution than usual, e.g. testing for iPhone or iPod Touch or Android but remove devices that have a higher resolution e.g. Galaxy Note has a small screen but is good enough for normal browsing AFAIK, so where should it go?) instead of just ensuring it's running iOS/Android/etc and isn't a tablet...
6089
Features / Multiple default skins?
« on March 15th, 2012, 08:55 AM »
Another minor feature that I've been thinking of for a few days, is the ability to allow for multiple default skins.
It's easy really.

- Default skin for guests
- Default skin for new members

Until now, easy to grasp... But even easier:

- Default skin for mobile devices

This would allow for Wedge to use the 'Wireless' skin by default on iPhones and company, and admins would be able to install Dragooon's Wedge4Mobile theme, and then choose his theme as the default mobile skin as a replacement for Wireless, if they think it's too limited in terms of usability.

I'm sure we could also think of other opportunities to set a different default skin, but for now let's focus on mobile.
Yesterday I went to sm.org, wondering if someone had already thought of it, and indeed emanuele posted a similar mod last month, so I thought it was worth mentioning, just in case I get accused of stealing an idea -- I did think of it by myself, but I also acknowledge that I'm now aware there's a working implementation at SMF :P
I was curious and looked at the detection code (wanted to see if it differentiated between iOS devices and used any tricks to retrieve resolution, such as Ajax polling or a small redirection via JavaScript -- not so much), it's an open-source external script that's being used, I'm just surprised that it can take 32 kilobytes just to detect a mobile device... Oh my :lol:
Wedge does it in a single line, but obviously it's certainly not as extensive!
6090
Features / The Regular Members group
« on March 15th, 2012, 08:47 AM »
I've always had a love/hate relationship with the Regular Members membergroup.
In fact, I was so wary of it for many years, that I had hardcoded the Register page to automatically put new members into a custom membergroup, so that I wouldn't have to deal with that group. Little did I know at the time that it was simply a convention for a virtual membergroup numbered '0'.

Now, because if you apply a primary membergroup to someone, they will lose their '0' group membership, they might lose permissions that were only given to regular members. This might be 'as designed', but it isn't terribly obvious in the permissions section that 'regular members' doesn't ENCOMPASS all other groups, and that instead it represents group 0.

So, I modified the Profile template to actually show a Help icon next to Primary Membergroup, with a popup explaining what it does and what happens if you assign something to it.
Now, I'll commit it this way because it took me half an hour of my time and I'm the doc doc, but I was thinking... How about we simply list Regular Members as a 'normal' membergroup, i.e. in Primary Membergroup we list "Regular Members (default)", and in Additional Membergroups we list the same, but hidden by default, and only shown if the Primary membergroup isn't 0...?
I'm sure we can add '0' to the list of additional membergroups, can't we...?