The Arcive of vBulletin Modifications Site. |
|
Blink the Welcome Bar when receiving a new PM! Details »»
|
|||||||||||||||||||||||||||
|
Blink the Welcome Bar when receiving a new PM!
Developer Last Online: Aug 2014
Some tiny bits and pieces of this hack was adapted from Chen's vB 2 version of this hack, so kudos to him
What this hack does is it makes the 'Welcome, $username' box in the navbar blink by changing colors whenever a user has a new PM, so that it will catch their attention and they won't miss the PM You can view the hack in action by viewing the attached screenshot to this post! (Meaning that it will blink like it's supposed to ) Anyways, here are the instructions: Open up the navbar template and find: HTML Code:
<td class="alt2" valign="top" nowrap="nowrap">
HTML Code:
<td valign="top" nowrap="nowrap" <if condition="$bbuserinfo['pmunread']">id="pmBox"<else />class="alt2"</if>> HTML Code:
<else /> <td class="alt2" nowrap="nowrap" style="padding:0px"> HTML Code:
<if condition="$bbuserinfo['pmunread']"> <script type="text/javascript"> <!-- <!-- blink navbar on new pms --> pmBox.bgColor='$stylevar[thead_bgcolor]'; setInterval("Timer()", 500); x=1; function Timer() { set=1; if (x==0 && set==1) { pmBox.bgColor='$stylevar[tcat_bgcolor]'; x=1; set=0; } if (x==1 && set==1) { pmBox.bgColor='$stylevar[thead_bgcolor]'; x=0; set=0; } } --> </script></if> All done! You can view the hack in action by viewing the attached screenshot! (Meaning that it will blink like it's supposed to ) Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
nice hack, also plz format hack into a text file(forum rules)
|
|
#3
|
|||
|
|||
|
Okay I will right now, sorry about that this is my first mod released here
|
|
#4
|
|||
|
|||
|
I also added the cool new screenshot I made
|
|
#5
|
||||
|
||||
|
I get a debug error everytime I install this hack... says pmuser isn't specified? really odd lol
|
|
#6
|
|||
|
|||
|
Strange it's not like that for me, could you give me a screenshot?
|
|
#7
|
||||
|
||||
|
Sure.. I'll reinstall it and grab a snapshot for you
|
|
#8
|
|||
|
|||
|
Yes same problem here......something is wrong...
|
|
#9
|
|||
|
|||
|
I like this idea but will wait until the above issue is resolved
|
|
#10
|
|||
|
|||
|
Same here.. I'd like to apply this when its working
|
![]() |
|
|