The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Stop guests from viewing shoutbox
I am looking for a php code so that only registered members can view the shoutbox?
Can anyone help here Thanks JamieLee2k |
#2
|
|||
|
|||
It looks like you are using This Hack to show it on all your pages.
If that is the case, try this. Remove this bit of code from the "vBShout [Template Alteration]" plug in in your plug in manager in your ACP. PHP Code:
HTML Code:
<if condition="$show['member']"> $Shoutbox </if> EDIT: Errrm... isn't there a way to ban certain usergroups from seeing the Shout Box in the admin cp? EDIT 2: I remember why I did this on my forum - it was giving me and error when I tried to ban members from seeing the shout box. But, if the setting in the ACP works for you then you should probably use that method, if not, mine should work. |
#3
|
|||
|
|||
In the plugin listed above, why not just throw the if into it, so it will be global?
Make: PHP Code:
PHP Code:
|
#4
|
||||
|
||||
The plugin I am using is one from vbnova, do you think if I do the same thing here it will work the same?
|
#5
|
|||
|
|||
Yes, its identical, except either its the newer version or u dled the one that shows on all pages. all code should stay same pretty much either way
|
#6
|
||||
|
||||
The code is not the same as what you are asking me to change isn't even in the in the template
|
#7
|
|||
|
|||
What one did you download?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|