Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #112  
Old 01-27-2010, 11:20 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Paul, I'm having a bit of a problem.
Running vB4.0.1
After installing, setting options and making the header template change this is what I have (see attached image). As you can see my 'notifications' dropdown is now 'off', and also the 'last visit/unread posts #' is not showing.

this is the code from my template:
PHP Code:
<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
            </
ul>
            <
p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p
Any help would be appreciated =S
Reply With Quote
  #113  
Old 01-27-2010, 11:57 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
You have an old customised version of the phrase dup_posts on your forum - you need to delete it.
I just looked in my phrases and I have:
dup_post & dup_posts
How do I delete the dup_posts one since that may be what is messing my installation up as well.

EDIT:
looking in the phrase table of my forum database I have the following:
38933 -1 dup_disabled global <strong>Error: Database Marking is Disabled</stron... paulm_dup_40 Paul M 1255000000 4.0.2 0
38930 -1 dup_no_posts global You Have No <a href="{1}search.php?do=getnew&conte... paulm_dup_40 Paul M 1255000000 4.0.2 0
38928 -1 dup_post global Post paulm_dup_40 Paul M 1255000000 4.0.2 0
38929 -1 dup_posts global Posts paulm_dup_40 Paul M 1255000000 4.0.2 0
38950 1 dup_posts global Post paulm_dup_40 Lindsay 1264644061 4.0.3 0
Reply With Quote
  #114  
Old 01-28-2010, 07:12 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

This uses both dup_post & dup_posts, you cannot delete either.

In your template you seem to have <li> tags around the phrase rather than <p> tags - not sure if that would mess it up.
Reply With Quote
  #115  
Old 01-28-2010, 08:10 AM
meschiash meschiash is offline
 
Join Date: Feb 2009
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have another problem. When i turn on hack i don't see field with time on my last visit.
I mean that's is problem with colors in stylewars.

edit:
when i change in stylewars time_color to white then i don't see time in footer because i have there white background.

Here you have screens:
Reply With Quote
  #116  
Old 01-28-2010, 10:08 AM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
This uses both dup_post & dup_posts, you cannot delete either.

In your template you seem to have <li> tags around the phrase rather than <p> tags - not sure if that would mess it up.
The thing is there are TWO dup_posts phrases, note:
38929 -1 dup_posts global Posts paulm_dup_40 Paul M 1255000000 4.0.2 0
38950 1 dup_posts global Post paulm_dup_40 Lindsay 1264644061 4.0.3 0
which one do I get rid of? the 4.0.2 one or the 4.0.3 one?

One of the vB staff had previously advised me not to use <p > tags in vB4..=S.. either way I got the same result, believe me, I tried <p > first.
Reply With Quote
  #117  
Old 01-28-2010, 10:20 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

This is an edited version you have added ;

Quote:
38950 1 dup_posts global Post paulm_dup_40 Lindsay 1264644061 4.0.3 0
This is the default ;

Quote:
38929 -1 dup_posts global Posts paulm_dup_40 Paul M 1255000000 4.0.2 0
---------------------------------------------------------

Quote:
Originally Posted by Eq4bits View Post
One of the vB staff had previously advised me not to use <p > tags in vB4
I have no idea why anyone would tell you that, they are perfectly acceptable in vb4.

----------------------------------------------------------

JFYI, this mod will almost certainly break when 4.0.2 is released as the defunct phrase code is being removed from the template, and a template hook put in its place.
Reply With Quote
  #118  
Old 01-28-2010, 10:35 AM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay, deleted the 4.0.3 one from the d/b
changed the <li > to <p > and </li > to </p>
uninstalled mod,
reinstalled mod
still nada
this is the only mod I've installed on this new version of vB4.0.1
Do I need to make an admin acct for you to take a look? I'm going to be away from my desk for the next 2 or 3 hours, let me know and I'll set it up when I get back and pm the details to you.
Reply With Quote
  #119  
Old 01-28-2010, 02:31 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

found my problem =S I had previously 'moved' the 'remember me' box to be to the right of log in input (by copying the original that shows below, removed the <div > and </div > from the 'new one'... heh, but I forgot to get rid of the original. Once I removed the origianl 'remember me' stuff the Unread stuff shows up (part of the reason I didn't realize I had a redundant 'remember me' box was because I was logged in, so wasn't 'seeing' it *slaps forehead*... sometimes it's the simplest of things =S
Reply With Quote
  #120  
Old 01-28-2010, 03:08 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

Ah good, glad to see you sorted it.
Reply With Quote
  #121  
Old 02-09-2010, 05:04 AM
nikosb nikosb is offline
 
Join Date: Dec 2008
Location: Greece
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you activate the Display Unread Posts and Reputation Comments, in IE I have second navbar (see attachment) and when you press the second navbar with the mouse, with transfer to new messages.

When I'm not connected, this is not

By FF working properly

Any idea to fix it?
Thanks

.................................................. ............
EDIT
found that this happens only when there are no new posts
Reply With Quote
Reply

Thread Tools

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 08:30 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.07152 seconds
  • Memory Usage 2,314KB
  • 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
  • (1)bbcode_php
  • (5)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