vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=324661

How do I restrict anything being viewed by unregistered or banned users?
by MdSWolfy
10 Mar 2017 01:34

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?:confused:

bzcomputers 10 Mar 2017 02:49

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.


MdSWolfy 10 Mar 2017 20:45

Quote:

Originally Posted by bzcomputers (Post 2583569)

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.


All times are GMT. The time now is 20:44.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.