Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Mar 2017, 01:34
MdSWolfy MdSWolfy is offline
 
Join Date: May 2015
Question How do I restrict anything being viewed by unregistered or banned users?

I know there is some if condish that let you control different things based on usergroups, <if condition="is_member_of($bbuserinfo, X)"></if>, something like that. I am wondering how to hide all elements of my site, header content, menu, footer, login box etc.

Basically so if a guest visits the site, they can ONLY see a message or an image.

Can this be done?
Reply With Quote
  #2  
Old 10 Mar 2017, 02:49
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Under: Admin Control Panel - Usergroups - Usergroup Manager

You need to Edit Usergroup "Unregistered / Not Logged In" and set Can View Forum to "No".

This may give you what you want as far as just showing a link to register. It will not hide everything though.

You can also surround any code with this to allow only members to see:

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


Last edited by bzcomputers; 10 Mar 2017 at 03:00.
Reply With Quote
  #3  
Old 10 Mar 2017, 20:45
MdSWolfy MdSWolfy is offline
 
Join Date: May 2015
Originally Posted by bzcomputers View Post

You can also surround any code with this to allow only members to see:

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

I was able to figure this out, thank you very much.
Reply With Quote
Reply


Tags
usergroups


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 19:34.

Layout Options | Width: Wide Color: