PHP Bulletin Board Home
News About Home
Features of phpBB Test drive phpBB Downloads Support for phpBB The phpBB Community Styles for customising phpBB 3rd party modifications to phpBB

Support Home | Knowledge Base Home | Submit Article | Search Articles | Browse Articles
 Making things invisible/visible when logged in/out 
Description: How to make things on your forum visible when logged out and invisible when logged in.
Author: Lyrikal_J
Date: Thu Oct 27, 2005 9:46 pm
Type: FAQ
Keywords: invisible logged out in visible
Category: MODifications
I am going to show you how to make images, text, boxes, and other stuff visible when logged out and invisible when logged in.

I will also show how to make images, text, boxes and other stuff invisible when logged out and VISIBLE when logged IN.

1) How to make visible when logged out...

First find the code of the thing you want to make visible when logged out.

Then..

Add this at beginning of the code:
Code:
<!-- BEGIN switch_user_logged_out -->


Add this at end of the code:
Code:
<!-- END switch_user_logged_out -->


This will make things visible when logged out and disappear when logged in.

2) How to make invisible when logged OUT.

First find the code of the thing you want to make invisible when logged out.

Then...

Add this at beginning of the code:
Code:
<!-- BEGIN switch_user_logged_in -->


Add this at end of the code:
Code:
<!-- END switch_user_logged_in -->


This will make things invisible when logged out and visible when logged in.

Username: Password:
News | Features | Demo | Downloads | Support | Community | Styles | Mods | Links | Merchandise | About | Home
 © Copyright 2002 The phpBB Group.