| Author |
Topic Search Topic Options
|
StarDust
Senior Member
Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 5:58am |
|
You have a point billd3. If the Active users list would contains member group names along with member names, it would be great.
|
|
|
 |
Nick-V
Senior Member
Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 8:40am |
If doing it the active users way the stars (and group names) would be useful plus column sorting like the member list.
Borg any help with my posting yesterday at 11:04am - or shall I start another thread. I need to know what to tell members.
|
 |
billd3
Senior Member
Joined: 19 February 2003
Location: United States
Status: Offline
Points: 530
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 1:32pm |
|
What's wrong with just a simple "if member of xxx then" and have the code type in the html color when showing that name. ------------------ Member(s) online: billd, 2drwgn, Ohio AMX, claysjavelin, 12Gauge, George of the Jungle -------------- Where the blue is a moderator and the red is an admin, or whatever. SIMPLE, uncluttered, and anyone can tell at a glance that there are two moderators and an admin online right now.
|
|
BillD
http://theamcpages.com
http://theamcforum.com
|
 |
Nick-V
Senior Member
Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 1:57pm |
|
Simple sounding solution - to make it right for the majority of users the colour options would have to be in the CSS file if there were only 2 groups and perhaps against each group record in the database if you wanted a colour per group...then it gets more complex for upgrades etc...implications !
|
 |
StarDust
Senior Member
Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 8:12pm |
|
Ok. Lets dig it.
My apologies for my lack of skill in coding.
Have anyone noticed, the way active user information is stored, there is no place to store user group information. Only re-coding the functions will make storing user group information.
There is an alternative way to come out with same result. Query the database for each user and grab the user group information.
Well, sounds the solution? What if you have 1500 users and 50 of them are online? 50 extra queries to database.
Alternative: Open up author table and grab all the user ID's and their group ID in a multi dimensional array. Now for each active user extract the group ID from the array. Only 1 database query. But still a lot of processing when active users list gets heavy.
Now we get member group IDs associated with member names. Now decide the appropriate color for the member name and we are done.
And in my opinion if and only if boRg stored group ID in the active users array, the mod would be simple like breeze.
boRg?
|
|
|
 |
StarDust
Senior Member
Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 8:17pm |
|
One more point.
Sometimes admins assign users who are not member of moderator/admin group to moderate forums. How we decide who are those users in this mod?
|
|
|
 |
Nick-V
Senior Member
Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 8:20pm |
|
Bon voyage
|
 |
Scotty32
Moderator Group
Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 8:23pm |
i will look into making a mod to show whos a mod/admin based on color for the home page but you can show select groups in the members list, for example:
http://forums.webwiz.net/members.asp?gid=1 |
changing the 1 to the ID of the moderator group would show moderators.
|
|
|
 |