Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Newsbar
Author Message
pickleman9686
Junior Member


Posts: 17
Joined: Sep 2008
Reputation: 0
Post: #1
The Newsbar
Where can i get the newsbar up above with the green and blue boxes? Is it compatible with myBB 1.4?
10-01-2008 08:28 AM
Dalton
Super Moderator


Posts: 451
Joined: Aug 2008
Reputation: 3
Post: #2
RE: The Newsbar
Somewhere on the MyBB site...
Search for NewsBar
The green one is a marquee news bar. Search that too.

Chicago Bears
4-3

[Image: Dalton23.jpg]
Do NOT P.M. me for help. Create a topic.
10-01-2008 08:31 AM
fmjc001
Junior Member


Posts: 20
Joined: Oct 2008
Reputation: 0
Post: #3
RE: The Newsbar
I would like this too, any ideas anyone?
10-01-2008 08:32 AM
killswitch
Administrator



Posts: 133
Joined: May 2008
Reputation: 0
Post: #4
RE: The Newsbar
Well this is a pretty simple code. First of all, part of the code is the newsbar plugin, which is listed below:

1. In MyBB 1.4.x, go to Admin CP --> Templates & Style --> Templates --> *expand your template set* --> Index Page Templates --> index. If you are using MyBB 1.2.x, go to Admin CP --> Templates --> Modify / Delete --> Expand your template set --> Index Page Templates --> index
2. Find:

Code:
{$headerinclude}

3. Add after:

Code:
<style type="text/css">
      .newsbar {
          background: #D6ECA6;
          border-top: 2px solid #8DC93E;
          border-bottom: 2px solid #8DC93E;
          text-align: center;
          margin: 10px auto;
          padding: 5px 20px;
          font-weight: bold;
      }
      </style>

4. Change the colors above to the colors of your choice if you wish.
5. Find:

Code:
{$header}

6. Add after:

Code:
<p class="newsbar">Your Important Announcement Here</p>

For multiple news bars, repeat step 6. For multiple news bars in different colours, you'll need to duplicate the CSS with a different class name (say .newsbar_red) and change the CSS colours accordingly. Then you will need to use

Code:
<p class="newsbar_red">...</p>

for example in your code.

Global

For the bar to show up on all pages, follow this procedure:

1. In MyBB 1.4.x, go to Admin CP --> Templates & Style --> Templates --> *expand your template set* --> Ungrouped Templates --> headerinclude. If you are using MyBB 1.2.x, go to Admin CP --> Templates --> Modify / Delete --> Expand your template set --> headerinclude
2. At the end of the template, add:

Code:
<style type="text/css">
      .newsbar {
          background: #D6ECA6;
          border-top: 2px solid #8DC93E;
          border-bottom: 2px solid #8DC93E;
          text-align: center;
          margin: 10px auto;
          padding: 5px 20px;
          font-weight: bold;
      }
      </style>

3. Change the colors above to the colors of your choice if you wish.
4. In MyBB 1.4.x, go to Admin CP --> Templates & Style --> Templates --> *expand your template set* --> Header Templates --> header. If you are using MyBB 1.2.x, go to Admin CP --> Templates --> Modify / Delete --> Expand your template set --> header
5. At the end of the template, add:

Code:
<p class="newsbar">Your Important Announcement Here</p>

For multiple news bars, repeat step 6. For multiple news bars in different colours, you'll need to duplicate the CSS with a different class name (say .newsbar_red) and change the CSS colours accordingly. Then you will need to use

Code:
<p class="newsbar_red">...</p>

for example in your code.



The Second part of it is a scrolling marquee code

Code:
<MARQUEE>
Hi There! <IMG SRC="graphics/idocs.gif" HEIGHT=33 WIDTH=82 ALT="Idocs Guide to HTML">
</MARQUEE>

So basically put your news item in that, and then paste it in the above code for it to be just like what we have at mybbsource.

[Image: B1.png]

[Image: NewAgeAdsV.png]

100% Free Advertising to your Mybb forum
10-01-2008 09:37 AM
NetSage
Super Moderator


Posts: 241
Joined: Aug 2008
Reputation: 3
Post: #5
RE: The Newsbar
Although killswitch is right I prefer EMS.

http://mods.mybboard.net/view/emergency-message-system

It's just easy to manage over all.

[Image: netsage.jpg]
I'll be over at the Admin Lounge.
All pms about support or asking me to register will be ignored.
10-01-2008 09:40 AM
Nickman
Administrator



Posts: 653
Joined: May 2008
Reputation: 14
Post: #6
RE: The Newsbar
The one we have here is actually a custom little sucker I made just for this site :)

10-01-2008 11:49 AM
pickleman9686
Junior Member


Posts: 17
Joined: Sep 2008
Reputation: 0
Post: #7
RE: The Newsbar
alright thanks NetSage i like the EMS!
10-02-2008 09:31 AM
 


Forum Jump: