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.
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 />
#235832 - 02/10/0310:37 PMRe: display user group under their name/avatar
[Re: sjsaunders]
JoshPet
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.
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="" />
#235834 - 02/10/0311:38 PMRe: display user group under their name/avatar
[Re: palmen]
JoshPet
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
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.
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.
#235839 - 02/12/0307:43 PMRe: display user group under their name/avatar
[Re: palmen]
JoshPet
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="" />
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="" />
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="" />
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="" />