![]() |
wow! another brilliant hack!
|
Quote:
|
cool :D
|
Quote:
|
Got same prob with admin = mod and listing all forums x times.....
and would also like the avatar thing and the title + posts :D |
Just incase anyone wants it, I took 2 mins and make a View List link next to my Moderator column. It underlines on mouseover like the categories.
Open FORUMHOME Template. Find: PHP Code:
PHP Code:
(i just wanna help) |
I'm getting this error
Parse error: parse error in /home/sites/home/web/forum/showmods.php on line 72 any ideas? |
Quote:
Code:
if ($modforums[$user[userid]] == "") Code:
if ($modforums[$user[userid]] == "") { |
Not putting the brackets around a one line if/else is valid. I would guess (without looking at the code) that your problem is that you need to change eval("$modforums to eval("\$modforums
|
<font color="red">DO NOT</font> copy the code in The Sisko's post above.
The vB PHP parsing feature has a problem with some escaped characters, so if you put \$ into a [ PHP ] block, it will be printed out as $. The code in showmods.php already has those $ symbols escaped. [edit] - now that The Sisko has changed hos post to use [ code ] tags instead of [ php ] tags, go ahead and try the modification if you like... although I can't see that it would make a difference, as leaving out the braces for a single statement in a loop is perfectly legal syntax in PHP |
All times are GMT. The time now is 06:16 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:
|