vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Display members who have recently read a thread (https://vborg.vbsupport.ru/showthread.php?t=92339)

Paul M 07-15-2005 10:00 PM

Display members who have recently read a thread
 
This modification is no longer available or supported.

If you have the new thread reading system enabled then this hack will use it to display anyone who has recently read a thread. The time limit is determined by your vb options thread marking limit.

You must be using the database thread marking system for this hack to work.


To install this hack, unzip the xml file and import it via the product manager.

The ACP settings are in vbulletin options > thread display options.


Upgrades:

To upgrade from version 2.18 or before, to version 2.21 onwards, you need to uninstall the product and remove the template code in SHOWTHREAD - then upload the new product. To upgrade from version 2.20 onwards, upload the new product with overwrite set to yes.


History:

v2.16 : Added ACP setting to turn the display on/off.
v2.17 : Added ACP setting to restrict which usergroups can view the display.
v2.18 : Added hover display to each username which shows the date/time of the last post (in the thread) at the time the member read it.
v2.19 : Not released.
v2.20 : Not released.
v2.21 : Removed the need to edit the SHOWTHREAD template.
v2.22 : Updated ACP view permission option to take into account secondary
v2.23 : Added 'nofollow' attribute to listed usernames.
v2.24 : Minor changes, no update necessary.

jesus likes pie 07-16-2005 08:39 PM

thanks.

/me clicks install

:P im soooo lazy i wish i didnt have to edit a template....oh well. Thanks, cool hack.

theArchitect 07-17-2005 12:34 AM

*theArchitect clicks install*

Love your work.

TTG 07-17-2005 01:14 AM

TTG clicked install .. useful :)

Boofo 07-25-2005 02:59 PM

Does this show the html marking for the usergroups?

Paul M 07-25-2005 04:51 PM

It most certainly does. That's standard in all my member display hacks. It also obeys invisibility settings - which is also standard in all except the chat display hacks.

Boofo 07-25-2005 07:09 PM

Quote:

Originally Posted by Paul M
It most certainly does. That's standard in all my member display hacks. It also obeys invisibility settings - which is also standard in all except the chat display hacks.

That's good enough for me. Thank you, sir. ;)

Neal-UK 07-29-2005 04:08 AM

Quote:

Originally Posted by Boofo
That's good enough for me. Thank you, sir. ;)

where abouts are the setting for this, i cant find them. I'm having a mod frenzy today!

Boofo 07-29-2005 04:16 AM

Paul, any way to have this tell you when they read the thread when you mouseover their names? ;)

Paul M 07-29-2005 04:16 AM

Quote:

Originally Posted by nealparry
where abouts are the setting for this, i cant find them. I'm having a mod frenzy today!

What settings are you referring to ?

Boofo 07-29-2005 04:17 AM

Quote:

Originally Posted by nealparry
where abouts are the setting for this, i cant find them. I'm having a mod frenzy today!

What setting? There is just the display of who read the thread. ;)

Paul M 07-29-2005 04:19 AM

Quote:

Originally Posted by Boofo
Paul, any way to have this tell you when they read the thread when you mouseover their names? ;)

Sadly not. vB does not store this information, so it would require a database change, and extra code.

Neal-UK 07-29-2005 04:20 AM

Quote:

Originally Posted by Boofo
What setting? There is just the display of who read the thread. ;)

is there not a way to set the amount of time, or is it default at 14 days? I can't seem to see anything either under the threads, probably because i should be in bed!

Paul M 07-29-2005 04:25 AM

Quote:

Originally Posted by nealparry
is there not a way to set the amount of time, or is it default at 14 days?

Quote:

Originally Posted by First post
The time limit is determined by your vb options thread marking limit.

14 days is simply what my test system is set to.


Quote:

Originally Posted by nealparry
I can't seem to see anything either under the threads, probably because i should be in bed!

Quote:

Originally Posted by First post
If you have the new thread reading system enabled ...

Do you have the new thread marking system enabled ?

Neal-UK 07-29-2005 04:27 AM

Quote:

Originally Posted by Paul M
14 days is simply what my test system is set to.



Do you have the new thread marking system enabled ?

Can you tell me where these are before i go off for an hour or two, i've tried looking.

Paul M 07-29-2005 04:32 AM

Quote:

Originally Posted by nealparry
Can you tell me where these are before i go off for an hour or two, i've tried looking.

[high]ACP > vBulletin Options > General Settings > Last two options ;[/high]

Thread/Forum Read Marking Type : I use Database (no automatic forum marking)

Database Read Marking Limit : Mine is 14 days - choose your limit.

Neal-UK 07-29-2005 04:37 AM

sorry, sorted it. expanded the options.....i'll get my coat / anorak (?)

Boofo 07-29-2005 04:44 AM

Quote:

Originally Posted by Paul M
[high]ACP > vBulletin Options > General Settings > Last two options ;[/high]

Thread/Forum Read Marking Type : I use Database (no automatic forum marking)

