View Full Version : Anncouncement Background Color
The best way to make your forum announcements stand out is to change the color of the background.
This template adjustment, hard codes the change to your template, making it more efficient when loading the page.
Note: Background colours may need to be different, depending on the style colour you are using. You can achieve this by modifiying the template in each style.
Open "threadbit announcement" from within the threadbit templates.
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace class="alt2" with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
where FFFFFF is equal to the html color code you wish to use.
Using a background image: http://www.vbulletin.org/forum/showpost.php?p=1171207&postcount=9
Modification for Sticky background colour: http://www.vbulletin.org/forum/showpost.php?p=1171212&postcount=10
grecostimpy
15 Jan 2007, 17:47
I like this, but wouldn't it be better do with CSS?
Yes you could use CSS, its easy enough to do. Just change the code as needed.
Can this be done to Sticky Threads?
maxicep
29 Jan 2007, 10:06
Can this be done to Sticky Threads?
i 'm searching this too.
Can this be done to Sticky Threads?
I can't see anyway of doing this for stickies atm, but I have a mod on which uses different templates. I'll try and have another look if I get time.
stan111
29 Jan 2007, 22:11
what about image?
what about image?
normal html options should be used
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Can this be done to Sticky Threads?
In the threadbit template find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
where bgcolor="#XXXXXX" is the hex color of your choice
normal html options should be used
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Thank you! :)
Cybershaolin
03 Feb 2007, 05:15
In the threadbit template find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
where bgcolor="#XXXXXX" is the hex color of your choice
Thanks a lot. I'd like to be able to do that for the subscribed threads. How to achieve this?
Not sure at the moment, I'll try and ake a look for you over the next few days
Cybershaolin
19 Mar 2007, 18:44
Thanks :)
Symmetrical®
26 Dec 2007, 22:25
Princeton done this modifications.
Derek Chai
12 Jan 2008, 17:42
Can you make it so that the staff "user" can specify what color the want their sticky's to be like red blue green? Sticky/annoucement.
Princeton done this modifications.
Yes you are correct. Princeton has made a similar hack to this, however, it has some subtle differences and was made over 5 months after this one. You can find it here http://www.vbulletin.org/forum/showthread.php?t=149780
Priceton is a good man and I have some of his hacks installed on my site, but I do object to you coming on here trying to make out I've ripped him off.
Can you make it so that the staff "user" can specify what color the want their sticky's to be like red blue green? Sticky/annoucement.
It would require a lot more coding as the inline moderation would need to have multiple sticky choices. It could be done by copying the phrases and templates to create a sticky 1, sticky 2, sticky 3 then having a colour for each one. But I'm not sure how practical it would be.
You might have better results using something like global threads instead with a different colour prefix, but then I would wait for 3.7 to go to GOLD before looking into that, as the new prefix system could do it all for you anyway.
is this mod safe to use with 3.8.4 ?
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.