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

Reply
 
Thread Tools
Unread Posts and Reputation Comments (welcome box) Details »»
Unread Posts and Reputation Comments (welcome box)
Version: 1.25, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.x Rating:
Released: 08-13-2006 Last Update: 10-17-2007 Installs: 556
Uses Plugins Auto-Templates
Translations  
No support by the author.

This modification is no longer available or supported.

Note: The unread posts portion of this hack only works if you use the database thread marking system.

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

Versions 1.22+ also display 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.

All settings are located in vBulletin Options > Display Unread Posts and Reputation.

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


History:

v1.11 : First Release for vb 3.6 - various changes.
v1.12 : Updated for Version Checking.
v1.13 : Phrases Updated.
v1.14 : Dependancies updated, URL's updated.
v1.15 : Minor phrasing changes.
v1.16 : Changes to the way displayed messages are built.
v1.17 : SQL Changes to use slave.
v1.18 : Fixed broken Index creation (on install).
v1.19 : Modified slightly to exclude moderated or soft deleted posts (unless moderator).
v1.20 : Duplicate line of code removed.
v1.21 : ATCS and disable options added.
v1.22 : New reputation comments added. ATCS removed as now unnecessary.
v1.23 : Bug fixes. Added links prefix setting.
v1.24 : Fix reputation comments not being marked as read.
v1.25 : Permission check updated to include 'canviewthreads'.

Show Your Support

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

Comments
  #92  
Old 10-12-2006, 09:26 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

Do you have 'Currently Active Users Viewing This Page' turned on ? I can't see it as a guest.
Reply With Quote
  #93  
Old 10-26-2006, 12:37 PM
Canis Firebrand Canis Firebrand is offline
 
Join Date: Jun 2006
Location: Michigan
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great hack and one that is very useful. I look forward to an update in which you can edit the phrase that is displayed.

I liked the phrasing in the 3.5.x version over the one used in 3.6.x version.

I tried to look at the mod xml file to see if I could maybe change it easily myself, but was lost as to what to actually change.

Thanks again for the great addition to the vB software.
Reply With Quote
  #94  
Old 10-26-2006, 06:00 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



As far as I remember, the current version uses phrases identical to the old 3.5 version, are you sure you have 1.13 installed ?
Reply With Quote
  #95  
Old 10-26-2006, 06:10 PM
Canis Firebrand Canis Firebrand is offline
 
Join Date: Jun 2006
Location: Michigan
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using 1.13. These are the phrases that it put in place.

Code:
unread_posts  	Standard Phrase  	You Have <strong>{1} <a href="search.php?do=getnew">Unread Post{2}</a></strong>  	
unread_posts_visit 	Standard Phrase <strong>{1} <a 
href="search.php?do=getnew">Unread Post{2}</a></strong> since your last visit.
What it was doing was showing the phrase like this in the welcome box. It looks like it is always using the phrase unread_posts_visit.

0 Unread posts since last visit.

or

# Unread post(s) since last visit.

I was able to actually fix it.

I downloaded the xml file again from above. Edited it and found the phrase, and added in a "You Have" so that it looked like this

Code:
unread_posts_visit  	Standard Phrase  	You Have <strong>{1} <a href="search.php?do=getnew">Unread Post{2}</a></strong> since your last visit.
Reply With Quote
  #96  
Old 10-26-2006, 06:21 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

The 3.5 version does not have the words "You have" if you use the last visit option, nor does this.

Both versions display either ;

XX Unread Posts since your last visit

or

You Have XX Unread Posts

Depending on whether you use the last visit option.
Reply With Quote
  #97  
Old 10-26-2006, 06:25 PM
Canis Firebrand Canis Firebrand is offline
 
Join Date: Jun 2006
Location: Michigan
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe I was remembering wrong then. In either case, this is actually a very nice product.

I was just glad I was able to find the spot in the xml file to edit to change the phrasing like I thought I recalled.

If you do update it in the future and add in flexible phrasing that would be great.

But as it is, it does work very nicely.

Thanks again for the product and the replies here to not only myself, but others using this as well.
Reply With Quote
  #98  
Old 10-26-2006, 06:31 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 Canis Firebrand
If you do update it in the future and add in flexible phrasing that would be great.
I don't understand what you mean ? - the phrase can be changed to whatever you want in the ACP phrase manager - just as any phrase can. That's a standard part of vbulletin. :smoke:
Reply With Quote
  #99  
Old 10-26-2006, 06:49 PM
Canis Firebrand Canis Firebrand is offline
 
Join Date: Jun 2006
Location: Michigan
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was the part I missed then. I viewed the phrase in the phrase manager, but I wasn't aware I could change it there. I'm still realitively new to vB.
Reply With Quote
  #100  
Old 10-26-2006, 07:09 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

The you have learned something new.
Reply With Quote
  #101  
Old 10-26-2006, 11:15 PM
Canis Firebrand Canis Firebrand is offline
 
Join Date: Jun 2006
Location: Michigan
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly, and I thank you.

Though, one last question.

What exactly is the difference between the yes and no option for this setting?

Display Unread Posts Option
Set to 'yes' to use last visit date, 'no' to count all posts marked as unread.

I had it set to yes originally. Then changed my board to no. Now I'm getting reports of my members having hundreds of posts as unread. I'm not so sure I should have changed that option.

I've read that description and the one you posted in the original post for this product. I'm still a little uncertain what each choice does and which is better to use.
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 01:08 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.04773 seconds
  • Memory Usage 2,313KB
  • 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)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
  • (1)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