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
  #122  
Old 11-23-2006, 08:46 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

The only way I can see that you could get that error is if you had no 'lastvisit' time, which makes no sense at all. I can only guess that you are accessing it in some bizarre/unusual way, or some other mod is intefering with it (those script & referrer fields look very strange ......).
Reply With Quote
  #123  
Old 12-05-2006, 08:36 PM
flynnibus flynnibus is offline
 
Join Date: Nov 2004
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(from other.. incorrect thread )

I've noticed some differences between this and your 3.5 version

the 3.5 version says 'no unread posts' this one shows '0 unread posts'

the 3.6 version hyperlink does not include the number only the 'unread posts' text is the hyperlink.

Intentional? I kinda like the 3.5 styles a bit better.
Reply With Quote
  #124  
Old 12-05-2006, 09: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

Quote:
Originally Posted by flynnibus View Post
the 3.5 version says 'no unread posts' this one shows '0 unread posts'
Yes, a minor difference, it means simpler code and less phrases. It's possible I may eventually change it, but certainly not in the next few weeks - maybe when I get round to making the 'plural' code more flexible.

Quote:
Originally Posted by flynnibus View Post
the 3.6 version hyperlink does not include the number only the 'unread posts' text is the hyperlink.
You can edit the phrase to change that if you want.
Reply With Quote
  #125  
Old 12-09-2006, 11:01 PM
nicker nicker is offline
 
Join Date: Nov 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had this working before, great idea, now suddenly I am getting

Warning: file_get_contents(/homepages/42/d186719104/htdocs/forum/includes/database_error_message.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 910

Warning: file_get_contents(/homepages/42/d186719104/htdocs/forum/includes/database_error_page.html) [function.file-get-contents]: failed to open stream: No such file or directory in /includes/class_core.php on line 944

Any ideas?.
Reply With Quote
  #126  
Old 12-10-2006, 01:43 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

Those errors are not generated by this (at least not directly) - It looks like your vb installation is missing some files (from the forum root) that are needed to generate database error message screens (database_error_message.html & database_error_page.html). You need to upload them to see the real error.
Reply With Quote
  #127  
Old 12-10-2006, 10:36 AM
nicker nicker is offline
 
Join Date: Nov 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Paul, I copied them over and opened them, this is what it's showing

Database error in $this->appname $vboptions[templateversion]: $errortext MySQL Error : $this->error Error Number : $this->errno Date : $date Script : http://$_SERVER[HTTP_HOST]$scriptpath Referrer : $referer IP Address : $ipaddress Username : $bbuserinfo[username] Classname : $classname

sorry to be a pain but I can't work this one out, any help is appreciated.
Reply With Quote
  #128  
Old 12-10-2006, 04:46 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

Opening the files doesn't mean anything. If you get another database error those files will allow vb to display the error (you should also get the error e-mailed to you).
Reply With Quote
  #129  
Old 12-18-2006, 08:41 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Paul,
Great hack, need some help though. Works a treat, only on default style though. I cant get it to work on the style im using currently, if you click my sig to PBC you can see.
Reply With Quote
  #130  
Old 12-18-2006, 08:55 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 Reece^B View Post
if you click my sig to PBC you can see.
Not really, it's not available to guests.
Reply With Quote
  #131  
Old 12-19-2006, 04:05 AM
TrikkeTalk's Avatar
TrikkeTalk TrikkeTalk is offline
 
Join Date: May 2006
Location: The Netherlands
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Paul,

Is there a way to put the output which is displayed in the welcome part of the navbar to my portal page.

This page contains the same block as in the forum home. It only uses another template (P_block_navbar). Something has to be added there to show up in the Portals Navbar.

The portal I use is VB-Portal.

Since I am a complete noob, please help me out.

Thanks in advance.
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 12:47 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.07147 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
  • (3)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