The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cyb - Advanced 'New Posts' (AJAX) Details »» | |||||||||||||||||||||||||||||||
Info:
This hack will show how many new posts/threads have been posted in forums since 'last visit' time. "New Posts" in navbar menu will be replaced with "New Posts: x (In y Threads)" which is updated via AJAX - no page refresh. User can manually check for new posts, or you can enable auto-check which is executed in defined time interval. Optionally you can enable and configure Smart Search Menu to give users ability to search only selected forum sections. See screenshots... Installation: Import product XML: AdminCP > Plugin System > Manage Products > [Add/Import Product] To set options: Go to: AdminCP > vBulletin Options > Cyb - Advanced 'New Posts' Versions: v1.0 - Apr 29. 2006. -First version v1.5 - Jun 25. 2006. -Added - advanced searching of new posts (see screenshots) -Fixed known bugs, code optimized v1.6 - Jun 26. 2006. -Advanced searching of new posts splitted into two navbar items v1.7 - Jun 28. 2006. -Depending on number of new posts different phrase is used -Added links to phrases to hack options page so you can easily find and change/translate them. v1.8 - Aug 04. 2006. -Release of this hack for vB v3.6 v1.9 - Sep 28. 2006. -Added Product Version Checking -Fixed links to phrases in ACP (used to easily customize phrases) -Added option to change text color -Fixed bug (unneeded extra space after "SSM" in navbar menu) -Product name changed to "Cyb - Advanced 'New Posts'" NOTE: Before upgrading save somewhere content of "Menu Items" field to restore it after upgrade. It will be removed during upgrade process. v2.0 - Jul 31. 2007. -Added "No New Posts" to show when there is no new posts after user last visit -Smart Search Menu (SSM) improved (no more need to write lines of code, just put forum IDs in setting field) -SSM automatically hidden when there is no new posts -A lot of improvements and optimization done, including: *two templates removed *improved integration with different styles (to avoid manual template edits) v2.1 - May 03. 2008. -Compatible with vBulletin 3.7 -Minor bugs fixed v2.2 - Jan 14. 2009. -New: New post check is now done via AJAX - no page refresh ;-) -New: Auto-check for new posts every x seconds -Ability to set order of items in Smart Search Menu -Minor bugs fixed v2.3 - Jan 15. 2009. -New: Set how often user can manually check for new posts -New: Option to colorize text only when there are new posts -New: Option to disable product in selected styles -Fixed some minor bugs v2.4 - Jan 18. 2009. -Added permissions check to fix problems where sometimes incorrect numbers are shown -Fixed bug where unexpected content is shown on user session expiration Mark as installed to get support and updates. Download Now
Screenshots
Show Your Support
|
Comments |
#222
|
||||
|
||||
For some reason it stopped working for me at all. I did work on the same version and server before, but not anymore. Is it possible something is blocking it?
|
#223
|
||||
|
||||
tried to click your for your good advice but it denied me the option, so thanks for solving my issue!
|
#224
|
||||
|
||||
thanks for add
|
#225
|
||||
|
||||
Got this running fine on vb 3.8.5 with a custom style.
I added this line to my Navbar template in order to get it to show up as it wasn't showing up automatically: PHP Code:
PHP Code:
|
#226
|
|||
|
|||
if u have a database with a prefix, the query isn't working
current version : SELECT COUNT(*) AS posts, post.threadid, thread.forumid FROM " . TABLE_PREFIX . "post LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid = post.threadid) WHERE post.visible = '1' $cybanp_exclforums AND post.dateline >= " . $db->escape_string($vbulletin->userinfo['lastvisit']) . " GROUP BY post.threadid correct version : SELECT COUNT(*) AS posts, post.threadid, thread.forumid FROM " . TABLE_PREFIX . "post as post LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid = post.threadid) WHERE post.visible = '1' $cybanp_exclforums AND post.dateline >= " . $db->escape_string($vbulletin->userinfo['lastvisit']) . " GROUP BY post.threadid otherwise the result will always be 0 thanks for correcting this ! |
#227
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|