Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Cyb - Advanced 'New Posts' (AJAX) Details »»
Cyb - Advanced 'New Posts' (AJAX)
Version: 2.4, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 01-09-2009 Last Update: 01-16-2009 Installs: 425
Uses Plugins Auto-Templates
 
No support by the author.

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

File Type: zip Cyb - Advanced 'New Posts' v2.4.zip (5.5 KB, 2537 views)

Screenshots

File Type: png anp.png (25.4 KB, 0 views)
File Type: png acp.png (71.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 12-14-2009, 04:57 AM
PlayersBay PlayersBay is offline
 
Join Date: Oct 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed this mod but it doesn't show any new post when I log in as another user after making some posts...
Reply With Quote
  #193  
Old 12-14-2009, 02:53 PM
MrRem MrRem is offline
 
Join Date: Jun 2009
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make this show new posts in Social Groups?
Reply With Quote
  #194  
Old 12-21-2009, 03:28 AM
PlayersBay PlayersBay is offline
 
Join Date: Oct 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Arrangements View Post
For anyone looking to download the old working version:
Thanks, had to install this 3.7 version on my 3.8.4 board to get it working. Would love to see the 3.8.4 bugs get solved though as I like the extra settings it allows.
Reply With Quote
  #195  
Old 01-08-2010, 04:32 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybernetec View Post
You need to mark forums as read to have 0.

In next version I'll make it work with db-based thread/forum read marking. It currently works only with cookie-based marking type.
Installed, but now I'm beginning to wonder if I'll have a logic conflict for members.

We run with our setting as:

Database (automatic forum marking) - this option is the same as a previous option, but forums are automatically marked as read when the last new thread is read.

Will this mod be compatible with our settings?

Thanks ..

Regards,
Badger
Reply With Quote
  #196  
Old 01-08-2010, 04:50 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Different questions ...

I notice when a user selects SSM as an option and turns it ON, there's an additional "New Posts In" drop down box that appears on the Navbar. It works great, except if someone selects any forum where there's no new posts, it uses the search page to look for any, as below...

http://www.xxx.com/search.php

The problem is that when it doesn't find any new posts, it gives the standard vBulletin message:

"Sorry, there are no new threads to view.
You may search for threads updated during the previous 24 hours, here."


Unfortunately, that page changes the Navbar and the user no longer sees the"New Posts In"drop down box on it, however the "New Posts (1)" button from this mod is still there?

Where do we get this mod to add to the Navbar "New Posts In" drop down box so that it appears when the search turns up nothing, of course only optionally if this component of the mod is active (or the entire mode itself)?


Second ...

I notice that forums that are hidden (ie: moderator forum) appears in the "New Posts In" drop down list, if it's forum number is added to the SSM field. Having said that, if a user clicks on it, the "permissions" function prevents the user from seeing the contents, but why does it appear in the first place? Shouldn't hidden forums be "hidden" if a member has no Usergroup permissions to see them?

Thanks ..

Regards,
Badger
Reply With Quote
  #197  
Old 01-09-2010, 04:51 PM
darkitalia darkitalia is offline
 
Join Date: Nov 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got some problem with this new version...
count for new post remains 0 ever.
Reply With Quote
  #198  
Old 01-09-2010, 11:28 PM
pablete pablete is offline
 
Join Date: Feb 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope this hack upgrade to run on vb4. I love this hack and my users also!
Reply With Quote
  #199  
Old 01-19-2010, 01:21 PM
Gotmian's Avatar
Gotmian Gotmian is offline
 
Join Date: Jun 2005
Location: Athens
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After installing it, it tried and failed to find new posts at all

too bad as the plug in really looks good uninstalled.
Also if the forum is closed, the plug in creates a double page of what the "we are closed" html content has.
Reply With Quote
  #200  
Old 01-25-2010, 12:58 PM
Gato Gato is offline
 
Join Date: Dec 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IS NOT WORKING.
It´s always says that i have 0 new messages all the time.
And when i post a new one, still said "0 new messages.
I have Vbulletin 3.8.2

What happend with this hack Cyb??? I use a lot your hacks!! you are a great coder!! I will wait a new release and desinstall the 2.4. Thanks in advance for your work.
Reply With Quote
  #201  
Old 02-02-2010, 03:29 AM
YAHOME YAHOME is offline
 
Join Date: Aug 2009
Location: http://YAHO.ME
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi dear Valter :

Now i have a little problem ... this nice mod don't work at vBadvanced CMPS navbar !

i follow right instruction for install hacks at navbar in instruction like in this option at vBadvanced 3.2.1 CP say :

Code:
Portal Output Global Variables

and this is its description content

If you have other hacks installed (especially to hacks located within the vBulletin navbar), it may be necessary to globalize some of the variables used in those hacks for the CMPS. You may enter a list of variables to globalize here. It is NOT necessary to add the $ mark before the variable name. Separate each variable with a carriage return (new line).
and i put for your hack : cybpoststhreadscounter to enable this mod at my navbar and doesn't work too

only appear at the navbar : New Posts: Checking... without any counters numbers or any link

also i chose and enable SSM ... its work perfectly at the forum and don't work at vBadvanced

please help me i need it work so much at my vBadvanced CMPS pages

and thanks for your help
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 09:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04881 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete