Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Cyb - Advanced 'New Posts' (AJAX) Details »
Cyb - Advanced 'New Posts' (AJAX)
Mod Version: 2.4, by Valter (Coder) Valter is offline
Developer Last Online: May 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (22 votes - 4.50 average) Installs: 422
Released: 10 Jan 2009 Last Update: 17 Jan 2009 Downloads: 2548
Not Supported Uses Plugins Auto-Template  

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

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	anp.png
Views:	9168
Size:	25.4 KB
ID:	92588   Click image for larger version

Name:	acp.png
Views:	2219
Size:	71.4 KB
ID:	92764  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Statistics Modifications AJAX - Advanced Forum Statistics ry215 vBulletin 3.7 Add-ons 190 07 Jul 2011 21:31
Forum Home Enhancements [AJAX] SmnLikQuick v2.0 - Advanced Announcements Block Bree vBulletin 3.7 Add-ons 475 05 May 2011 20:51
Statistics Modifications [AJAX]ChangUonDyU - Advanced Statistics spitb19 Modification Graveyard 22 29 Jan 2009 07:35

  #16  
Old 13 Jan 2009, 01:07
subnet_rx subnet_rx is offline
 
Join Date: Mar 2005
Why is there so much space on both sides of the new posts link? Can that be fixed?
Reply With Quote
  #17  
Old 13 Jan 2009, 01:14
thunderclap82 thunderclap82 is offline
 
Join Date: Dec 2008
Originally Posted by Blue91 View Post
thunderclap82.... as it turns out, by adding forums/ in front of the search.php callout like you said, my newposts link on the actual forums doesn't work now.
Really? It works for me. Did you include the slash before forums? (i.e. /forums/) You don't have it listed that way above. If not that could be causing the problem.
Reply With Quote
  #18  
Old 13 Jan 2009, 01:24
Infopro Infopro is offline
 
Join Date: May 2003
Wink

Originally Posted by Blue91 View Post
I wouldn't know where to add it. It looks like I got the search issue taken care of though (thanks infopro).

Now the issue is like thunderclap82 mentioned above... the "numbering" feature doesn't work with the main page. It just says "No New Posts". However, it works fine with the forums index, showing how many new posts there really are.

*shrug*
There are 4 places to add what I posted. Search that template for href to find them.
Reply With Quote
  #19  
Old 13 Jan 2009, 02:38
thunderclap82 thunderclap82 is offline
 
Join Date: Dec 2008
Originally Posted by Infopro View Post
I also had to change this:
<div class="vbmenu_popup" id="cyb_forumsearch_menu" style="display:none">

To this:
<div class="vbmenu_popup" id="cyb_forumsearch_menu" style="display:none;margin-top:3px" align="$stylevar[left]">

Still trying to locate the space in toolbar just before the "New Posts" text.
I tried adding this but in vBadvanced it still says "No New Messages".
Reply With Quote
  #20  
Old 13 Jan 2009, 06:02
Dax IX Dax IX is offline
 
Join Date: Jul 2005
Real name: Emily
Originally Posted by thunderclap82 View Post
I tried adding this but in vBadvanced it still says "No New Messages".
You need to add template variables into your vBA configuration under Portal Output Global Variables.

I have:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Good luck.


I have a question, tho...how would I only show the forums that have new posts in them in the SSM list? Also, how would you only show the forums that a user has permission to view at the same time?

Thanks!
Reply With Quote
  #21  
Old 13 Jan 2009, 13:43
thunderclap82 thunderclap82 is offline
 
Join Date: Dec 2008
Originally Posted by Chani View Post
You need to add template variables into your vBA configuration under Portal Output Global Variables.
That did it. Thanks!
Reply With Quote
  #22  
Old 13 Jan 2009, 15:16
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Yep yep, that worked. Thanks Chani. I too would like to show just the forums that have new posts in the SSM list. Until a way is figured out, I just turned that option off.

Infopro, I added the variable you gave yesterday and it worked. My reply was to the guy who posted above you.
Reply With Quote
  #23  
Old 14 Jan 2009, 00:29
Valter Valter is offline
 
Join Date: Aug 2005
New Version!

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

To upgrade:
-Import XML, allow overwrite
-Check settings, update if needed
-Translate new phrases if needed
Reply With Quote
  #24  
Old 14 Jan 2009, 00:34
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Installed it... overwrote the existing... the link disappeared from the navbar. Removed and reinstalled 2.1, everything back to normal.

Last edited by Blue91; 14 Jan 2009 at 00:42.
Reply With Quote
  #25  
Old 14 Jan 2009, 00:44
Trek Trek is offline
 
Join Date: Sep 2003
Installed, works fine on the default theme and doesn't mess up my custom theme anymore, but still doesn't work on the custom theme. (I'm still willing to pay someone to make this work with my theme if anyone is interested)

Also, when using the default theme, it says there are 5 new posts in 3 threads. However, clicking the link to see the new threads, takes me to the "There are no new posts" page... Which is correct, there are no new posts for me to read.
Reply With Quote
  #26  
Old 14 Jan 2009, 02:43
thunderclap82 thunderclap82 is offline
 
Join Date: Dec 2008
Originally Posted by Blue91 View Post
Installed it... overwrote the existing... the link disappeared from the navbar. Removed and reinstalled 2.1, everything back to normal.
Same here. Unfortunately I don't have a backup of version 2.1 so I can't reinstall it.
Reply With Quote
  #27  
Old 14 Jan 2009, 09:17
lowey lowey is offline
 
Join Date: Feb 2007
Originally Posted by Trek View Post
Installed, works fine on the default theme and doesn't mess up my custom theme anymore, but still doesn't work on the custom theme. (I'm still willing to pay someone to make this work with my theme if anyone is interested)

Also, when using the default theme, it says there are 5 new posts in 3 threads. However, clicking the link to see the new threads, takes me to the "There are no new posts" page... Which is correct, there are no new posts for me to read.
Same here!
Reply With Quote
  #28  
Old 14 Jan 2009, 15:18
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Originally Posted by thunderclap82 View Post
Same here. Unfortunately I don't have a backup of version 2.1 so I can't reinstall it.
PM me your email address and I'll email it to you.
Reply With Quote
  #29  
Old 14 Jan 2009, 16:26
dvsDave's Avatar
dvsDave dvsDave is offline
 
Join Date: Nov 2005
Real name: David
Feature Request: Can forum permissions be integrated into this? I want my moderators to be able to see new posts in their private forum, but I don't want normal users to even know it exists.
__________________
About dvsDave
dvsDave is the webmaster of the technical theatre forum, ControlBooth.com, a site that is dedicated to teaching high-school and college level techies practical and useful skills for the stage and provides an online community that allows techies from all over the world to discuss the art and science of technical theater.
Reply With Quote
  #30  
Old 14 Jan 2009, 20:37
Pessimist's Avatar
Pessimist Pessimist is offline
 
Join Date: Aug 2006
Location: Europa
Feature Request: Extra option for Text Color.
Enable text coloring only when there are new messages: Yes/No
__________________
vBStyle.ru - XF-Russia.ru
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:22.

Layout Options | Width: Wide Color: