The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
without editing or use plugin can phrase or html show usergroup name ?
Hello
i was wondring we have a few html code where we can display the user info example $bbuserinfo[username] $bbuserinfo[rank] $bbuserinfo[post] $bbuserinfo[pmunread] $bbuserinfo[avatar] is there anything we can show the usergroup .. example i'm admin i need to use something like the above code to show me that i'm in this group .. is there any code to do this that already done with vB without modify or doing any edit ? example i try to use this $bbuserinfo[usergroup] but it dont work.. i hope someone can help me on this thankyou |
#2
|
|||
|
|||
bump.!
|
#3
|
||||
|
||||
Try $bbuserinfo[usergroupid]
|
#4
|
|||
|
|||
Thanks alot.. this show me the UserGroup ID i also was looking for this .. so how can i show the Groupname ?
|
#5
|
||||
|
||||
Doubtful..
Where do you want to show it? |
#6
|
|||
|
|||
i'm think know to Display it in the forum home page the welcome msg
"Welcome Username you are in the usergroup etc".. but i also think to show it in anther custom page i have created with vB maybe with vBa.. |
#7
|
||||
|
||||
Best way to do this, though it would be specific for your forums, would be to create an array with all your usergroupids and their corresponding user titles, and output the correct string based on their usergroupid.
A generic one would add one extra query on forumhome page. |
#8
|
|||
|
|||
i was think to do this already but i was think maybe there is such code like usergroupid that going to display the name of the group ..?
Thanks alot for the info |
#9
|
||||
|
||||
Quote:
Nope, you would need to query title from the usergroup table. |
#10
|
||||
|
||||
Not true anymore. It's stored in the cache. Go look at my who's online legend plugin for examples on how to do it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|