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)

brvheart 11-16-2005 02:58 PM

Quote:

Originally Posted by sportsoutlaw
ACP, you can select which usergroups can view this by ID.

vBulletion options-thread display options
toward the bottom, you make the selection. groups 2,5,6,7 are selected by default


Thank you so much, I was looking for that everywhere, probably even overlooked it like 3 times...anywho, thanks :)

microzott 11-17-2005 09:05 AM

Quote:

Originally Posted by Paul M
What problem ?

something is missing me :ermm:
i have attached some images from my testing forum (tempalte= modifications in showtread, product=the activation of the product, ACP=settings, table = my vb3_thread table and thread = the output)
it seems that dosen't work, but i dont understand the reason, maybe the sql in the product?

microzott 11-17-2005 09:07 AM

second part of the post

microzott 11-17-2005 09:13 AM

looking the code in the product, I have notice that I don't have any data in this table... but again... I don't understand the reason :ermm:

Paul M 11-17-2005 09:14 AM

Do you have database thread marking turned on ?

microzott 11-17-2005 09:26 AM

Quote:

Originally Posted by Paul M
Do you have database thread marking turned on ?

wher is it in the ACP? I don't remember and i can't' find it :)

changing all the if conditions in the product (false -> true in $show['whohasread'] = true;) now I can see the box, but still with no data
I confirm you that the admin user group is 6

is this one?

Mastar 11-17-2005 12:14 PM

Mine not showing

microzott 11-17-2005 01:09 PM

now seems that is working :)

but I still have two issues to fix
1) find the correct parameter for "The amount of time in days to store the thread and forum read times. All threads or forums without posts in this many days will be considered read."

2) fix the "if" condition for the user groups

microzott 11-17-2005 02:00 PM

don't ask me how... but now is working almost everithing :)
but i think I have found a real bug:

if you look at the first 2 images, the date and time of the users is completly different from the real forum-time. if you look at the third one, you could see tat the displayed time is exactly the date/time of the post.

obviuosly I was the 2 users in 2 different sessions :)

Mastar 11-17-2005 02:07 PM

Quote:

Originally Posted by microzott
don't ask me how... but now is working almost everithing :)
but i think I have found a real bug:

if you look at the first 2 images, the date and time of the users is completly different from the real forum-time. if you look at the third one, you could see tat the displayed time is exactly the date/time of the post.

Can you help me out with this one also? Can you give step by step instructions on how to correct? Thanks in advance!!

microzott 11-17-2005 02:32 PM

as more info: the link is shownig the date/time of the last post not the recently read date/time

my configuration step by step:

1) install every thing following paul instructions (template+product)
2) goto in the ACP/vBulletin Options/General settings and put a value for "Database Read Marking Limit" (I am using 30 days)
3) goto in the CP/vBulletin Options/General settings and flag "Database (no automatic forum marking)" in "Thread/Forum Read Marking Type"
4) goto in the CP/vBulletin Options/Thread Display Options (showthread) and flag "yes" in "Display who has Recently Read a Thread"
5) goto in the CP/vBulletin Options/Thread Display Options (showthread) and insert one or more usergroups in "Who has Recently Read a Thread Usergroups" (I have only the value 6 - administrators)

aciurczak 11-17-2005 02:39 PM

It's working exactly as designed. See post #66 just above. vbulletin doesn't store the time a member reads a thread. Paul made a great addition to his original hack by checking which posts a member read, and posting the time of the last read post when you hover over their name. Heck, even the text in your screenshot says "time of last read post", not "time they read the last post". This time is useful, because you can see which posts a member had read at the time they last visited the thread.

Mastar 11-17-2005 02:52 PM

Quote:

Originally Posted by microzott
as more info: the link is shownig the date/time of the last post not the recently read date/time

my configuration step by step:

1) install every thing following paul instructions (template+product)
2) goto in the ACP/vBulletin Options/General settings and put a value for "Database Read Marking Limit" (I am using 30 days)
3) goto in the CP/vBulletin Options/General settings and flag "Database (no automatic forum marking)" in "Thread/Forum Read Marking Type"
4) goto in the CP/vBulletin Options/Thread Display Options (showthread) and flag "yes" in "Display who has Recently Read a Thread"
5) goto in the CP/vBulletin Options/Thread Display Options (showthread) and insert one or more usergroups in "Who has Recently Read a Thread Usergroups" (I have only the value 6 - administrators)


Thank you vry much for your assistance! And you are right the times don't match, its 10hrs 26 mins behind...

Bounce 11-17-2005 02:56 PM

/me installs

thanks paul

microzott 11-17-2005 04:50 PM

hi aciurczak,
I'm not sure if I have correctly understood...
...but the time displayed by the onmouseover is the date/time of the last post in that thread
...nothing related with the user, all users that have read that thread will display the exact time of the last post posted, is it correct?

see my post #89

aciurczak 11-17-2005 04:54 PM

No. Read post #66 again.

The mouseover time will show the time of the last post that that user read on the thread.

post 1 (10 AM)
post 2 (11 AM)
post 3 (12 noon)

user 1 visits the thread at 11:30, user 2 visits the thread at 12:30.

The mouseover time for user1 will be 11 AM, as that is the last post he saw. User2 will have a mouseover time of 12 noon.

"Time of last read post."

Paul M 11-17-2005 05:09 PM

Quote:

Originally Posted by microzott
wher is it in the ACP? I don't remember and i can't' find it :)

changing all the if conditions in the product (false -> true in $show['whohasread'] = true;) now I can see the box, but still with no data
I confirm you that the admin user group is 6

is this one?

Quote:

Originally Posted by microzott
now seems that is working :)

but I still have two issues to fix
1) find the correct parameter for "The amount of time in days to store the thread and forum read times. All threads or forums without posts in this many days will be considered read."

2) fix the "if" condition for the user groups

I have no idea what you have done, there is nothing needs editing or fixing. Simply install and make sure you have one of the database thread marking options selected (i.e. not the activity/cookie based option).

Quote:

Originally Posted by microzott
but i think I have found a real bug:

No, you haven't read the notes properly. It is the "time of the last read post", that is the timestamp on the last post, at the point the member read the thread, not the time they read the thread. This means you can easily see what posts they have not yet seen/read.

microzott 11-18-2005 07:02 AM

Quote:

Originally Posted by Paul M
I have no idea what you have done, there is nothing needs editing or fixing. Simply install and make sure you have one of the database thread marking options selected (i.e. not the activity/cookie based option).

No, you haven't read the notes properly. It is the "time of the last read post", that is the timestamp on the last post, at the point the member read the thread, not the time they read the thread. This means you can easily see what posts they have not yet seen/read.

ok, I am sorry :D
everything is fine and working, my mistake was the database thread marking option (I was using cookie based).

Paul M 11-18-2005 07:22 AM

Quote:

Originally Posted by microzott
my mistake was the database thread marking option (I was using cookie based).

You're not the first, you won't be the last. :)

ayaam 11-18-2005 08:25 AM

good work , Thanks for update it to 3.5.1

ayaam 11-18-2005 08:35 AM

good work , Thanks for update it to 3.5.1

shama 11-18-2005 10:24 AM

I used your hack to my fourm
Thanks

shama 11-18-2005 10:41 AM

I upload the product and I add the code in the template but it doesn't work with me
why????????????

microzott 11-18-2005 01:43 PM

Quote:

Originally Posted by shama
I upload the product and I add the code in the template but it doesn't work with me
why????????????

see post #99 :D and my step y step configuration of the board in post #93

Paul M 11-18-2005 03:47 PM

Quote:

Originally Posted by shama
I upload the product and I add the code in the template but it doesn't work with me
why????????????

At a guess, because you don't have database thread marking turned on.

Pearl 11-19-2005 03:17 PM

i only see an xml fime in teh zip
i uploaded it with plugin manger
when set to active i get this
Quote:

Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT whoviewed FROM vb_thread WHERE threadid = 1577;

MySQL Error : Unknown column 'whoviewed' in 'field list'
Error Number : 1054
Date : Saturday, November 19th 2005 @ 06:14:49 PM

also i dont see any options that can be changed in teh ACP

Paul M 11-19-2005 04:36 PM

I think you have posted this in the wrong hack, there is no such sql in my hack.

dieselpowered 11-19-2005 04:43 PM

Flawless install as always for one of your hacks Paul. Thanks so much!

**clicks install**

Pearl 11-19-2005 04:47 PM

Quote:

Originally Posted by Paul M
I think you have posted this in the wrong hack, there is no such sql in my hack.

:eek how could this happen?

Who Viewed This Thread?
who has read this thread?

Pearl 11-19-2005 04:50 PM

erm your hack runs perfectly thank you :)
that will teach me to do to many things at same time.

VBUsers 11-19-2005 07:17 PM

installed and a great hack but is there a way to put this

Currently Active Users Viewing This Thread: 1 (1 members and 0 guests)

and your hack above the Quick reply option in everythread?

andor 11-20-2005 06:41 AM

*install* - it's in there, and it looks good - thanks!

Brandon Sheley 11-20-2005 07:35 AM

downloads,
unzips
[high]* Brandon Sheley installs 20 seconds
[/high]
thank you, i had this on 3.0.x :D

Paul M 11-20-2005 10:52 AM

Quote:

Originally Posted by lowandloudinc
installed and a great hack but is there a way to put this

Currently Active Users Viewing This Thread: 1 (1 members and 0 guests)

and your hack above the Quick reply option in everythread?

Edit SHOWTHREAD to move QuickReply.

shama 11-20-2005 03:03 PM

I did it but I have double can u see it in this screenshot
http://img417.imageshack.us/img417/805/995we.gif

May I know how can I have just One

Thanks

Paul M 11-20-2005 03:44 PM

Screenshots are no help, please link to your forum.

shama 11-20-2005 05:53 PM

My fourm not finshed yet....
If u see the screen shot you will find that I have two Display members who have recently read a thread and both of them works.... ( I need only one) .....

microzott 11-21-2005 05:06 AM

thanks paul. working perfectly :)

Iceburg22 11-21-2005 12:35 PM

thanks

ombossman 11-21-2005 03:43 PM

Quote:

Originally Posted by Paul M
Screenshots are no help, please link to your forum.

I did it but I have double can u see it in this link

http://www.gsmciler.com/forum/showth...=5726#post5726


All times are GMT. The time now is 11:48 PM.

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.01402 seconds
  • Memory Usage 1,828KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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