MyBB Community Forums

Full Version: notice bar for guests
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I need to
create a notification bar at the index
only guest

how can I do?

+rep who helps me
(2013-06-14, 10:46 AM)Geret Wrote: [ -> ]http://mods.mybb.com/view/guest-registra...tification
http://mods.mybb.com/view/message-bar

the 2plugin dont show the notice,

the compatibility is ok but not work ...
^ have you checked its settings ?
(2013-06-14, 11:41 AM)Mr_Joker Wrote: [ -> ]
(2013-06-14, 10:46 AM)Geret Wrote: [ -> ]http://mods.mybb.com/view/guest-registra...tification
http://mods.mybb.com/view/message-bar

the 2plugin dont show the notice,

the compatibility is ok but not work ...

http://community.mybb.com/thread-116984.html
can help me?? Why http://mods.mybb.com/view/message-bar dont work?
Go to :

ACP > Configuration > Settings > Message Bar (5 Settings) and turn the power on.

[Image: nV5dgpp.png]
is on, but not work..
you can make a global.php edit
if($mybb->user['usergroup'] == "1") {
	eval("\$guest_msg = \"".$templates->get("guest_msg")."\";");
}

Then you just make a template called "guest_msg", and you put your HTML Codes (like: You ARE vieweing forum as guest.)

then go to header template, and put {$guest_msg} where you prefer it shows this message
Why don't you just make it using simple template edits ans CSS?
I really can't understand why all those plugins and core edits are required.

Try this:
http://demonate.com/thread-1126-post-4872.html
Pages: 1 2