vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Display Unread Posts and New Reputation Comments (https://vborg.vbsupport.ru/showthread.php?t=197485)

Paul M 11-27-2008 10:00 PM

Display Unread Posts and New Reputation Comments
 
As of 24 Nov 2017 this modification has been withdrawn.

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

The Read Marking options were removed from vB 3.8.11, it defaults to database marking.


** For vBulletin 3.8.11 you will need to use the Unread-posts-3811.zip **

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.8.001 adds support for forums excluded if you have the "Get New/Get Daily Opt Out Modification" installed (by Andreas).
Version 3.8.004 adds support for forums excluded if you have the "Selective Forum Filter Modification" installed (by Psionic Vision).

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


History:

v3.8.001 : Initial vb 3.8 Release.
v3.8.002 : Fix forum exclusion bugs.
v3.8.003 : Fix spelling and phrase bug.
v3.8.004 : Added support for Psionic Visions Selective Forum Filter.
v3.8.005 : Updated version for vBulletin 3.8.11 (only).


jammiedodger546 11-28-2008 08:55 PM

Thanks for the update :)

SuperDave71 11-29-2008 09:59 AM

THANK YOU Paul!! I was waiting for this one!

-Dave

Problemsolver 12-23-2008 06:10 PM

Does this show total unread post or unread posts since your last visit?

Paul M 12-24-2008 08:03 AM

Either.

Quote:

There is the option to count the unread posts since your last visit, or all posts considered unread.

ScienceOfMuscle 01-04-2009 03:37 AM

Thanks for the update Paul... quick question though. I suspect the "Unread Posts" link uses a relative link, and not a fully qualified link. And on my vbAdvanced page it links to http://scienceofmuscle.com/search.php?do=getnew and not http://scienceofmuscle.com/forum/search.php?do=getnew

Is there a place I can change this?

Paul M 01-04-2009 03:35 PM

Update the appropriate setting in the mods options.

Deimos 01-15-2009 02:25 PM

Quick question for ya Paul
I have this set to display on every page (in the navbar area)
Is this a bad idea? I was wondering what impact this would have on server performance if it's displayed one every page. (I assume it runs a query for EVERY page visited?)

Paul M 01-15-2009 04:45 PM

Are you sure you have posted in the correct thread ? - this mod runs on every page by default, there is no option to prevent it (as it wouldnt make sense).

Deimos 01-15-2009 05:19 PM

Oh! My bad
I was under the impression it only showed on the main page, heh

Sorry about that :P


All times are GMT. The time now is 10:48 PM.

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.01267 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete