Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 30 Mar 2007, 23:42
JamieLee2k's Avatar
JamieLee2k JamieLee2k is offline
 
Join Date: Sep 2006
Real name: JamieLee2k
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
Reply With Quote
  #2  
Old 31 Mar 2007, 01:14
da420 da420 is offline
 
Join Date: Nov 2005
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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then you will have to go in and add this code to all pages you want to add the shout box to.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That should show it only to members.


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.

Last edited by da420; 31 Mar 2007 at 01:17.
Reply With Quote
  #3  
Old 31 Mar 2007, 06:17
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
In the plugin listed above, why not just throw the if into it, so it will be global?


Make:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To This:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #4  
Old 31 Mar 2007, 11:43
JamieLee2k's Avatar
JamieLee2k JamieLee2k is offline
 
Join Date: Sep 2006
Real name: JamieLee2k
The plugin I am using is one from vbnova, do you think if I do the same thing here it will work the same?
Reply With Quote
  #5  
Old 31 Mar 2007, 21:58
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
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
Reply With Quote
  #6  
Old 31 Mar 2007, 23:42
JamieLee2k's Avatar
JamieLee2k JamieLee2k is offline
 
Join Date: Sep 2006
Real name: JamieLee2k
The code is not the same as what you are asking me to change isn't even in the in the template
Reply With Quote
  #7  
Old 01 Apr 2007, 00:29
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
What one did you download?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:03.

Layout Options | Width: Wide Color: