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
  #392  
Old 07-19-2013, 10:39 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

Paul, any idea why it always says You last visited: 4 Weeks Ago at (what ever time, this time at 04:00 AM)?

But no matter what Paul it always says 4 weeks ago unless I click on "Mark forums read" , the times are correct just not the "4 weeks ago" which when I hit "mark forums read" it will say 30 minutes ago , or 3 hours ....
Reply With Quote
  #393  
Old 07-20-2013, 11:40 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

Nope, that really makes no sense at all.
Marking the forums read should change it to the current time.
Perhaps you have something installed that is inteferring with it.
Reply With Quote
  #394  
Old 08-11-2013, 07:54 PM
mattcaswell mattcaswell is offline
 
Join Date: Aug 2006
Location: Mesa, AZ
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul.. thanks for keeping the mods updated. This one was the first one my users said "HEY WHERE DID THE STUFF IN NOTIFICATIONS GO?"... you rock!
Reply With Quote
  #395  
Old 09-25-2013, 12:12 PM
Caddyman Caddyman is offline
 
Join Date: Mar 2006
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul M, this is the only mod I run on every single install, awesome work man.

For those asking about why the unread post link, it not linked, on a template with a custom header...well...IDK why.

BUT, this is the fix I used, specifically on the Seasmus template. I turned the last visit date off in the acp>options>unread posts options

Float your toplinks to the left in vbulletin-chrome.css

Code:
.toplinks {
position: absolute;
left: 80px;
top: 0;
color: #ffffff;
font: normal normal normal 11px Arial, Tahoma, Calibri, Verdana, Geneva, sans-serif;
text-align: right;
background: none;
search for dup_out in language and phrases, and edit it to this....play around with the positioning

Code:
<div style="position: relative; top: -17px; left: 400px;height:10px;width:200px">{1}</div>
So now your unread post display is above the banner and clickable.
Reply With Quote
  #396  
Old 10-13-2013, 01:20 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are we pretty secure using this mod? Im trying to go over all the products that might be letting hackers into my forum. I like this mod so I don't want to lose it. Just want to hear its up to date
Reply With Quote
  #397  
Old 10-13-2013, 01:22 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is well over 1000 sites running this mod, and have had no security issues with it.
Reply With Quote
Благодарность от:
VBUsers
  #398  
Old 10-14-2013, 08:04 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed but don't show on custom skin, what code do I need to call it?

Thanks
Reply With Quote
  #399  
Old 10-15-2013, 09:05 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 custom skin is probably missing some template hooks.

@vbusers, this is just display modification, it has no user input, so there isnt really anything about it that could be insecure.
Reply With Quote
  #400  
Old 10-16-2013, 11:26 AM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there code I could insert?
Reply With Quote
  #401  
Old 10-17-2013, 06:41 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 are probably missing the template_hook "header_userinfo".

Find that in your default header, and copy it to your custom header in the same location (or as close as you can).
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:17 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.05598 seconds
  • Memory Usage 2,317KB
  • 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_code
  • (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
  • (7)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)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