The Arcive of vBulletin Modifications Site. |
|
$usergroup[admin] and $usergroup[moderator] Details »»
|
|||||||||||||||||||||||||
Are these the strings to show for example all the admins?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
nope
you have to use getpermissions function and then you can ask for those things: PHP Code:
|
|
#3
|
||||
|
||||
|
Ok, thx
|
|
#4
|
||||
|
||||
|
But, this will show all moderators or administrators?
|
|
#5
|
||||
|
||||
|
no, if you want to show all moderators or admin you have to use DB-queries:
PHP Code:
|
|
#6
|
||||
|
||||
|
I get a DB error when I do:
<?php The code you gave ?> |
|
#7
|
||||
|
||||
|
Have tried alot, won't get it working
|
|
#8
|
||||
|
||||
|
have you required global.php?
it won't work without.... |
|
#9
|
||||
|
||||
|
It's IN global.php
|
|
#10
|
||||
|
||||
|
IN global.php????
what will you do? *gg* be sure it's AFTER the requirement of db_mysql.php and there is already a connection to the db |
![]() |
|
|