![]() |
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 |
Any got an idea on this?
|
You need to JOIN with the usergroup table (on the usergroupid, I'd guess) and get the usergroup.title
|
Nevermind, remembered back to another mod I did at one point, thanks Lynne, I'll do a JOIN on it.
|
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:
|
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:
|
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. |
Still need help with this.
|
Exactly what code are you using now?
|
The same code above. I even added your change and it still isn't working right.
|
All times are GMT. The time now is 02:35 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|