MyBB Community Forums

Full Version: Guests can see member menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I recently moved my sites menu from below the banner to above the banner to make the theme more suitable to the users, when i did that i got this
[Image: 1733343968.jpeg] , which was perfect for me, but now my guests can see the usermenu, like logout, usercp and other things they shouldnt see,
Is there a way to fix that.
Put the things they shouldn't see in header_welcomeblock_member.
Ok ill go try that
Ill post back when ive tried it
What are the module names for the UCP and logout button
User CP:
<a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong></a>

Logout:
<a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a>

Those are the codes you need to add to the header_welcomeblock_member if you don't want them to show for guests. Also, make sure you remove the links you don't want guests to see from the header template.