![]() |
$usergroup[admin] and $usergroup[moderator]
Are these the strings to show for example all the admins?
|
nope
you have to use getpermissions function and then you can ask for those things: PHP Code:
|
Ok, thx
|
But, this will show all moderators or administrators?
|
no, if you want to show all moderators or admin you have to use DB-queries:
PHP Code:
|
I get a DB error when I do:
<?php The code you gave ?> |
Have tried alot, won't get it working
|
have you required global.php?
it won't work without.... |
It's IN global.php :)
|
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 |
All times are GMT. The time now is 06:19 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:
|