php forum
php mysql forum
php mysql smarty
 
Topic Options
#235830 - 02/10/03 11:00 AM display user group under their name/avatar
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
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.<br /><br />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.

Top
#235831 - 02/10/03 10:25 PM Re: display user group under their name/avatar [Re: palmen]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
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.<br /><br />
_________________________
~Dave
ChattersOnline.com

Top
#235832 - 02/10/03 10:37 PM Re: display user group under their name/avatar [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Oops... I missed this Jeremy.<br /><br />This is a short hop from the user group status flags thing I did.<br /><br />Clarify a bit and I could pull it together easily.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235833 - 02/10/03 10:55 PM Re: display user group under their name/avatar [Re: Daine]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
sorry, should clarify, in the showflat and showthreaded. Could also be shown in the profile, but that isn't as important.<br /><br />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 <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#235834 - 02/10/03 11:38 PM Re: display user group under their name/avatar [Re: palmen]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
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... <br /> <br />This is down and dirty, simple... knowing you want to note everyone as either Bronze, Silver, or Gold. <br /> <br />I haven't tested.... but it should be fine. Just a quick hop from the profile status flags. <br /> <br />Instructions attached. Let me know how it works for you. <br /> <br /><img src="/forum/images/graemlins/smile.gif" alt="" /> Josh


Attachments
68329-groupname.txt (157 downloads)



Edited by JoshPet (02/12/03 07:41 PM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235835 - 02/11/03 12:24 AM Re: display user group under their name/avatar [Re: Daine]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
It must be close Josh... but something isn't quite right <img src="/forum/images/graemlins/confused.gif" alt="" /><br /><br />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. <br /><br />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.

Top
#235836 - 02/11/03 12:32 AM Re: display user group under their name/avatar [Re: palmen]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Is it a problem in showflat or showthreaded?
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235837 - 02/11/03 09:09 AM Re: display user group under their name/avatar [Re: Daine]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
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

Top
#235838 - 02/11/03 09:48 AM Re: display user group under their name/avatar [Re: Hal_dup2]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
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.

Top
#235839 - 02/12/03 07:43 PM Re: display user group under their name/avatar [Re: palmen]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Jeremy, <br /><br />Try my attachment above again. <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />I had something in the wrong place... so after I defined it, it got redefined as empty. <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />Should work now. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235840 - 02/13/03 05:35 PM Re: display user group under their name/avatar [Re: Daine]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
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 <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#235841 - 02/13/03 05:37 PM Re: display user group under their name/avatar [Re: palmen]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I understand.... took me a day to get back to looking at it. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235842 - 03/25/03 01:49 AM Re: display user group under their name/avatar [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
What is the Mysql command to see what numbers the usergroups are? Would like to put this one to work on my board. Thanks..

Top
#235843 - 03/25/03 01:56 AM Re: display user group under their name/avatar [Re: Kelly]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
SELECT *<br />FROM w3t_Groups
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235844 - 03/25/03 02:06 AM Re: display user group under their name/avatar [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Thanks Msula for idea was hoping to do something like this for a long time too. Josh nice mod...just need to install <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#235845 - 06/11/03 10:12 AM Re: display user group under their name/avatar [Re: Kelly]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Hey Josh.. just wondering if this mod works with 6.3, and if so, it should be added to the mod index <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#235846 - 01/11/04 02:18 AM Re: display user group under their name/avatar [Re: palmen]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks