Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 01-16-2010 Last Update: 05-20-2012 Installs: 580
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 your 'last visit'. New posts are checked via AJAX, manually or in defined time interval. Optionally you can enable and configure Smart Search Menu to give users ability to search individual forum sections. View screenshots...

Installation:
Import product XML: AdminCP > Plugin System > Manage Products > [Add/Import Product]

To set options:
Go to: AdminCP > vBulletin Options > VSa - Advanced 'New Posts'

Versions:
v1.0 - Apr 29. 2006.
-First version
v2.4 - Jan 18. 2009.
-Latest 3.x version
v3.0 - Jan 17. 2010.
-Updated for vBulletin 4.x
-Mod prefix (Cyb) changed to 'VSa'
v3.0.1 - Jan 17. 2010.
-Fixed bug where individual forum search does not work properly
-Fixed bug where product is not stopped when forums are turned off
v3.0.2 - Apr 11. 2010.
-Fixed: WOL confusion
-New: Compatible with DB thread/forum read marking types
-New: Navbar items merged
-Fixed: Permissions bug
-Fixed: Minor bugs
v3.0.3 - May 21. 2012.
-Compatible with vBulletin 4.2.x

Download Now

File Type: zip VSa - Advanced 'New Posts' v3.0.3.zip (4.2 KB, 897 views)

Screenshots

File Type: jpg acp.jpg (209.9 KB, 0 views)
File Type: png newposts.png (15.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
Bubble #5, eTiKeT?, Honk0815, mokujin, NoMatt3r

Comments
  #142  
Old 05-27-2012, 09:19 AM
Honk0815 Honk0815 is offline
 
Join Date: Feb 2007
Location: Germany
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I use the addon with vbcms?
I have only in Forum Advanced 'New Posts' (AJAX) and i need this in cms too
Reply With Quote
  #143  
Old 05-27-2012, 12:24 PM
jdeveaux jdeveaux is offline
 
Join Date: Jul 2011
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Valter View Post
At the end of list of excluded forums you have extra comma which produces error:
...27,26,117,).

It should not be there. Try rebuilding Forum Information.
I've tried rebuilding the forums, threads, flushing the cache, even tried to figure out where it is picking up the list in the Database.

:erm:
Reply With Quote
  #144  
Old 06-11-2012, 10:13 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you exclude certain forums?
Reply With Quote
  #145  
Old 06-12-2012, 09:28 AM
dlewisr dlewisr is offline
 
Join Date: Mar 2011
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one. Works with 4.2.0. Does exactly what it says on the tin.

Cheers
Reply With Quote
  #146  
Old 06-18-2012, 06:36 PM
jdeveaux jdeveaux is offline
 
Join Date: Jul 2011
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jdeveaux View Post
I've tried rebuilding the forums, threads, flushing the cache, even tried to figure out where it is picking up the list in the Database.

:erm:
By chance I've discovered that this issue is caused by installing a combination of VSA Hacks... now the new question is which one

I'm going through and testing one by one but thus far I haven't found the smoking gun. Installed by itself it works great.
Reply With Quote
  #147  
Old 11-05-2012, 01:43 PM
root2012 root2012 is offline
 
Join Date: Oct 2012
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem after install

Code:
Datenbankfehler in vBulletin 4.1.0:

Invalid SQL:

					SELECT COUNT(*) AS posts, post.threadid
					FROM post as post /*FORCE INDEX (dateline)*/
					INNER JOIN thread as thread USING (threadid)
					INNER JOIN forum AS forum USING (forumid)
					LEFT JOIN threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 67)
					LEFT JOIN forumread AS forumread ON (forumread.forumid = forum.forumid AND forumread.userid = 67)
					WHERE thread.visible IN (1)
					AND thread.forumid NOT IN(106,107,108,109,110,99,100,)
					AND post.dateline > IF(threadread.readtime IS NULL, 1352086208, threadread.readtime)
					AND thread.lastpost > IF(threadread.readtime IS NULL, 1352086208, threadread.readtime)
					AND post.dateline > IF(forumread.readtime IS NULL, 1352086208, forumread.readtime)
					AND thread.lastpost > IF(forumread.readtime IS NULL, 1352086208, forumread.readtime)
					AND post.dateline > 1352086208 AND thread.lastpost > 1352086208
					GROUP BY post.threadid;

MySQL-Fehler  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
					AND post.dateline > IF(threadread.readtime IS NULL, 1352086208, threadre' at line 8
Fehler-Nr.    : 1064
Fehler-Zeit   : Monday, November 5th 2012 @ 03:27:08 PM
Datum         : Monday, November 5th 2012 @ 03:27:09 PM
Skript        : http://new/vb4/misc.php?show=vsaanp_newposts
Referrer      : http://new/vb4/forum.php
Reply With Quote
  #148  
Old 12-19-2012, 01:42 PM
emperatour emperatour is offline
 
Join Date: Sep 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear Valter,
Above the search results, the name of my private subforums will be shown to people who has no permission. This list is returned from {vb:raw criteriaDisplay}.

Please provide a fix for this issue.

HTML Code:
<div id="pagetitle">
		<h1>
			<vb:if condition="$search_back_url">
				<a href="{vb:raw search_back_url}"><strong>{vb:rawphrase search}:</strong></a>
			<vb:else />
				<strong>{vb:rawphrase search}:</strong>
			</vb:if>
		</h1>
		<p class="description">
			{vb:raw criteriaDisplay}		
		</p>
	</div>
I appreciate your work.
Reply With Quote
  #149  
Old 02-08-2013, 05:36 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, under New Posts in your screenshot, what does 3 | 2 mean?
Reply With Quote
  #150  
Old 03-16-2013, 09:26 AM
Dwarden Dwarden is offline
 
Join Date: Nov 2011
Location: Czech Republic, EU
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Valter View Post
v3.0.3 - May 21. 2012.
-Compatible with vBulletin 4.2.x

To upgrade:
-Import XML, allow overwrite
-Revert product templates if modified
well I tried update from 3.0.2 to 3.0.3 and the post counter is gone on 4.2.x forum
reverting to 3.0.2 fixes it

Quote:
Originally Posted by emperatour View Post
Dear Valter,
Above the search results, the name of my private subforums will be shown to people who has no permission. This list is returned from {vb:raw criteriaDisplay}.

Please provide a fix for this issue.

HTML Code:
<div id="pagetitle">
		<h1>
			<vb:if condition="$search_back_url">
				<a href="{vb:raw search_back_url}"><strong>{vb:rawphrase search}:</strong></a>
			<vb:else />
				<strong>{vb:rawphrase search}:</strong>
			</vb:if>
		</h1>
		<p class="description">
			{vb:raw criteriaDisplay}		
		</p>
	</div>
I appreciate your work.
where this goes to please ?
Reply With Quote
  #151  
Old 08-30-2013, 02:57 PM
NoMatt3r NoMatt3r is offline
 
Join Date: Dec 2012
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 4.2.1 and working great!

But it still shows 4 | 6 altough i've already read the new posts/threads. And the SSM shows forums although the usergroup doesn't have permissions.
Reply With Quote
Reply


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 10:50 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
  • Page Generation 0.04802 seconds
  • Memory Usage 2,351KB
  • 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_html
  • (4)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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