The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Turn Off IP's
Is it or can it be possible to turn off the IP button in one forum? Or hide the button or stop it being clickable?
I really could do with this! Thanks! |
#2
|
||||
|
||||
Is there any reason you want to do this? Only staff should have access to viewing IPs.
|
#3
|
|||
|
|||
Yep they do, but I have an anon forum and I want to stop ips showing in that forum, otherwise its not really anon
So wondered if there was a way of stopping the button showing or being clickable in just that forum. |
#4
|
||||
|
||||
Hiding the button is a trivial task. Just edit the postbit tempalte and add a conditional around the button.
Code:
<if condition="$thread['forumid'] == X"> |
#5
|
|||
|
|||
Ooh fantastic!
Could you give me a little help in what code I am looking for please? I've found this bit of code but not sure where to add it. $post[iplogged] <if condition="$show['inlinemod']"> <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" /> </if> |
#6
|
|||
|
|||
just add underneath it it should work if I am not wrong! even if you are wrong you will know you are wrong that way you learn lol..
|
#7
|
|||
|
|||
Hmmm I'm not doing it right as its still showing.
Here's what my code looks like now... $post[iplogged] <if condition="$show['inlinemod']"> <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" /> </if> <if condition="$thread['forumid'] == 166"> </if> I also added it in my postbit_legacy in case but its still showing. |
#8
|
||||
|
||||
Find:
Code:
$post[iplogged] Code:
<if condition="$thread['forumid'] == 166">$post[iplogged]</if> |
#9
|
|||
|
|||
you need to remove the $post[iplogged]
--------------- Added [DATE]1232715668[/DATE] at [TIME]1232715668[/TIME] --------------- oh he told you how to do! |
#10
|
|||
|
|||
Sorry, I must be doing something wrong! Its still showing,
Here's my code now... <if condition="$thread['forumid'] == 166">$post[iplogged]</if> <if condition="$show['inlinemod']"> <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" /> </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|