View Full Version : Announcement box for unregistered users only

April 9th, 2008, 12:18 PM
I know the code is somewhere to show something if logged in or not, but I cannot seem to locate it.

I want the Announcement box to only show if not registered...and of course, disappear when someone logs in..

Chuck S
April 9th, 2008, 12:54 PM
possibly in the index.php file on the following line add the code in bold

if ( $Globals['news'] == "yes" && $page == 1 && !$User['userid'] )

April 10th, 2008, 07:41 PM
Works Like a charm! Thanks for your outstanding, and most of the time, instant support!

Chuck S
April 10th, 2008, 08:19 PM
enjoy your evening glad to assist.