Description - Adds a column to the User List (showmembers.php page) which will list the board groups each registered user is in. Groups can be hidden or shown with custom names.
Someone had suggested this a while back, and I thought it would be useful on my site, so here is a generic version for everyone. I have not tested this on 6.1x yet, but will after I upgrade and I'll post any changes if any.
Great hack.. but I need one more feature. To show the group under the person's name when they post in forums. Shouldn't be too hard to add that as an option as well
That would be similar, but would have to be in the showflat.php, showflat.tmpl, showthreaded.php and showthreaded.tmpl files at the very least. Much more of a hack, but it could use some of the same code. Let me think this one over fer a bit
msula, do you need more than one group to show? Will there need to be a graphic associated with each group? (I kinda like this idea) How about a group hierarchy added so only the 'highest rated/ranking' group will show? Damn, now ya got me thinking too much here! haha
Here's my situation. I have 4 groups really. The basic user group, then a Bronze Member, Silver Member, and Gold Member (haha, I said gold member)
What this correlates to are the different levels of donations people have sent to the site. This gives them added features, but it would be REALLY nice to have this publically displayed, via the title and/or small graphic. This would not only be just cool, but it would help stimulate more donations because people would want this new title
If you want an image displayed by group.... this hack of mine would do it for you. It would just need to be tweaked to display on the left instead of with the subject line.
I'm going to be doing something like this on my site. So supporters will have an "image" associated with their profile and posts.
Guess I could use something to display members of one of my board's groups too. I'll make it a seperate hack since it will be on different pages from the user list.
Well, I'm half way done. Got a group of choice showing on the showflat.php but have not started on the showthreaded yet. Then I gotta write up some directions. Maybe I'll get this done tonight or by tomorrow. I am inserting a small 15x5 graphic in front of the group name too on my site. Looks nice
I'm getting odd results - I have 19 groups and when I put someone into say group 10 which is IMSA, they don't show as that they show as a combination of group1 + 0. As group 1 is Administrators they show up as Administrators0 instead of IMSA. Anyone had this prob, anyone know how to fix it?
I tried commenting out or having a space etc for 1 below but that just cahnges it from Admistrator0 to Administrator which is still not IMSA.
Hmm, try placing the 0-9 groups last in line, so the double digit groups get replaced first, then they should not get split up. And if you have triple digit groups then they should go before the double digit posts. Sorry, but I don't have as many boards as you to try this myself, but I think this reordering should work. Please let me know how it goes!
I did try this reordering out and it seems to do the job. Make sure the forums are listed from largest number of digits to least. i.e. 3 digit forums, 2 digit forums, 1 digit forums. This should ensure that the complete forum number is replaced with the name, not just part of it. I'll post corrected instructions soon.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.