Database Read Marking Limit : Mine is 14 days - choose your limit.

Jusr curious here, isn't option 3 (automatic forum marking) the best one to use?

Paul M 07-29-2005 05:01 AM

Option three adds extra overheads & queries for the forum read checking - and for no percieved advantage by most people. The majority of users just don't seem to pay any attention to forum read markers - as long as their threads are marked, they are happy. But each to their own. :)

Boofo 07-29-2005 05:14 AM

I asked what you thought because this is still all new to me. I'm just getting back into things and there are a lot of new things since 3.0 RC1 (which is what I had) up to now. ;)

Paul M 07-29-2005 05:18 AM

3.0 RC1 ???? - a bit old :) Personally I think option 2 is fine, for the reasons above. :)

Boofo 07-29-2005 05:59 AM

Yep, it was old but I had enough hacks installed and it was teaked enough, that until now there really wan't a lot of need to upgrade. I just kep up with the sercurity fixes and left it at that. ;)

Is the performance issue really that much between option 2 and 3 to take it back down to 2? You know way more about it than I do, I'm sure. ;)

GrendelKhan{TSU 08-01-2005 08:18 AM

works great
Thanks!

<<< installed 3.5 RC1:
option 3: Automatic marking
:D

Boofo 08-03-2005 03:28 AM

Any way to have this not show up to guests viewing the board?

Paul M 08-03-2005 07:40 AM

Put the template code inside a conditional (checking for userid > 0).

Boofo 08-03-2005 07:53 AM

I know how to do it, Paul. I just thought maybe you might want to include it in your mod. ;)

Paul M 10-01-2005 09:40 AM

Quote:

Originally Posted by Boofo
I know how to do it, Paul. I just thought maybe you might want to include it in your mod. ;)

Since I needed to update a small change in the instructions I have added this as well. Guests will no longer see who has read a thread.

pirotess 10-01-2005 03:44 PM

Hey Paul I was wondering if you would consider adding the "enhanced" functionality in Oceans 3.0.7 version to your 3.5 mod. I've PM'd and posted in that thread asking if it would be updated and have gotten no response. I really loved being able to reset the second counter so I could tell who had read a thread since the last time I reset the hidden counter.

You can see what I mean by reset counter here.

Thanks for your consideration.

Paul M 10-01-2005 04:33 PM

Sorry, but that's not likely to happen in this hack at the moment, if ever - I have no real use for it - and it would add extra complication to what is basically a simple display.

lairnoc 10-01-2005 04:56 PM

installed thnx works fine

Boofo 10-01-2005 04:56 PM

Is there a way to add the time and date they viewed it on a mouseover of the name?

Paul M 10-01-2005 05:34 PM

Quote:

Originally Posted by Boofo
Is there a way to add the time and date they viewed it on a mouseover of the name?

I wish there was, but the marking system does not store this data.

jluerken 10-02-2005 10:53 AM

Nice hack but can you change the text handling?
Currently the text is hardcoded.

It would be nice to have things like

"Have Read This Thread In The Last"
and
"Members"
"Day"

etc. as phrases.

I cannot use the hack on board with more than one language.

Loki12 10-02-2005 11:19 AM

I am allergic to any setting that says "server intensive". :ermm:

Paul M 10-02-2005 12:16 PM

Quote:

Originally Posted by jluerken
Nice hack but can you change the text handling?
Currently the text is hardcoded.

I cannot use the hack on board with more than one language.

Yes, at some point, when I have the time, I will be converting this (and a few others) to use phrases.

Quote:

Originally Posted by Loki12
I am allergic to any setting that says "server intensive". :ermm:

A server that cannot handle thread marking is not going to handle your forum for very long. It's an OTT warning IMO.

csidlernet 10-05-2005 03:01 AM

thanks!!
/me installs

Paul M 10-06-2005 01:07 AM

Now updated to a product and phrased. There is no need to upgrade unless you need the phrasing. If you want to upgrade then delete the existing plugin, import the product and replace the template code with the new version.

KidneyBoy 10-06-2005 02:15 AM

Hmmmm. I just tried installing this. I installed it as a "Product", did the template modification (twice to make sure it was right). Tried to check the vBoptions/General Settings, and couldn't find the 2 options. I tried visiting a post, and there's nothing showing up. I'm assuming it would display under the "Currently Active Users Viewing This Thread"?

Anyway, I'm using 3.5.0 GOLD. Any ideas?

Thanks
KidneyBoy

Paul M 10-06-2005 03:48 AM

You must have the database thread marking system active for it to be visible.

vBulletin Options > General Settings > Thread/Forum Read Marking Type

and

vBulletin Options > General Settings > Database Read Marking Limit

KidneyBoy 10-06-2005 04:16 AM

Thank you very much. You were right. I didn't have the Marking System enabled through the database. Thanks again!!!

KidneyBoy
*INSTALLED*


All times are GMT. The time now is 07:58 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.01418 seconds
  • Memory Usage 1,818KB
  • 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
  • (17)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