PDA

View Full Version : Show usergroup in profile


paul41598
24 Jul 2006, 13:04
I wanna know if theres a way to display someones usergroup/membership in their profile. I.E If a premium member, I can display it somewhere ;)

Kirk Y
24 Jul 2006, 19:55
If you want it displayed in the User's Profile:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

davidw
24 Jul 2006, 20:51
paul41598,

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (http://members.vbulletin.com/membersupport_priority.php) (vB-germany users click here (http://members.vbulletin-germany.com/membersupport_priority.php)) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive. The update of your account may take up to one hour.

Thank you.

Kirk Y
24 Jul 2006, 23:22
I didn't think unlicensed users could post here.

paul41598
25 Jul 2006, 17:28
I didn't think unlicensed users could post here.
Does that code apply to primary or secondary usergrop?

Kirk Y
25 Jul 2006, 20:52
Either one.

paul41598
25 Jul 2006, 20:56
because believe it or not, it does absolutely nothing ;(

Kirk Y
25 Jul 2006, 23:46
Which template are you trying to apply it to?

paul41598
26 Jul 2006, 01:03
memberinfo

Kirk Y
26 Jul 2006, 02:36
Strange. It's working for me -- I just tested it.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Where '6' is my UsergroupID, Administrators in my case.

Edit: Just noticed, it says you're running 3.0.7. The variables may be different from 3.0.x - 3.5.x. I'd imagine that's why it's no showing up.

paul41598
26 Jul 2006, 02:58
naw, just havnt updated my profile. Now its updated ;) I'll try it again.

So if I wanted to display all 6-7 of my usergroups, I would need 6-7 if conditions...