Info:
This enhances your Private Messages system:
-PM Menu in NavBar PM stats
-Advanced unread PM(s) notification
-"Reply To All" option in messages which was sent to multiple recipients
-Option to completely disable Signatures in PMs
-Options to change NewPM form checkboxes defaults
All features can be enabled/disabled in hack settings.
See screenshots.
Installation:
1. Import XML file as product: AdminCP > Plugin System > Manage Products > [Add/Import Product]
To set options:
Go to: AdminCP > vBulletin Options > Cyb - PM System Enhancements
Versions: v1.0 - Mar 12. 2007.
-Initial release v1.1 - Mar 12. 2007.
-Minor bug fixed (unneded space before PM stats) v1.2 - Mar 13. 2007.
-Fixed bug (array_search error on some servers when viewing PM)
-New: Change PM stats cell bg-color on new PM v1.3 - Mar 23. 2007.
-Fixed bug (array_search error when viewing PMs sent by bots)
-Fixed bug (PM menu links not working on some forums)
-Hack compatible with vBadvanced CMPS (variable to globalize: cybpmmenu) v1.4 - Apr 24. 2007.
-PM menu links uses now full path (defined in vBulletin Options > Site Name / URL / Contact Details > Forum URL)
-Some other minor bug fixes
with what you need?
Of course you must know how it works.
Thanks for your suggestion. I've fixed the problem. Actually I'm using custom skin what had login option only on forum home. So I need to change the header to add the login option. Now it appears on every page. Anyway I have edited Cyb - PM System Enhancements - MN plugin.
PHP Code:
if ($vbulletin->options['cyb_pme_enable_global'])
{
if (($vbulletin->options['cyb_pme_newpmsig_color']!='') OR $vbulletin->options['cyb_pme_enable_pmmenu'])
{
eval('$cybpmmenu = "' . fetch_template('cyb_pme_pmmenu') . '";');
$vbulletin->templatecache['header'] = str_replace('$vbphrase[private_messages_nav]','$cybpmmenu',$vbulletin->templatecache['header']);
}
if (($vbulletin->userinfo['pmunread'] > 0) AND ($vbulletin->options['cyb_pme_newpmsig_bgcolor']!=''))
{
$vbulletin->templatecache['header'] = str_replace(('<td class=\"alt2\" valign=\"top\" nowrap=\"nowrap\">'),'<td valign=\"top\" nowrap=\"nowrap\" style=\"background-color:'.$vbulletin->options['cyb_pme_newpmsig_bgcolor'].';\">',$vbulletin->templatecache['header']);
}
if ($vbulletin->options['cyb_pme_newpm_smil'] AND (THIS_SCRIPT=='private') AND ($_REQUEST['do']=='newpm'))
{
$vbulletin->templatecache['newpost_disablesmiliesoption'] = str_replace(('$checked[disablesmilies]'),'checked=\"checked\"',$vbulletin->templatecache['newpost_disablesmiliesoption']);
} else {
$vbulletin->templatecache['newpost_disablesmiliesoption'] = str_replace(('$checked[disablesmilies]'),'',$vbulletin->templatecache['newpost_disablesmiliesoption']);
}
if ($vbulletin->options['cyb_pme_pm_sig_dis'] AND (THIS_SCRIPT=='private') AND $_REQUEST['do']=='showpm')
{
$cyb_pme_sigrems = array('__________________<br />', '$post[signature]');
$vbulletin->templatecache['postbit'] = str_replace($cyb_pme_sigrems,'',$vbulletin->templatecache['postbit']);
$vbulletin->templatecache['postbit_legacy'] = str_replace($cyb_pme_sigrems,'',$vbulletin->templatecache['postbit_legacy']);
}
}
I just replace the navbar template with header template. Then again as I'm using <td align="$stylevar[right]"></td> for my login box so I got drop down menu text on right side :S. So I need to edit the template also. Just added.
Try adding full URL to your CSS. Though I don't use CMPS now but once I got problem with this. Then I did change all the CSS URL from 'forum/blabla/blabla' to 'http://mydomain/forum/blabla/blabla' in ACP > Styles & Templates > Style Manager > Select a skin & go to All Style Option. Thats all . I hope this 'll fix your problem too.