News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Info Center

Started by RoflGuy, January 25, 2011, 03:52:04 PM

Previous topic - Next topic

Raider of Treasure

the posts guest were able to read.   for example, if we were to have freeroll game with the password,  I don't want guest to read password

Raider of Treasure

Quote from: Arantor on January 30, 2011, 07:03:50 PM
It was written for a 2.0 version. But really the key has been given - find the line of code given above and modify it.

If you don't want it to show it at all, simply remove it.

If you want to show it only to registered members put this in front of the template_info_center(); line:
if ($context['user']['is_logged'])

Or use $context['user']['is_admin'] for admins instead of $context['user']['is_logged'].

I think will do but forum owner were afraid to try

Arantor

I don't quite understand what you mean... so you want guests to be able to see the forum but not some posts? You can hide individual boards from guests...

Advertisement: