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

   display user group under their name/avatar to Del.icio.us Add to del.icio.us
  Digg display user group under their name/avatar Digg it
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 (103 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


Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
Cambridge 1
Murphdog 1
MattUK 1
Kevin H 1
Who's Online
0 Registered (), 29 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
BeyondCompare v3.00
by blaaskaak
Yesterday at 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks