vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Display Unread Posts and New Reputation Comments (https://vborg.vbsupport.ru/showthread.php?t=168303)

Paul M 01-19-2008 10:00 PM

Display Unread Posts and New Reputation Comments
 
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, also, this attaches itself to certain phrases in the "welcome" box and will not work if they are not present (or are modified by other code).

FYI, the Forum Marking Choices are located in vBulletin Options ;
vBulletin Options > General Settings > Thread/Forum Read Marking Type


This displays the actual number of posts that are still considered unread by you (and will show up in a 'getnew' search). It also displays 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.

There is also the option to display the New Reputation Comments counter as a Welcome Box Notification.

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

Version 3.7.004 adds the following ;

A forum exclusion list - requested a number of times, an option is provided to exclude forums from the unread count & display.

A time limit on unread posts count - if a member has not visited for more than x days then a simple unread posts link will be displayed, not an actual count, this stops potential large sql queries if you have a busy forum. The option can be disabled.



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


History:

v3.7.001 : First Release for vb 3.7.
v3.7.002 : Added Notification Display Option for Reputation Comments.
v3.7.003 : Internal version, not released.
v3.7.004 : Added time limit and forum exclusion list.
v3.7.005 : Fixed path bug in welcome box notification.
v3.7.006 : Slight change to accomodate customised navbars still using vb 3.6 code.
v3.7.007 : Fix potential database error if lastrepcheck is blank, rare, but it can happen it seems.


jerrygad 01-20-2008 04:08 PM

Good job. Thanks for sharing.

gator777 01-20-2008 04:10 PM

I just want to say "thanks" Paul M for making this great mod. Although I like all my mods, this is one of the absolute best. :D

Thanks again

Zagis 01-20-2008 04:27 PM

Thanks for sharing.

Installed on vB 3.7 ;)

aj8690 01-20-2008 04:42 PM

Thank you so much! I love this. :D

Magnumutz 01-20-2008 07:09 PM

Awesome hack dude... 15 installs already :)

The Ottoman 01-20-2008 07:30 PM

Thank God!!!!


I (and my user base) have been waiting for this quite intently.

One question/request would be to have the Rep comment message show up in your "Your Notifications" section.

lucky51 01-20-2008 08:59 PM

thank you so much,
installed

and agreed with The Ottoman

Paul M 01-20-2008 09:17 PM

Hmmm, I'm not convinced by the that idea atm.

Alfa1 01-20-2008 09:47 PM

Where does this display?

Paul M 01-20-2008 09:58 PM

In the Navbar Welcome box.

The Ottoman 01-21-2008 12:17 AM

Quote:

Originally Posted by Paul M (Post 1425435)
Hmmm, I'm not convinced by the that idea atm.


Could something as simple as the fact that it would make the section just one line smaller, and that that type of notification is roughly on the same level as a Private Message, or a Social Group notification be the clincher?



Then there is also the simple bribe of Dr. Pepper if the above fails.:p

Greenwoodi 01-21-2008 08:43 AM

Hm, for me even on a local server does not work, the plug-in is established and in navbar anything is not present.

Rat1972 01-21-2008 11:27 AM

Finaly! :D

Thanks Paul

*clicks install*

Roxie 01-21-2008 09:05 PM

Been waiting for this. Thanks Paul!

Roxie 01-21-2008 09:14 PM

Oh shoot. I just noticed this only works with database thread marking. :( I've been using 3.5 that didn't require that.

soletrader 01-21-2008 09:58 PM

There's a small error with the new unread posts feature, which is very cool btw.

It depends on the location my browser is viewing if the search function works or not.

E.g. from the TL home( www.traderslaboratory.com ) it gives me an error, if I am in the
forums section it doesn't ( www.traderslaboratory.com/forums ).

This is because the link is relative, just need to convert it to absolute then everything should be fine. How can I change the path to forums?

Paul M 01-22-2008 06:35 PM

You need to set the "Links Prefix Path" setting.

soletrader 01-23-2008 01:48 AM

Quote:

Originally Posted by Paul M (Post 1426822)
You need to set the "Links Prefix Path" setting.

Thank you Paul.

Caddyman 01-23-2008 01:52 PM

I had the 3.6 version of this installed. I upgraded the site to 3.7B4 and it still worked. I thought i may get more functionality out of the one you made here for 3.7 so i loaded it and it took away the unread posts counter on top the welcome box

http://www.talkdelaware.com/forums.php

Any idea Paul?
TIA

edit: must be the custom style. it works on default style. what needs to be changed on custom style to fix that, anyone?

edit edit: fixed it, in navbar template the custom style showed a old phrase. i updated with this one

<phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase>

rinkrat 01-24-2008 05:45 AM

Thanks for the update!

KURTZ 01-25-2008 01:29 PM

OK nice hack Paul, just installed ... :)

Evolution06 01-25-2008 09:25 PM

cool *Installed* quick question whats the difference or benefit of switching Inactivity/Cookie Based to Database (automatic forum marking) other then this mod working?

vnairp11 01-26-2008 03:09 AM

very nice thanks you!

Paul M 01-26-2008 12:31 PM

Quote:

Originally Posted by Evolution06 (Post 1428944)
cool *Installed* quick question whats the difference or benefit of switching Inactivity/Cookie Based to Database (automatic forum marking) other then this mod working?

Database marking works better, and also across computers (think work/home).

Paul M 01-27-2008 08:07 PM

Quote:

Originally Posted by The Ottoman (Post 1425370)
One question/request would be to have the Rep comment message show up in your "Your Notifications" section.

As of v3.7.002 I have added this as an option, so you can use either method.

asj 01-27-2008 10:43 PM

Excellent work :)

KURTZ 01-28-2008 08:52 AM

upgraded!

BatMNet 01-29-2008 11:50 PM

Installed... Excuse my nubness.... What exactly is the "database thread marking system" and how do I get it going? (I searched these forums)

Paul M 01-30-2008 07:01 AM

See the last part of this page.

http://www.vbulletin.com/docs/html/m..._group_general

MR.BOSS 02-06-2008 05:42 AM

thanks Paul!

it didnt work on the default vbulletin skin, it worked on all other skins, why is that?

Paul M 02-06-2008 07:08 AM

No idea, works for me.

maniguang 02-06-2008 01:22 PM

hi paul, it's a nice add-on. Same as MR.BOSS, I did not get this work on the default skin. Is it possible because that I have made some changes on the default navibar before?

CrashPush 02-07-2008 03:53 PM

Love this mod. Thanks!

basilrath 02-16-2008 03:48 PM

strange ive added this previously and upgraded to the latest beta 5 and not showing now.......

Paul M 02-16-2008 06:44 PM

There is nothing in beta 5 that stops this running - its fine on my test forum.

Greek76 02-16-2008 10:52 PM

This does not work for me either on the 3.7.5 beta default skin..

MR.BOSS 02-17-2008 12:32 AM

yes thats right, there is a problem in this mod that does not work in the default vb style.. it works on other style though

Paul M 02-17-2008 10:40 AM

Please do not make unsupported statements. As I have already pointed out, this is working fine on my Test Forum (in the default and all other styles). If you have a specific issue then point it out - just saying "does not work in the default vb style" is both meaningless and wrong.

MR.BOSS 02-17-2008 06:58 PM

How do you want me to support my statement? My statement is very clear... What you want me to say if, the mod is not appearing?


All times are GMT. The time now is 01:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02145 seconds
  • Memory Usage 1,806KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete