The Arcive of vBulletin Modifications Site. |
|
Newsbar/Announcements Details »»
|
|||||||||||||||||||||||||
What is it?
This is a simply yet very effective newsbar that you can display at the top of your forum. You can display 1 or as many as you like and change the colour and border of each one. How to Install? 1. Go to AdminCP --> Styles & Templates --> Your Style --> Edit Templates --> Forum Home Templates --> FORUMHOME 2. Find: Code:
{vb:raw headinclude}
<title>{vb:raw vboptions.bbtitle}</title>
<script type="text/javascript" src="clientscript/vbulletin_read_marker.js?v={vb:raw vboptions.simpleversion}"></script>
Code:
<styletype="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>
Code:
.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;}
3. Find (in FORUMHOME): Code:
<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</div>
Code:
<p class="newsbar"><strong>Latest News:</strong> <a href="http://yoursitehere.com/THREADURL" target="_blank">Your Important Announcement Here</a></p> If you want to have multiple just repeat step 3 by placing the same code below. If you want to have multiple that are different colours then you'll need to duplicate the CSS with different class names (say .newsbar_red) and change the CSS colours accordingly. ![]() If you use this please mark as installed ![]() Support (if any) will be prioritized to those who have this modification marked as installed. Thanks and Enjoy ![]() Show Your Support
|
|||||||||||||||||||||||||
| 2 благодарности(ей) от: | ||
| cshellworld, sodasusu | ||
| Comments |
|
#2
|
|||
|
|||
|
Thanks, I added the style to my additional.css and not forumhome
|
|
#3
|
||||
|
||||
|
Okay, it should work either way, for this tutorial I put it in the FORUMHOME
|
|
#4
|
||||
|
||||
|
Quote:
Could you explain how please |
|
#5
|
|||
|
|||
|
Quote:
Just add the style code to the bottom of additional.css with out the tags: Code:
.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;}
|
| 2 благодарности(ей) от: | ||
| Bubble #5, Fatal Hazard | ||
|
#6
|
||||
|
||||
|
oh, I misread the instructions - my mistake.
|
|
#7
|
||||
|
||||
|
Quote:
Thanks. |
|
#8
|
||||
|
||||
|
No problem, if you have successfully installed it don't forget to mark as installed
|
|
#9
|
||||
|
||||
|
I've added the additional CSS option to the tutorial.
|
|
#10
|
|||
|
|||
|
all over the shop in vB4.2.0 lol
* uninstalled |
![]() |
|
|