The Arcive of vBulletin Modifications Site. |
|
![]() |
|||||||||||||||||||||||||
/*================================================= =====================*\
|| ################################################## ################## || # Gradient Fill For PM Status Bar || # ---------------------------------------------------------------- || # You may distribute freely as long as you credit: Red Spider || ################################################## ################## || \*================================================ ======================*/ Simple hack made for a friend of mine. Quite simply adds a gradient instead of the boring solid colours used on the PM Inbox Status. Version 2.0: [F] Changed code to use "$stylevar[imgdir_statusicon]" instead of absoloute URL's (thanks to jgommel) Version 1.0: Inital Release Installation: 1) Upload attached "images" folder to your forums "images" folder. 2) In pm_messagelist find: ================================== HTML Code:
<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" style="background-color:red; font-size:10px" title="<phrase 1="$totalmessages">$vbphrase[messages_stored_in_folder_x]</phrase>"> </td></if> <if condition="$show['allfolderstotal']"><td width="$tdwidth[total]" style="background-color:orange; font-size:10px" title="<phrase 1="$bbuserinfo[pmtotal]">$vbphrase[total_messages_in_all_folders_x]</phrase>"> </td></if> <if condition="$tdwidth[quota] > 0"><td width="$tdwidth[quota]" style="background-color:green; font-size:10px" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>"> </td></if> and replace with: ================================== HTML Code:
<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" background="$stylevar[imgdir_statusicon]/pm_red.gif" font-size:10px" title="<phrase 1="$totalmessages">$vbphrase[messages_stored_in_folder_x]</phrase>"> </td></if> <if condition="$show['allfolderstotal']"><td width="$tdwidth[total]" background="$stylevar[imgdir_statusicon]/pm_orange.gif" font-size:10px" title="<phrase 1="$bbuserinfo[pmtotal]">$vbphrase[total_messages_in_all_folders_x]</phrase>"> </td></if> <if condition="$tdwidth[quota] > 0"><td width="$tdwidth[quota]" background="$stylevar[imgdir_statusicon]/pm_green.gif" font-size:10px" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>"> </td></if> 3) Save and Enjoy ![]() If you liked this or used it, Please click install ![]() Show Your Support
|
Comments |
#2
|
||||
|
||||
![]()
1st post !!
Thanks installed |
#3
|
||||
|
||||
![]()
Nice one! Looks purty...
![]() |
#4
|
|||
|
|||
![]()
small but way better :-) thanks for this nice addon
|
#5
|
||||
|
||||
![]()
Good idea! I just made one minor change (staying with traditional vb coding)...
I replaced all (3) image paths with background="$stylevar[imgdir_statusicon]/pm_red.gif" background="$stylevar[imgdir_statusicon]/pm_orange.gif" background="$stylevar[imgdir_statusicon]/pm_green.gif" Code:
<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" background="$stylevar[imgdir_statusicon]/pm_red.gif" font-size:10px" title="<phrase 1="$totalmessages">$vbphrase[messages_stored_in_folder_x]</phrase>"> </td></if> <if condition="$show['allfolderstotal']"><td width="$tdwidth[total]" background="$stylevar[imgdir_statusicon]/pm_orange.gif" font-size:10px" title="<phrase 1="$bbuserinfo[pmtotal]">$vbphrase[total_messages_in_all_folders_x]</phrase>"> </td></if> <if condition="$tdwidth[quota] > 0"><td width="$tdwidth[quota]" background="$stylevar[imgdir_statusicon]/pm_green.gif" font-size:10px" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>"> </td></if> |
#6
|
||||
|
||||
![]() Quote:
![]() |
#7
|
||||
|
||||
![]()
hmm.... I'm sorry but I don't see why this is in the Hack section as it's simply a minor template modification. Don't get me wrong, it's a nice idea and looks good but I don't see why this justifies being in the hack section :/
|
#8
|
||||
|
||||
![]() Quote:
Always someone who has to put their 2 sense into everything. Big freakin deal! |
#9
|
||||
|
||||
![]() Quote:
![]() |
#10
|
||||
|
||||
![]() Quote:
That's my opinion. You don't have to like it, just accept it. Don't bother coming up with any more intelligent replies to my comment as this will be the last thing I say in this thread. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|