Sofia
05-25-2009, 10:00 PM
This mod allows you to place Private Messaging in first place, on the UserCP
http://www.picdo.net/Fichiers/1e61e36f149af9a99be601e4a9affbe/pmess.png
https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=214590
1. Upload
Upload all images into images/misc
2. Template
In the template USERCP_SHELL,
Find and delete:
<if condition="$show['pmmainlink']">
<tr>
<td class="thead" nowrap="nowrap">
<span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span>
<if condition="$show['popups']">
<div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
</tr>
$cpnav[pmfolders]
</table>
</div>
</if>
</td>
</tr>
<tr><td class="$navclass[pm_messagelist]" nowrap="nowrap"><a class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></td></tr>
<if condition="$show['pmsendlink']">
<tr><td class="$navclass[pm_newpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td></tr>
</if>
<if condition="$show['pmtracklink']">
<tr><td class="$navclass[pm_trackpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr>
</if>
<tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
</if>
In the same template (USERCP_SHELL),
Find:
<!-- usercp nav -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tbody>
<tr><td class="tcat" nowrap="nowrap"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_control_panel]</a></td></tr>Add below:
<if condition="$show['pmmainlink']">
<tr>
<td class="thead" nowrap="nowrap">
<span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span>
<if condition="$show['popups']">
<div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
</tr>
$cpnav[pmfolders]
</table>
</div>
</if>
</td>
</tr>
<tr><td style="vertical-align: middle" class="$navclass[pm_newpm]" nowrap="nowrap"><img src="images/misc/pm.gif" border="0" align="left" /> <a class="smallfont" href="private.php?folderid=0$session[sessionurl_q]">$vbphrase[inbox]</a>
<br /><img src="images/misc/tree_ltr.gif" border="0" align="left" /><img src="images/misc/pm.gif" border="0" align="left"/> <a class="smallfont" href="private.php?folderid=-1$session[sessionurl_q]">$vbphrase[sent_items]</a></td></tr>
<if condition="$show['pmsendlink']">
<tr><td class="$navclass[pm_newpm]" nowrap="nowrap"><img src="images/misc/userfield.gif" border="0" align="left"/> <a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td></tr>
</if>
<if condition="$show['pmtracklink']">
<tr><td class="$navclass[pm_trackpm]" nowrap="nowrap"><img src="images/misc/track_pm.png" border="0" align="left"/> <a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr>
</if>
<tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><img src="images/misc/folder_edit.gif" border="0" align="left"/> <a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
</if>
http://www.picdo.net/Fichiers/1e61e36f149af9a99be601e4a9affbe/pmess.png
https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=214590
1. Upload
Upload all images into images/misc
2. Template
In the template USERCP_SHELL,
Find and delete:
<if condition="$show['pmmainlink']">
<tr>
<td class="thead" nowrap="nowrap">
<span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span>
<if condition="$show['popups']">
<div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
</tr>
$cpnav[pmfolders]
</table>
</div>
</if>
</td>
</tr>
<tr><td class="$navclass[pm_messagelist]" nowrap="nowrap"><a class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></td></tr>
<if condition="$show['pmsendlink']">
<tr><td class="$navclass[pm_newpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td></tr>
</if>
<if condition="$show['pmtracklink']">
<tr><td class="$navclass[pm_trackpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr>
</if>
<tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
</if>
In the same template (USERCP_SHELL),
Find:
<!-- usercp nav -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tbody>
<tr><td class="tcat" nowrap="nowrap"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_control_panel]</a></td></tr>Add below:
<if condition="$show['pmmainlink']">
<tr>
<td class="thead" nowrap="nowrap">
<span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span>
<if condition="$show['popups']">
<div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
</tr>
$cpnav[pmfolders]
</table>
</div>
</if>
</td>
</tr>
<tr><td style="vertical-align: middle" class="$navclass[pm_newpm]" nowrap="nowrap"><img src="images/misc/pm.gif" border="0" align="left" /> <a class="smallfont" href="private.php?folderid=0$session[sessionurl_q]">$vbphrase[inbox]</a>
<br /><img src="images/misc/tree_ltr.gif" border="0" align="left" /><img src="images/misc/pm.gif" border="0" align="left"/> <a class="smallfont" href="private.php?folderid=-1$session[sessionurl_q]">$vbphrase[sent_items]</a></td></tr>
<if condition="$show['pmsendlink']">
<tr><td class="$navclass[pm_newpm]" nowrap="nowrap"><img src="images/misc/userfield.gif" border="0" align="left"/> <a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td></tr>
</if>
<if condition="$show['pmtracklink']">
<tr><td class="$navclass[pm_trackpm]" nowrap="nowrap"><img src="images/misc/track_pm.png" border="0" align="left"/> <a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr>
</if>
<tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><img src="images/misc/folder_edit.gif" border="0" align="left"/> <a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
</if>