Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
I know there was a hack similar to this previously, but since 6.2 it hasn't been updated, and I'm not one to just blindly try it to see if it works because I don't have the time to tweak it.

But really, user groups are a very major part of my community, so this could be something really used. I don't need group specific graphics or anything, just a simple "Gold Member" under their avatar would be all.

Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Are you looking to display this in the showflat/showthreaded scripts or just the profiles? It shouldn't be to hard to do since the users table is queried anyhow. Will also need to modify the templates to show the info.


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Oops... I missed this Jeremy.

This is a short hop from the user group status flags thing I did.

Clarify a bit and I could pull it together easily.

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
sorry, should clarify, in the showflat and showthreaded. Could also be shown in the profile, but that isn't as important.

IMO that should be a standard feature, or at least an option to turn on and off, since I know other software has this ability

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
OK - there are probably more simple ways to do this... using a query to get the group name etc..... I wasn't sure how to deal with multiple groups, etc...

This is down and dirty, simple... knowing you want to note everyone as either Bronze, Silver, or Gold.

I haven't tested.... but it should be fine. Just a quick hop from the profile status flags.

Instructions attached. Let me know how it works for you.

Josh
Attachments
68329-groupname.txt (0 Bytes, 193 downloads)

Last edited by JoshPet; 02/12/2003 8:41 PM.
Sponsored Links
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
It must be close Josh... but something isn't quite right

I adjusted the appropriate group numbers, and I also wanted it to display under the avatar, so I put it below the Picture area in the template. No problem.

But when I view the forums, members who should have a group listed, it has a blank space, but no text displays. So I can tell it is detecting they have a group and trying to display it, but for some reason nothing is showing up is all.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Is it a problem in showflat or showthreaded?

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Sorry to barge in here - but wouldn't it be best if we moved this thread in the VB6 Mods board since Josh made it a mod?


Nikos
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Josh, I only applied it to the showflat.php/tmpl files first, to see if it worked. I can apply it to threaded and see if that works, might help narrow it down.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Jeremy,

Try my attachment above again.

I had something in the wrong place... so after I defined it, it got redefined as empty.

Should work now.

Sponsored Links
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Hey Josh, sorry I didn't get back to this sooner. It does work just fine now. Didn't mean to leave you hanging,but its been an insane week. Thanks for the good work

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I understand.... took me a day to get back to looking at it.

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
What is the Mysql command to see what numbers the usergroups are? Would like to put this one to work on my board. Thanks..

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
SELECT *
FROM w3t_Groups

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Thanks Msula for idea was hoping to do something like this for a long time too. Josh nice mod...just need to install

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Hey Josh.. just wondering if this mod works with 6.3, and if so, it should be added to the mod index

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)