Red Spider
02-17-2007, 10:00 PM
/*================================================= =====================*\
|| ################################################## ##################
|| # 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:
==================================
<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:
==================================
<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 :)
|| ################################################## ##################
|| # 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:
==================================
<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:
==================================
<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 :)