Quote:
Originally Posted by Paul M
Easiest way is to insert a comment in the header template where you want this to appear (such as <!-- UNREAD -->) and then edit the mods Auto-Template settings to search for that comment.
Edit: Hmm actually, I never put those settings in this mod, so you will have to edit the $search_text variable in the plugin.
Note to self: I must update this.
|
so can I just the comment variable to look for either place so that it works either way?
example:
PHP Code:
$vbulletin->templatecache['navbar'] = str_replace($search_text,$search_text.$unread,$vbulletin->templatecache['navbar']);
to:
PHP Code:
$vbulletin->templatecache['navbar'; 'header'] = str_replace($search_text,$search_text.$unread,$vbulletin->templatecache['navbar'; 'header']);
like I said I am just a novice still learning so that may be way off and a laughable offense