Quote:
Originally Posted by trotskid
For the first code appears this error:
Parse error: syntax error, unexpected ',' in /var/www/vhosts/"my forum"/httpdocs/foros/includes/adminfunctions_template.php(3939) : eval()'d code on line 163
For the second code I don?t understand what it means
Code:
Something you want to hide
Regards
|
The error I don't know--
For the second code I'll explain:
Example- you wanted to hide your user name and user title in a specific forum- but not all forums.
You would open up you postbit_legacy and find the following (or similar):
Code:
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post['usertitle']"><div class="smallfont" align="center">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
Then before it you would add:
Code:
<if condition="in_array($forum[forumid], array(42,26,25,9,8))">
The forums with an Id of 42,26,25,9,8 would see their user names & titles but anything not listed in the array()) would not...
Then After it you would add:
I've done this in a whole sub-forum removing: (making it a anonymous sub-forum)
User Name
User Title
Post Count (if you know what you're doing you can pull a username off of the postcount # alone)
Location
Msn/yahoo/skype
Reputation
Add Rep
Infractions
Quote
Thanks
Signatures
Avatars
(Side Note: I'm running Vbulletin 3.8.1 pl1)