MyBB Community Forums

Full Version: Does this work?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
On my Board Message plugin, can I change it where only guests can view it?
What's the name of plugin ?
Board Announcement Plugin, or something like that.
To be honest, without an actual link to the plugin it would be very hard to tell Wink
Here- http://mods.mybb.com/view/board-messages

Board Message plugin
Open plugin file and find;

		if($message['global'] != 0 || $current_page == 'index.php')

Replace it to;

		if($message['global'] != 0 || $current_page == 'index.php' && $mybb->user['usergroup'] == 1)
Okay, thank you very much, I'll see if it works. Smile
Eh, now is this in the cpanel? or is it in the templates?
The plugin file.
Btw,
http://mods.mybb.com/view/group-notice
You can set a board message for a certain user group without making code edits.
now, it is suppose to be in the miscellaneous tab, but then which one is it after that?
Pages: 1 2