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

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

Category: Miscellaneous Hacks - Version: 4.2.x Rating:
Released: 12-23-2009 Last Update: 03-08-2017 Installs: 674
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

As of 23 Nov 2017 this modification has been withdrawn.

This displays the actual number of posts that are still considered unread by you (and will show up in a 'getnew' search).

There is also an option to put back the members last visit date, which was removed in vb4. There is the choice to count the unread posts since your last visit, or all posts considered unread. This setting reflects where the divider in the 'getnew' search display used to be (apparently its no longer displayed).

There is also the option to disable the unread posts display or the new reputation comments display. New Reputation Comments are shown in the Notifications section.

This modifications settings are located in vBulletin Options > Display Unread Posts[/COLOR].

The unread posts functionality requires that database thread marking is active.
Please be aware that installing this will enable that system (with automatic forum marking).
Forum marking choices are located in vBulletin Options > General Settings > Thread/Forum Read Marking Type

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


History:

v4.0.1 : 24-Dec-2009 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 27-Dec-2009 : Phrase updates.
v4.0.3 : 27-Dec-2009 : Phrase and Install updates only.
v4.0.4 : 17-Feb-2010 : Updated release for vB 4.0.2 onwards (only).
v4.0.5 : 18-Feb-2010: Installer & code updates.
v4.0.6 : 12-Apr-2010: Minor alignment change.
v4.0.7 : 29-May-2010 : Fix error in upgrade section of install code.
v4.0.8 : 06-Nov-2010 : Install code updated.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.

v4.2.0.0 : 24-May-2012 : Updated for vBulletin 4.2.0.
v4.2.5.0 : 09-Mar-2017 : Updated version for vBulletin 4.2.5 (only).


Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
badheeu, BlueCheri, crazyboy1661, evelynpriscilla, mapleleaffans, Marcin147

Comments
  #182  
Old 03-26-2010, 06:03 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

I would guess this is the relevant bit for you ;

Quote:
You must also make sure the template hook (header_userinfo) is present.
You new style is probably missing it.
Reply With Quote
  #183  
Old 03-26-2010, 07:03 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
I would guess this is the relevant bit for you ;



You new style is probably missing it.
Ah I see!

So, I apologize if this sounds stupid, but how do I add the template hook?
Reply With Quote
  #184  
Old 03-26-2010, 09:33 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

Its a line of code in the template that looks like this ;

{vb:raw template_hook.header_userinfo}

You need to compare the default header with your custom style header to find where to insert it.
Reply With Quote
  #185  
Old 03-26-2010, 11:02 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Its a line of code in the template that looks like this ;

{vb:raw template_hook.header_userinfo}

You need to compare the default header with your custom style header to find where to insert it.
Managed to do it, thanks.

The full code would have been much more helpful
Reply With Quote
  #186  
Old 03-27-2010, 09:28 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

How could I know the code in your style ?
Reply With Quote
  #187  
Old 03-27-2010, 10:02 AM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
How could I know the code in your style ?
I guess you couldn't?

Regardless, thanks Oh, and how do you add a space in the template? The style added a search box directly underneath where your mod shows and everything works perfect except for guests who have overlap with the search box and remember me box.
Reply With Quote
  #188  
Old 03-27-2010, 12:30 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

Not exactly sure what you mean as guests dont have unread posts, but everything is build from phrases, so edit them as you need.
Reply With Quote
  #189  
Old 04-05-2010, 01:56 PM
robbiefritz robbiefritz is offline
 
Join Date: Oct 2008
Location: Eastern US
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please see image below. If I only have an unread post, everything shows fine. When I get an unread reputation as well as a post I get this garbled mess. Any ideas? Thanks.



If it is only 1 unread post, it seems ok. See image.

Reply With Quote
  #190  
Old 04-05-2010, 09:42 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

You have old customised phrases in there somewhere, you need to remove them.
Reply With Quote
  #191  
Old 04-07-2010, 10:16 PM
youngaussie youngaussie is offline
 
Join Date: Mar 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx heaps
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 07:02 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.04885 seconds
  • Memory Usage 2,316KB
  • 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
  • (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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (6)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete