![]() |
Yeah, vB archive.
|
Which staff are listed? Obviously admins, but are both supermods and forum mods listed in the staff section or just supermods?
If it's both is there an easy way of changing it so that only supermods are listed with the staff, while forum mods stay listed with members? |
I got this to work on 2.3.0
Great hack, and good job. :) |
I am using 2.3.0, and I can't seem to find the 'closing' tag.
If you followed the instructions properly, the last thing you did now was to delete (or comment out) the SECOND occurance of this line: Code:
eval("\$activeusers .= \"".gettemplate('forumhome_loggedinuser')."\";"); Below that is a closing tag ( } ), and below that closing tag, paste this bit of code: Code:
$staffusers = implode(", ", $su_r); |
WEforums:
in vB 2.3.0, around line 196 (unhacked index.php), you will find this bit of code: PHP Code:
PHP Code:
|
I was thinking great, it'll be simple now. That proves incorrect though. I did what you said, and I get this error:
Parse error: parse error, unexpected ',' in /home2/wef/public_html/forums/index.php on line 210 Line 210 is the following: Code:
$staffusers = ", ", $su_r); Anyway, if you have an idea of what can be causing this I'd be thankful. Also, thanks for the reply. :) |
<font size="7">I
Hate vBulletin.org!</font> *sighs* stupid PoS system removes php functions from blocks of [php-] code! *mutters furiously* change: $staffusers = ", ", $su_r); $normalusers = ", ", $nu_r); into: $staffusers = implode(", ", $su_r); $normalusers = implode(", ", $nu_r); Then it should work.. |
I hate feeling like a "newbie." :(
Truth is, I don't have any clue how to fix parse errors. Your instructions worked to fix that parse error, but a separate part of the code (one in which is identical to an 'unhacked' vB index.php) seems to be causing a parse error. (It must be to do with this code or I completely screwed up. heh) Anyway, the current error is: Parse error: parse error, unexpected ')' in /home2/wef/public_html/forums/index.php on line 336 Line 336 is: list($key1,$val1)=each($iforumcache["$forumid"]) ) { GRRR! I am sure I am annoying, lol. Can't wait to get enough time to study PHP. If you need any other info (or if you're willing to help) just let me know what to do. Sorry to burden you. :( |
Just to give a bit more code... Lines 330 - 342:
Code:
if ($depth<$forumhomedepth) { |
I
Hate vBulletin.org! Quote:
while(list($key1,$val1)=each($iforumcache["$forumid"]) ) { |
All times are GMT. The time now is 08:51 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:
|