MyBB Community Forums

Full Version: Multiple Questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, here are my two questions question:

How do I hide certain links from guests that I have placed in my navbar?
I want to hide the links in the red bar:
[Image: IskRN.png]

Also, how do I make guests see a no permission page opting for them to log in or sign up when they click on certain links?

Thanks very much in advanced!
All navbar links may be moved to header_welcomeblock_member template

AND I prefer using SCD Hide From Groups plug-in for hiding the links to a specific group
Um sorry, I don't quite get it. Where do I move the links to? (Exactly which line)
1.- http://mybbhacks.zingaburga.com/showthread.php?tid=735
2.- Which kind of links are those you want to show a "No Permission" page?
1. Thanks!
2. Links in navbar, footer, ect.
But are those mybb pages or custom ones? Do you use Page Manager plugin?
(2011-08-28, 05:08 AM)Sama34 Wrote: [ -> ]But are those mybb pages or custom ones? Do you use Page Manager plugin?
Yeah custom ones made with page manager.
Nevermind, solved it anyways by adding

if (!$mybb->user['uid'])
	error_no_permission();


Thanks for helping anyways!