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.
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! ;)
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.
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.)
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 ;)
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...?
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?
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.
Quote from live627 on March 15th, 2012, 04:33 PM Hmm...
This is bordering into hack-land, right? ;)
Posted: March 15th, 2012, 04:34 PM
Use -3 for all groups?
This is bordering into hack-land, right? ;)
6082
Off-topic / Re: How to piss Arantor off, part 2: take the view that he's a negative person
« on March 15th, 2012, 04:09 PM »Did you manage to squeeze yourself into shot?
Anyway! :P
That would have been something to show the grand kids :lol:
| 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 »Works for me.
Also: option to disable users picking their own (which is a shade cleaner than having to remove skins)
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.)
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.
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)
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...
(For instance, you wouldn't be able to view these thoughts, since you're in the Wedgeward primary group...)
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
Off-topic / Re: How to piss Arantor off, part 2: take the view that he's a negative person
« on March 15th, 2012, 03:51 PM »
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.)
(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 »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
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!
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...?
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...?