Quote from: Soshite at Sep 02, 2007, 08:48 AM
I noticed in Uncle68’s PPP thread that he was reconmending PPP users to use WebLoginPE. I’d be willing to switch over to it, but I need to know a few things first...
1) In PPP, there is the ability to have certain fields that only Admins can edit? As an example, on my website, I have Achievements for stuff like submitting graphics or game information. I need an easy way to add them for my users (going into phpMyAdmin could get annoying after a while, just to add an Achievement.
By "Admins" are you referring to:
- Managers, from the Backend.
- Members of the webgroup "Admins"
- or Members of a webgroup that was specified in the snippet call?
Quote from: Soshite at Sep 02, 2007, 08:48 AM
2) In PPP, people can "sort" users by those who have a website, or have an AIM account. This is basically done by adding a filter in the PPP snippet call, like website or aim. Can this be replicated in WebLoginPE?
Intersting.
I have been working on a parameter called
&sortBy (and of course &sortOrder [ASC:DESC]) for the WebLoginPE
&type=`users` call. This parameter will accept one argument, a table column name such as username, lastlogin, internalKey, etc..., and will sort the entire list of users by the value of that column.
I love your idea and I will implement the
&filter parameter for the users list which will accept a comma separated list of table column names to filter. If the user has data stored in all the columns specified, they would be shown in the list, else they would be excluded.
So if you wanted to show all the users who entered their AIM account you would use &filter=`aim` (assuming the customField you used was "aim". If you wanted to show all the users who entered a website AND a phone number, then sort them by date of birth, you would use &filter=`website,phone` &sortBy=`dob` &sortOrder=`ASC`
Just thinking out loud here, but... Yeah... I like that idea
-sD-
Dr. Scotty Delicious, Scientist.