![]() |
Yub IN global.php (forum/ADMIN/global.php)
I want to show all moderators and administrators under login screen. It's for my: Userinfo @ CP Login HACK. This is an addon for it |
i've edited the code a bit, try it again now.
be sure you put it BEHIND that line :) // end init db |
Ok, Will try thiz code
|
Parse error: parse error in /home/joshua/www/forum/admin/global.php on line 122
Fatal error: Call to undefined function: adminlog() in /home/joshua/www/forum/admin/index.php on line 7 Added the code (with <?php and ?> in before and after) before // end init db. This error, will try it without <?php =============================== Without page is working but noting is showed :( |
oops :D added it BEFORE // end init db
LoL sorry :D ======================= edit in the code, with <?php tags cauz else it would be normal text. But noting is shown, DB error is gone now (had a DB error with 1st code) |
of course it would show nothing
add echo $adminnames; after the whileloop. <? ?> within a php block isn't allowed |
Ok, thx, getting a bit know with PHP now :D
|
Thx it's working!!!
For moderators al: "admin" would be replaced with: "mod" Or with "supermod" (or moderator) ? |
for supermoderators replace all admin with supermod and the cancontrolpanel=1 with ismoderator=1.
for normal moderators, you have to use another query... |
Ok, thx Bro
|
All times are GMT. The time now is 01:54 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:
|