The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I know this hack exists, but for the life of me I can't find it. Maybe I'm just having a bad day, but I've tried searching every way I know and no luck.
The hack changes the background color on your welcome bar (in navbar) when you get a new PM. Does anyone know which hack this is? Thanks! |
|
#2
|
||||
|
||||
|
The blinking background?
|
|
#3
|
||||
|
||||
|
No, I just looked at that one and it isn't it. Thanks though.
This one had you add some CSS in your "additional CSS definitions". Looked like this: Code:
/***** new pms in the navbar *****/
.newpmblock, .newpmblock:active {
background-color: #9F594D;
color: #000000;
}
|
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
|||
|
|||
|
In your navbar find
Code:
<td class="alt2" valign="top" nowrap="nowrap" Code:
<td class="<if condition="$bbuserinfo[pmunread]">newpmblock<else />alt2</if>" valign="top" nowrap="nowrap"> This will change the color of the block in the navbar with your userinfo in to the color as defined in newpmblock from alt2 when there is a new pm. |
|
#6
|
||||
|
||||
|
Thanks. I found an old test install where I had that hack done and it looks like you're exactly on track peterska2. It's slightly different, but I'm sure acheives the same thing:
Code:
<td <if condition="$bbuserinfo['pmunread'] > 0 AND $show['pmstats']">class="newpmblock"<else />class="alt2"</if> valign="top" nowrap="nowrap"> |
|
#7
|
|||
|
|||
|
That does exactly the same thing oldford.
And, yes it is a straightforward template mod. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|