Quote:
Originally Posted by wii
Can this be modified to show in the header between calendar and seach, like this:
Calendar - New Posts (45) - Search
45 is just an example, this would be post count.
Thanks
|
I agree, that it would be good, and so I did it and tested it for you :laugh:
Step 1: Open Paul's XML-File with Notepad
Step 2:
Search for:
Code:
$vbulletin->templatecache['navbar'] = str_replace($search_text,$search_text.$unread,$vbulletin->templatecache['navbar']);
Below add these four Lines:
Code:
$vbulletin->templatecache['navbar'] = str_replace("\$vbphrase[new_posts_nav]</a>","\$vbphrase[new_posts_nav] (".$postcount['unread'].")</a>",$vbulletin->templatecache['navbar']);
$vbulletin->templatecache['navbar'] = str_replace("\$vbphrase[new_posts_nav]</a>","\$vbphrase[new_posts_nav] (".$postcount['unread'].")</a>",$vbulletin->templatecache['navbar']);
$vbulletin->templatecache['navbar'] = str_replace("\$vbphrase[todays_posts]</a>","\$vbphrase[todays_posts] (".$postcount['unread'].")</a>",$vbulletin->templatecache['navbar']);
$vbulletin->templatecache['navbar'] = str_replace("\$vbphrase[todays_posts]</a>","\$vbphrase[todays_posts] (".$postcount['unread'].")</a>",$vbulletin->templatecache['navbar']);
Step 3: Re-Import the XML (allow overwrite=Yes) - Yep you're done!

And don't forget to refresh your Browser