PDA

View Full Version : Get usergroup name by id?


budmanjr10
03-22-2012, 03:33 AM
This is my first time ever messing around with vbulletin and I need some help.

I'm trying to get a usergroup's name from the id. For instance id 6 is administrator and I need to display that, but I don't want to hard-code it.

Pandemikk
03-22-2012, 07:47 AM
It would help if you showed us where you need to do it.

A simple query would get you the title, but that may not be the best way depending on the situation.