Blink the Welcome Bar when receiving a new PM!
This modification is in the archives.
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 ) Download This modification is archived and cannot be downloaded. Screenshots
|
Similar Mods
Blink PM bar on new PM! | vBulletin 2.x Full Releases |