Topic: HOW DO I remove the ['Board info'] from being displayed

Hi,

I have a question, I am running 1.2.6, and how do I make this "announcement" ( <h2><span><?php echo $lang_index['Board info'] ?></span></h2> ) line of code Not showup on the guest "index.php" page? I only what the announcement to be displayed after the user has been logged in.

Hint:: I got my forum setup so when guest come to the index page, they cannot see the topics, but only after they have registered or logged in then they can see all the topics.

Could someone help me on this? Would appreciate!

Thanks,

d

Re: HOW DO I remove the ['Board info'] from being displayed

In header.php, replace:

if ($pun_config['o_announcement'] == '1')

with:

if ($pun_config['o_announcement'] == '1' && !$pun_user['is_guest'])

~m4dm4n

Re: HOW DO I remove the ['Board info'] from being displayed

Hi m4dm4n,

Thanks for the reply! Ok, I'll give the code swap a try! I appreciate!!!

Thanks!!!!:):)

D

Re: HOW DO I remove the ['Board info'] from being displayed

Hi m4dm4n,

It worked! Thanks again for your time and help on this!

Have a good one!  wink

D