MyBB Community Forums

Full Version: Global Board Messages not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The board messages notification doesn't work. Am I missing the code for it in the header? If so where do I add and what do I add?

see here: http://conspiracymind.com

Any help, anyone?
What exactly do you mean with board message notifications?
Say a global message in the header? Like the one on MyBB.

See: [Image: 46684624247b4419b7f3949.png]
Thats either a plugin or you add them manually to the index templates.
Or in header / headerinclude template if you want it to be shown in every page, not only index.

conor Wrote:If you go to MyBB's forum, you will notice the bright colorful newsbar. Well, you can easily make these as well. This tutorial will add these newsbars to every forum page, not just the index so please see the demo below.

First, Go to
ACP>>Templates>>**Your Theme**>>Head Templates>>Header

and add

<p class="newsbar">Your Important Announcement Here</p>
somewhere in the header (I recommend the bottom )
Notice the <p class="newsbar"> This is the name of this newsbar. If you have more than one, you can name this to something like "Charlie" and then you can have more than 1 newsbar on your forum. Now save that template.

Second, go to:

ACP>>Templates>>**Your Theme**>>Ungrouped Templates>>HeaderInclude
or
ACP>>Themes>>**Your Theme**>>global.css (without <style> tag lines)

At the bottom, add
<style type="text/css">
.newsbar {
    background: #00BFFF;
    border-top: 2px solid #1E90FF;
    border-bottom: 2px solid #1E90FF;
    text-align: center;
    margin: 10px auto;
    padding: 5px 20px;
    font-weight: bold;
}
</style>
Again, notice the .newsbar { , if you are going to have another newsbar and use the name above for it (Charlie) you would replace newsbar with Charlie.
Save this template then check out your forum