Version: 1.00, by Fatal Hazard
Developer Last Online: Nov 2023
Category: Forum Home Enhancements -
Version: 4.2.1
Rating:
Released: 07-29-2013
Last Update: Never
Installs: 13
Template Edits
Re-useable Code Translations
No support by the author.
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:
Additionally you can instead add this code to the end of your additional CSS by going to your AdminCP --> Templates & Styles --> YOUR STYLE --> Edit Templates --> Additional CSS. If you decide to do this please make sure you remove the <style> tags so the code would look:
If you put the CSS in the FORUMHOME you do not put it in the additional.css. The same goes for if you put the CSS in the additional.css you do not put it in the FORUMHOME.
3. Find (in FORUMHOME):
<p class="newsbar"><strong>Latest News:</strong> <a href="http://yoursitehere.com/THREADURL" target="_blank">Your Important Announcement Here</a></p>
4. Save and enjoy
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
This modification may not be copied, reproduced or published elsewhere without author's permission.
Good work!
Lot of improvements required in instructions.
Item 2 is not required for custom styles and the style included in the additional.cs is enough.
In Item 3.
Mentioned Find and not given where to find?
and in the replacement code should add clear instructions to change the url of the users site otherwise 404 error will occur.
Also can suggest some good location for that.
Good work!
Lot of improvements required in instructions.
Item 2 is not required for custom styles and the style included in the additional.cs is enough.
In Item 3.
Mentioned Find and not given where to find?
and in the replacement code should add clear instructions to change the url of the users site otherwise 404 error will occur.
Also can suggest some good location for that.
Thanks but I don't know what you are talking about when you say item 2 is not needed. I am not saying to put the code in the additional.css and the FORUMHOME, you can do either. And I just thought it was common sense that if I say find code in the FORUMHOME then do not mention another template from that it would still be the same template, but that's just me. I don't want you to think that I was saying you put the CSS in 2 templates, it was your choice, either in the additional.css or FORUMHOME, Then the class in the FORUMHOME. So the CSS in either the additional.css or FORUMHOME and the class in the FORUMHOME. Oh and I think that:
Instead of putting the CSS in the additional.css put it in the FORUMHOME instead. Remember to add the <style> tags to the CSS when adding it to the FORUMHOME. Please read the instructions as to where you need to put the CSS in the FORUMHOME template.
<p class="newsbar"><strong>Welcome To RebellionX!</strong> <a href="http://rebellionx.org/forums/showthread.php?2-Welcome-to-RebellionX&p=12#post12" target="_blank">Welcome to RebellionX!</a></p>
<p class="newsbar"><strong>Welcome To RebellionX!</strong> <a href="http://rebellionx.org/forums/showthread.php?2-Welcome-to-RebellionX&p=12#post12" target="_blank">Welcome to RebellionX!</a></p>
But it doesn't even display. What did I do wrong?
Okay, first off did you add the codes to the correct place?
If you did then add the CSS to the additional.css template but remove the <style> tags. So the code for the additional.css would be: