![]() |
NJAquaman - New Post Count!
1 Attachment(s)
What: A Global Var for all New post counts.
A global variable to call all new post to use for navbar ect ect along with the ability to clear and search the forum (links). WORKS WITH ..!!! 3.6.x 3.7.x 3.8.x Install: 1) import the product .xml 2) Place the Code:
$pcount 2.1) This is the code to show the pcount with search and to clear the count. Place it in the navbar or anywhere. Code:
<a href="/forum/search.php?$session[sessionurl]do=getnew" accesskey="2">New Posts <if condition="$pcount">($pcount)</if></a> Attachment 101562 New posts is click able showing you the threads that the post it is in Clear post get rid of the pcount number if you already read the posts DONT FORGET TO CLICK INSTALL __________________________________________________ ______________ Change Log v1.1 - 08/23/09 - corrected some minor tweaks __________________________________________________ ______________ |
Wow, this mod is hawt!
Installed! Thanks alot! |
<div align="left">Thank you very special</div>
|
Please port over to vb 4.
|
Quote:
:up: Thanks! |
Yes, I know this is an old thread...
I want to exclude four forums from showing in the search results, What edit would be needed to achieve that goal? Plugin code: Code:
if ($vbulletin->userinfo['userid']) |
Quote:
PHP Code:
|
Thank you Dave, I applied your edit without success.
The post count number vanishes and all new post are shown. Thanks again for replying. |
Hmm I ran the query on my server and it worked, I did notice I forgot a double quote at the end of the query which would break the script.
PHP Code:
|
odd, it just does not seem to work right.
As soon as I add you edit the thread count number disappears and all post are show without excluding forum post. Oh well, thank you for helping out, I appreciate the effort. I will just edit navbar new post link to exclude forum specific post from showing in search. |
All times are GMT. The time now is 01:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|