The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Using Titles in Showgroups
Is there a way to show a persons title after their name on the staff page.
Like Coordinators, CEO, yada yada... Thanks |
#2
|
||||
|
||||
should be possible
open showgroups.php find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#3
|
||||
|
||||
I get this error:
Database error in vBulletin 2.2.9: Invalid SQL: SELECT usergroup.title, user.title AS usertitle, user.username, user.userid, user.invisible, user.receivepm, user.usergroupid, user.lastactivity, user.lastvisit FROM usergroup LEFT JOIN user ON (usergroup.usergroupid = user.usergroupid) LEFT JOIN userfield ON (userfield.userid = user.userid) WHERE usergroup.showgroup = 1 mysql error: Unknown column 'user.title' in 'field list' mysql error number: 1054 |
#4
|
||||
|
||||
|
#5
|
||||
|
||||
replace user.title with user.usertitle
|
#6
|
||||
|
||||
Thanks it worked like a charm, I run an association site, so they were all bugging me to list the members with titles on a page, and I knew modifiying this one would do the trick....
Thanks again! |
#7
|
||||
|
||||
you're welcome |
#8
|
|||
|
|||
I would like to be able to use this modification as well, but it seems the code has changed substantialy since this posting. Anyone willing to update what would be the necessary changes? Thanks In Advance.
|
#9
|
||||
|
||||
now it seems like it looks like this:
PHP Code:
EDIT: Why even go that way? You could just go to the showgroups_usergroupbit template in templatemanager.. then you could just copy the usertitle code from postbit and paste it there? |
#10
|
|||
|
|||
Hi,
Quote:
Ciao, Sacha |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|