The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I'm trying to write a condition in showthread.php that uses $user[usergroupid] to see what user group the user is in, and if the user is an admin it creates a $post[power] which I've put into the posbit template. Here's what I have so far:
PHP Code:
PHP Code:
or am I just plain doing it wrong |
#2
|
||||
|
||||
hey Isuldor looong time no see.. thanks again for Animeboards.com's forum logo
|
#3
|
||||
|
||||
Try changing $user to $bbuserinfo
|
#4
|
|||
|
|||
heyya eva2k I think I was really bored that day lol
$bbuserinfo[usergroupid] returns a 6 for every person !edit OH it seems that $bbuserinfo[usergroupid] is returning the value for MY usergroup hmm... !edit ah I tried using $post[usergroupid] and it works now thanks james! I was stuck heheh |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|