Sofia
05-30-2009, 10:00 PM
Customize your PM Bars 3.7.x
You can simply customize your private messages bars.
http://www.picdo.net/Fichiers/403f546a4e849ae8888b63f63889f6/Sans-titre.png
Installation
Download the zip and upload bars images into "images/pmbars"
Edit TemplateIn the template "pm_messagelist"
Find:
<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="100%">
<tr>
<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" style="background-color:red; font-size:10px" heigth="13" 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" heigth="13" 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" heigth="13" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>"> </td></if>
</tr>
</table>Replace by:
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" style="background-image: url(images/pmbars/bar_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]" style="background-image: url(images/pmbars/bar_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]" style="background-image: url(images/pmbars/bar_green.gif); font-size:10px" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>"> </td></if>
</tr>
</table>
You can simply customize your private messages bars.
http://www.picdo.net/Fichiers/403f546a4e849ae8888b63f63889f6/Sans-titre.png
Installation
Download the zip and upload bars images into "images/pmbars"
Edit TemplateIn the template "pm_messagelist"
Find:
<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="100%">
<tr>
<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" style="background-color:red; font-size:10px" heigth="13" 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" heigth="13" 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" heigth="13" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>"> </td></if>
</tr>
</table>Replace by:
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" style="background-image: url(images/pmbars/bar_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]" style="background-image: url(images/pmbars/bar_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]" style="background-image: url(images/pmbars/bar_green.gif); font-size:10px" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>"> </td></if>
</tr>
</table>