MyBB Community Forums

Full Version: Board Messages + Colors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok guys just recently I viewed the tutorial via MyBB and one of the users on this forum. They weren't very clear and I thought I could help the community with this tutorial. I have simplified it down so you wont have to use to much code.

First install
http://mods.mybb.com/view/board-messages

Then go to your Theme of choice in theme editor. Open board_messages.css go into the advanced edit mode, copy and paste the following code:

.board_message {
	background: #EFEFEF;
	color: #333333;
	border-top: 2px solid #D4D4D4;
	border-bottom: 2px solid #D4D4D4;
	padding: 5px;
	margin-top: 10px;
}
.board_message_blue {
	background: #adcbe7;
	border-top: 2px solid #0f5c8e;
	border-bottom: 2px solid #0f5c8e;
        border-left: 0px solid #0f5c8e;
        border-right: 0px solid #0f5c8e;
        text-align: center;
        color: #000000;
        font-weight: bold;
	padding: 5px 20px;
	margin: 10px auto;
}
.board_message_green {
	background: #d6eca6;
	border-top: 2px solid #8dc93e;
	border-bottom: 2px solid #8dc93e;
        border-left: 0px solid #8dc93e;
        border-right: 0px solid #8dc93e;
        text-align: center;
        color: #000000;
        font-weight: bold;
	padding: 5px 20px;
	margin: 10px auto;
}
.board_message_yellow {
	background: #fff6bf;
	border-top: 2px solid #ffd324;
	border-bottom: 2px solid #ffd324;
        border-left: 0px solid #ffd324;
        border-right: 0px solid #ffd324;
        text-align: center;
        color: #000000;
        font-weight: bold;
	padding: 5px 20px;
	margin: 10px auto;
}

Then you can use your board messages via the admin panel. To get a green box you use board_message_green, blue box board_message_blue and same for yellow.

Simply put one of those in the box labeled class.

Happy MyBB Smile

I'm not responsible for anything problems that may occur from not following the instructions correctly.
Theres actually several different plugin available for this , my site notice plugin in particular has multiple options to allow users to change the look of the message, but im sure this will be usefull to someone Wink
This is already here: http://wiki.mybb.com/index.php/Help:Latest_News_Bar with better explanation. Smile
Yaldaram, that tutorial is with out the use of the application that lets you add as many messages via the admin panel Janota why dont you point me to that plug in I have very hard time finding things on this site.
I said in my post that i had a plugin to do that and ive got a big banner under all my posts that links to my site, i though you'd put 2 & 2 together lol Wink

http://mybbextras.com/showthread.php?tid=624

Demo Here: http://testing.mybbextras.com/