The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hi!
How can I show the usergroup after the username in the memberlist?? I menaged to show the groupid but i want the name! help plz StarBuG |
#2
|
||||
|
||||
No one can help ????
StarBuG |
#3
|
||||
|
||||
Err I'm in a bit of a hurry, but try replacing this in memberlist.php:
Code:
$users=$DB_site->query("SELECT * FROM user,userfield WHERE $condition AND Code:
$users=$DB_site->query("SELECT * FROM user,userfield LEFT JOIN usergroup ON usergroup.usergroupid=user.usergroupid WHERE $condition AND Hope this works. |
#4
|
||||
|
||||
nope there where no output in the memberlist.
|
#5
|
||||
|
||||
I get this error:
Invalid SQL: SELECT * FROM user,userfield LEFT JOIN usergroup ON usergroup.usergroupid=user.usergroupid WHERE 1=1 AND user.userid = userfield.userid AND usergroupid NOT IN (1,3,4) ORDER BY username ASC LIMIT 0,30 mysql error: Column: 'usergroupid' in where clause is ambiguous mysql error number: 1052 Any suggestions? |
#6
|
||||
|
||||
Replace this:
Code:
".iif($memberAllGood, " AND usergroupid NOT IN (1,3,4) ", "")." ORDER BY $orderby $direction Code:
".iif($memberAllGood, " AND user.usergroupid NOT IN (1,3,4) ", "")." ORDER BY $orderby $direction |
#7
|
||||
|
||||
Firefly, in memberlistbit Template don't add $user[title], add this $unserinfo[title] and it will work.
THX for your help |
#8
|
||||
|
||||
Quote:
THX to both of u for your help!!! Greetings StarBuG |
#9
|
||||
|
||||
sorry litte false, but i think everyone can understand this now
THX for the corretion |
#10
|
|||
|
|||
is there away of displaying the usergroup text in the postbit template, if so what will i need to do!!!!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|