The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display ussergroup name instead of usergroup id
I have this in my admincp:
PHP Code:
This is the entire page code for just that one page: PHP Code:
Steve |
#2
|
|||
|
|||
Any got an idea on this?
|
#3
|
||||
|
||||
You need to JOIN with the usergroup table (on the usergroupid, I'd guess) and get the usergroup.title
|
#4
|
|||
|
|||
Nevermind, remembered back to another mod I did at one point, thanks Lynne, I'll do a JOIN on it.
|
#5
|
|||
|
|||
Ok I did the JOIN, now I need to means to display it so it shows:
Code:
Super Moderators, Administrators Code:
5,6 --------------- Added [DATE]1261465186[/DATE] at [TIME]1261465186[/TIME] --------------- EDIT: I have tried this so far: PHP Code:
PHP Code:
|
#6
|
||||
|
||||
So, you are saying it should show two usergroups at times and currently it is not? I think you need to change this line:
PHP Code:
PHP Code:
|
#7
|
|||
|
|||
Bah, its doing the opposite of what I want. I did the LEFT JOIN so now it displays 56 for one entry and 566 for another entry with no comma's and its not even giving the usergroup name.
Screenshot provided. |
#8
|
|||
|
|||
Still need help with this.
|
#9
|
||||
|
||||
Exactly what code are you using now?
|
#10
|
|||
|
|||
The same code above. I even added your change and it still isn't working right.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|