Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Display Unread Posts and New Reputation Comments Details »»
Display Unread Posts and New Reputation Comments
Version: 3.7.007, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 01-19-2008 Last Update: 06-16-2008 Installs: 545
Translations  
No support by the author.

This modification is no longer available or supported.

Note: The unread posts portion of this hack only works if you use the database thread marking system, also, this attaches itself to certain phrases in the "welcome" box and will not work if they are not present (or are modified by other code).

FYI, the Forum Marking Choices are located in vBulletin Options ;
vBulletin Options > General Settings > Thread/Forum Read Marking Type


This displays the actual number of posts that are still considered unread by you (and will show up in a 'getnew' search). It also displays the number of new reputation comments since you last checked your usercp.

There is the option to count the unread posts since your last visit, or all posts considered unread. This setting reflects the divider in the 'getnew' search display. There is also the option to disable the unread posts display or the new reputation comments display.

There is also the option to display the New Reputation Comments counter as a Welcome Box Notification.

All settings are located in vBulletin Options > Display Unread Posts and Reputation.

Version 3.7.004 adds the following ;

A forum exclusion list - requested a number of times, an option is provided to exclude forums from the unread count & display.

A time limit on unread posts count - if a member has not visited for more than x days then a simple unread posts link will be displayed, not an actual count, this stops potential large sql queries if you have a busy forum. The option can be disabled.



To install this hack unzip the xml file and import it using the ACP Product Manager.


History:

v3.7.001 : First Release for vb 3.7.
v3.7.002 : Added Notification Display Option for Reputation Comments.
v3.7.003 : Internal version, not released.
v3.7.004 : Added time limit and forum exclusion list.
v3.7.005 : Fixed path bug in welcome box notification.
v3.7.006 : Slight change to accomodate customised navbars still using vb 3.6 code.
v3.7.007 : Fix potential database error if lastrepcheck is blank, rare, but it can happen it seems.

Show Your Support

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

Comments
  #252  
Old 09-04-2008, 12:52 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I have already told you once, that has nothing to do with this modification - that is how unread posts are displayed in vbulletin (using database marking) - nothing has changed in the mod.
Reply With Quote
  #253  
Old 09-04-2008, 01:58 PM
forumguy forumguy is offline
 
Join Date: Aug 2004
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok do you know what setting I would need to make to enable that?

Because it was working when I was using the previous version of your hack with the latest vbulletin release.
Reply With Quote
  #254  
Old 09-04-2008, 02:49 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Enable what exactly ?

Database marking has worked like that since vb 3.5, there is nothing different about it in 3.7, nor has this mod changed between 3.5/3.6 and 3.7.
Reply With Quote
  #255  
Old 09-04-2008, 04:01 PM
forumguy forumguy is offline
 
Join Date: Aug 2004
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. What I am asking is how to go back to the way it was before I upgraded the hack.

For example, when you click an unread post, it dissappears after from the unread posts section.

Before it use to just unbold and still show the unread post there.

So it would ideaully show READ/UNREAD threads here:

http://www.*******.com/search.php?do=getnew

Is it a specific marking system I have to select or some other setting it get it show both read and unread now?
Reply With Quote
  #256  
Old 09-07-2008, 07:54 AM
theparentpack theparentpack is offline
 
Join Date: Dec 2007
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it, thanks so much. Awesome hack btw!

Quote:
Originally Posted by Brad Jones View Post
What do you have for the following?:

vBulletin Options -> Display Unread Posts and Reputation -> Display Unread Posts Option

It should be set to "Count All Posts Marked as Unread".
Reply With Quote
  #257  
Old 09-09-2008, 06:34 PM
theparentpack theparentpack is offline
 
Join Date: Dec 2007
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this mod, and the Ultimate Navbar installed on my forum. While the Ultimate Navbar is installed I no longer have the Unread Posts link. Any ideas on how to fix this?
Reply With Quote
  #258  
Old 09-10-2008, 03:54 AM
marlena marlena is offline
 
Join Date: Jun 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi! When I click on either UserCP or the link displaying how many new Rep Comments I have I get this error:

Quote:
Database error in vBulletin 3.7.3:

Invalid SQL:

UPDATE st_user
SET lastrepcheck = 1221020194
WHERE userid = 3;

MySQL Error : Unknown column 'lastrepcheck' in 'field list'
Error Number : 1054
Request Date : Wednesday, September 10th 2008 @ 04:16:34 AM
Error Date : Wednesday, September 10th 2008 @ 04:16:34 AM
Script : http://soultry.net/home/usercp.php
Referrer :
IP Address : 24.8.119.149
Username : MarlenaMami
Classname : vb_database
MySQL Version : 4.1.22
Any ideas on how to fix this?
Reply With Quote
  #259  
Old 09-10-2008, 08:58 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstall it and then re-install it - for some reason the column creation failed.
Reply With Quote
  #260  
Old 09-13-2008, 01:46 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont understand what $ I am supposed to use to get the unread posts to show where I want them to. Can anyone advise me on this please. Thank you
________
Vaporite solo deluxe vaporizer review
Reply With Quote
  #261  
Old 09-28-2008, 07:09 PM
user02934123123 user02934123123 is offline
 
Join Date: Apr 2006
Location: UK
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear Paul,

I posted this back on page 4, but don't think it got an answer (apologies if I missed it somewhere in all the pages of posts!). As I'm doing some template config at the moment, it's again relevant. I'd be grateful for your help:

Is there any way to display the New Posts reading separately from the Welcome block? I very much like it there; but I'd also like to add it to various locations on custom forum pages -- e.g. we have a 'welcome page' that displays a quotation, and where I used the old Show New Posts hack to paste in the HTML code so that the reading would show.

How can I display this hack's readout elsewhere via HTML in templates?
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 01:20 PM.


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.15439 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete