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.8.004, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 11-27-2008 Last Update: 03-08-2017 Installs: 542
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

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).

Show Your Support

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

Comments
  #142  
Old 07-19-2009, 06:33 PM
Chy Chy is offline
 
Join Date: Jan 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks installed.
Reply With Quote
  #143  
Old 07-20-2009, 04:27 PM
Chy Chy is offline
 
Join Date: Jan 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea how to get the link to work with Vba CMPS, the link goes to "link not found" on my homepage. It's fine in the forums area though.
Reply With Quote
  #144  
Old 07-21-2009, 12:36 AM
wrang wrang is offline
 
Join Date: Oct 2004
Location: Sweden
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found a error?
When i click on the link this came up in the adressbar
/forumet/\"search.php?do=getnew\"

and the side
Quote:
Not Found
The requested URL /forumet/\"search.php was not found on this server.
What do i have done wrong

Edit I found it my mistake at the dup_posts texts
Reply With Quote
  #145  
Old 07-23-2009, 09:30 AM
greenspan greenspan is offline
 
Join Date: Feb 2009
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chy View Post
Any idea how to get the link to work with Vba CMPS, the link goes to "link not found" on my homepage. It's fine in the forums area though.
As Paul mentioned above, you can "use the links path setting in the mods options."

Go to: vBulletin Options>Display Unread Posts and Reputation. In Links Prefix Path, put something like: "http://www.yousite.com/forums/" since search.php is in there.
Reply With Quote
  #146  
Old 07-25-2009, 04:10 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

Quote:
Originally Posted by greenspan View Post
As Paul mentioned above, you can "use the links path setting in the mods options."

Go to: vBulletin Options>Display Unread Posts and Reputation. In Links Prefix Path, put something like: "http://www.yousite.com/forums/" since search.php is in there.
You should only need the /forums/ part.
Reply With Quote
  #147  
Old 08-03-2009, 11:39 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for releasing a useful mod, Paul.

I'm curious if there's a way the script can look for "<!-- unread posts -->" instead of (where highlighted in red):

Code:
  $vbphrase['welcome_x_link_y'] .= '</strong><br />'.$unread.'<strong>'; // 3.7 Onwards Phrase


When I replace the red with "<!-- unread posts -->" it gave me a parse error. As a resolve I either removed $unread (in blue) or removed the red (shown below):

Code:
  '</strong><br />'.$unread.'<strong>'; // 3.7 Onwards Phrase
  "<!-- PEMDATA38: {$data_dup['title']} : Version = {$data_dup['version']} : Revision = {$data_dup['cvs']} -->";

The mod seems to work when either edit was applied. Is that ok or is there a more efficient way of doing it?
Reply With Quote
  #148  
Old 08-04-2009, 01:13 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

Sorry, Im not following what your trying to do (or why ?).

FYI, It doesnt look for anything, it appends itself to the relevant phrase.
Reply With Quote
  #149  
Old 08-04-2009, 07:46 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
FYI, It doesnt look for anything, it appends itself to the relevant phrase.
In your previous version there was a section in vB Options to specify the area which Unread Post codes would attach to using ATCS (Automatic Template Changes System). I wanted to do that with this version since my navbar is modified.

I've successfully moved $unread so the mod will display where I want it to (and not after last visited phrase) by commenting out those lines of codes. I was just wondering if by commenting out those lines of codes (below) would harm vB or the codes in any way:

Code:
  // $vbphrase['welcome_x'] .= '</strong><br />'.$unread.'<strong>'; // 3.6 Phrase
  // $vbphrase['welcome_x_link_y'] .= '</strong><br />'.$unread.'<strong>'; // 3.7 Onwards Phrase
  // $vbphrase['last_visited_x_at_y'] .= "<!-- PEMDATA38: {$data_dup['title']} : Version = {$data_dup['version']} : Revision = {$data_dup['cvs']} -->";

Reply With Quote
  #150  
Old 08-04-2009, 08:45 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod, Paul...thanks!
Reply With Quote
  #151  
Old 08-04-2009, 09:32 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

Quote:
Originally Posted by Freesteyelz View Post
In your previous version there was a section in vB Options to specify the area which Unread Post codes would attach to using ATCS (Automatic Template Changes System). I wanted to do that with this version since my navbar is modified.
That was only in a couple of the 3.6 versions in mid 2007, for the last two years (since v1.22) it has used the phrase system.

Quote:
Originally Posted by Freesteyelz View Post
I've successfully moved $unread so the mod will display where I want it to (and not after last visited phrase) by commenting out those lines of codes. I was just wondering if by commenting out those lines of codes (below) would harm vB or the codes in any way:
Nope, commenting them out will not affect anything else.
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 03:25 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.06076 seconds
  • Memory Usage 2,320KB
  • 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
  • (3)bbcode_code
  • (6)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
  • (2)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