Version: 1.02, by Paul M
Developer Last Online: Nov 2023
Version: 3.5.x
Rating:
Released: 09-17-2005
Last Update: 05-14-2006
Installs: 234
No support by the author.
This modification is no longer available or supported.
* This hack only works if you use the new database thread marking system, if you don't, then you probably should be. *
With the new marking system I have found a simple count of the new posts since your last visit to be less informative and useful than it used to be - esp as the GetNew function now excludes threads you have read, but includes threads from before your last visit. Therefore I decided to try a new system that counts the actual number of posts that are still considered unread by you, and will show up in a GetNew search.
In fact this hack gives you two options (with a new setting in the vBulletin Options > General Settings). If set to yes, it will only count the unread posts since your last visit, if set to no it will count all posts considered unread. This setting reflects the divider in the GetNew display.
To install this hack simply download the xml file to your pc and then import it into vbulletin as a product - then alter the ACP setting to your preferred option (the default is 'no' (i.e. all unread posts).
Note: This hack injects the result direct into the navbar template during page construction, thus avoiding the need for a template edit. This requires that a certain text combination exists in your template. This will be fine for most boards that use a navbar based on the vB default, but you should bear this in mind if you have a totally custom navbar.
History:
v1.01 : First Release. v1.02 : Minor changes, no update necessary.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Paul - how can I change this so my RSS forums aren't included in the search for new posts for this plugin? I have the opt out extension installed for new posts and "get daily" searches, but it would be nice if I could opt them out of this one as well.
You would have to edit the code (or turn off the search permission for that forum).
I turned the search engine permission off for those forums through the forum manager but it hasn't affected the new post count in the welcome panel.
Can you offer some guidance on how I would edit the code to exclude those forums? I'm guessing it's a conditional statement with the forum ids but I don't know how to construct it or where to place it.
I turned the search engine permission off for those forums through the forum manager but it hasn't affected the new post count in the welcome panel.
Did you actually go into forum permissions screens, it's not the search indexing option in the normal forum edit screen.
Quote:
Originally Posted by weaver
Can you offer some guidance on how I would edit the code to exclude those forums? I'm guessing it's a conditional statement with the forum ids but I don't know how to construct it or where to place it.
Did you actually go into forum permissions screens, it's not the search indexing option in the normal forum edit screen.
Yes, the opt out option is working fine but just not with the number of posts showing up in the welcome panel.
Quote:
Originally Posted by Paul M
When I have the time, I'm rather busy atm.
Okay.
I did try to add an exclude line with the forum numbers after each of the search commands in your plugin, but that didn't change the number of posts being counted.