![]() |
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 :rolleyes: |
hey Isuldor looong time no see.. thanks again for Animeboards.com's forum logo :)
|
Try changing $user to $bbuserinfo :)
|
heyya eva2k :D I think I was really bored that day lol
$bbuserinfo[usergroupid] returns a 6 for every person :eek: !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 |
All times are GMT. The time now is 02:29 AM. |
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:
|