[Tip&Trick]Message for your guests - Printable Version +- MyBB Codes (http://www.mybbcodes.com) +-- Forum: Babjusi's Previous Forum General Stuff (/forumdisplay.php?fid=42) +--- Forum: General Support (/forumdisplay.php?fid=46) +---- Forum: Tutorials (/forumdisplay.php?fid=50) +---- Thread: [Tip&Trick]Message for your guests (/showthread.php?tid=1097) |
[Tip&Trick]Message for your guests - babjusi - 11-29-2009 05:37 PM This modification will allow you to show a message to your guests, which will be displayed at the top of the forum. Hopefully this will encourage them to register. To have an idea how the mod looks like in action, please check the screenshots attached at the end of this topic First of all you must have the PHP in Templates and Template Conditionals plug in installed: http://community.mybboard.net/thread-31860.html After you install that plug in, go to the Acp of your forum-Templates & Style-Templates-Default Templates-Header Templates-header. Replace the whole code in there with the following: Code:[Highlight] <if $GLOBALS['mybb']->user['usergroup'] == 1 then> Or you can display it under the menu bar: Code:[Highlight] <div id="container"> |