I need to
create a notification bar at the index
only guest
how can I do?
+rep who helps me
^ have you checked its settings ?
Go to :
ACP > Configuration > Settings > Message Bar (5 Settings) and turn the power on.
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