The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Is it possible to add custom background colours to notices?
Hi,
I was wondering is it possible to add custom colours to different notices? i.e. if I had a notice saying "skafjsakfjasklfjasklfjakfjs" to all users who are in the usergroup "registered", could I set it so that the notice had a background colour of lets say for example Blue and the text was Dark Blue? And also I had another notice saying "ruwqioruioqruwioqruwoqiruqwioru" to the moderators usergroup and I wanted it say a light red background and the text was white, can this be done? Thanks Danny |
#2
|
||||
|
||||
Anyone have any idea?
|
#3
|
||||
|
||||
create two different notices for both and use HTML to add background color.
you can do so if you use the table tag and add bg color to it Code:
<TABLE border=1 bgcolor=#FFFFFF> The whole message body here <table> |
#4
|
||||
|
||||
thanks but that didn't work?
|
#5
|
||||
|
||||
it has to, coz I am using it !!
I hope you did not forgot to put the <tr><td>........</td></tr> do this:- Code:
<TABLE bgcolor=#FFFFFF> <tr><td> <SPAN style="color:black; font-size:8pt;"> MESSAGE BODY HERE </SPAN></td></tr><table> |
#6
|
||||
|
||||
awesome thanks m8,
Is it possible to add a border without the shadow look? |
#7
|
||||
|
||||
Quote:
i have an answer for this. you can easily do so, but I don't think you'd be able to change the colors then.. that one color would be fixed for the bg. go to navbar template->find:- Code:
<if condition="$show['notices']"> and perform some nice editing here. I have simply deleted the whole code here and replaced it with mine. Use something like Code:
<td style="width:100%; background-color:#000000"> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|