vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Who has read a Thread (https://vborg.vbsupport.ru/showthread.php?t=122594)

gummerz 10-10-2006 01:09 AM

cheers paul this is a must have :)

Muellmann 10-10-2006 03:08 PM

it doesn't list the people who have readed on some threads now after a while.
on the beginning it listed all threadreaders correctly. now i recognized that on some new threads no reading people exists (i mean no members exists who readed the thread, in the list), but many members readed the thread already.

the old hack works fine (for 3.5) with all threads. the new hack must have a bug somewhere because i set all settings surely correctly (its not my first installed hack). the first five hours it works and then on some threads beginner to be no new readers displayed. i have a clean 3.62 engl. version.

i needed to uninstall and i hope on a soon fix. till it i will use your older working one.

Paul M 10-10-2006 04:54 PM

Hmm, do you have a value set in the Table Clean-up setting ?

Paul M 10-10-2006 06:07 PM

There was a bug in the records clean-up code - the setting was being treated as hours, not days, so if you set it to (say) 180, it would remove records after a week, not six months. The default on installation was for this option to be disabled, so you would only be affected if you changed this. To upgrade simply import the new product XML.

grazianno 10-10-2006 06:31 PM

i got tis error when i updated the plugin

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vbplugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Display Thread Readers (1)', 'cache_templates', 'if ($vbulletin->options[\'whohasread\'])\r\n{\r\n $groups = explode(\',\',$vbulletin->options[\'whohasreadgrps\']); \r\n if (is_member_of($vbulletin->userinfo,$groups) OR $groups[0] == 0) \r\n {\r\n $show[\'whohasread\'] = true;\r\n $globaltemplates[] = \'Display_Readers\';\r\n }\r\n else \r\n {\r\n $show[\'whohasread\']= false;\r\n }\r\n $wripgrps = explode(\',\',$vbulletin->options[\'whoreadipgrps\']); \r\n if (is_member_of($vbulletin->userinfo,$wripgrps)) \r\n {\r\n $show[\'whohasreadip\'] = true;\r\n }\r\n else \r\n {\r\n $show[\'whohasreadip\'] = false;\r\n }\r\n}\r\nelse\r\n{\r\n $show[\'whohasread\']= false;\r\n}\r\nif ($vbulletin->options[\'whoreadauthor\'])\r\n{\r\n $globaltemplates[] = \'Display_Readers\';\r\n}', 'paulm_20050716');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Tuesday, October 10th 2006 @ 12:30:22 PM

DJGavin 10-10-2006 06:42 PM

I must say how much I love this add on. It is so useful to see who has read a thread and when - especially with some of the +++++ier comments my members make about people (well one sensitive person in particular). Also nice to see such prompt support.

Shazz 10-10-2006 09:00 PM

Thanx for another update :)

Gripemaster 10-10-2006 10:26 PM

Thanks yet again Paul... I love the reset feature... great for announcement threads.

so let me make sure I have this right:

Quote:

Who read records older than this number of days will be purged from the database, this is an optional housekeeping function - set to 0 to disable.
If I set the value to "30", all entries over 30 days old will be automatically cleansed from the table?

Thanks as always. :)

Paul M 10-11-2006 01:16 AM

Quote:

Originally Posted by grazianno
i got tis error when i updated the plugin

.......

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Tuesday, October 10th 2006 @ 12:30:22 PM

You cannot install a 3.6 modification on a 3.5 forum.

Paul M 10-11-2006 01:17 AM

Quote:

Originally Posted by Gripemaster
If I set the value to "30", all entries over 30 days old will be automatically cleansed from the table?

Yes.

dilbert 10-11-2006 01:35 AM

Oops, I installed too fast.
I had the prior version installed on a 3.6.0 forum, and have not upgraded to 3.6.2 and didn't notice this was for 3.6.2 until after I installed.
Is the prior version still available? This does not work on my forum. It worked before, now nothing shows.

Thanks, Cliff

Paul M 10-11-2006 07:44 AM

This works on any 3.6 version.

dilbert 10-11-2006 03:35 PM

Hmm, not working. Any suggestions?

jgommel 10-13-2006 02:59 PM

Is there a modification I can make to only display the "Who has read a thread" at the bottom of the thread and remove it from the top?

Sorry if this has already been addressed.

YLP1 10-19-2006 10:16 PM

This installed effortlessly and the table at the bottom of the thread shows up BUT there are no member names who have viewed the thread listed.

I double checked all the settings and all appears to set correctly.

Is there a cron job that must be setup to get the names listed?

Thanks in advance.

Paul M 10-20-2006 01:31 AM

Has anyone viewed it yet ?



Quote:

Originally Posted by jgommel
Is there a modification I can make to only display the "Who has read a thread" at the bottom of the thread and remove it from the top?

Sorry if this has already been addressed.

Top ? You must have a customised template for that to happen.



Quote:

Originally Posted by dilbert
Hmm, not working. Any suggestions?

Not unless you are more specific than "not working"

Shazz 10-20-2006 01:42 AM

Quote:

Originally Posted by dilbert
Hmm, not working. Any suggestions?

This current version is for the 3.6.2
Are you trying to install on a 3.5.4?

YLP1 10-21-2006 01:48 AM

I installed the update but I members that visted are not showing up.
Is there a special cron job that I must setup in order for the viewing members to be listed?

Thanks in advance.

Shazz 10-21-2006 02:01 AM

Bugs in the new version just released?

Paul M 10-21-2006 03:52 AM

Quote:

Originally Posted by YLP1
I installed the update but I members that visted are not showing up.

Check the settings (like allowed udergroups) in vbulletin options, it's likely that the update will have reverted them to the defaults.

Paul M 10-21-2006 03:54 AM

Quote:

Originally Posted by Shazz
Bugs in the new version just released?

Is that a question or a statement ? If you think there is a bug then please post exact details.

Shazz 10-21-2006 04:06 AM

Quote:

Originally Posted by Paul M
Is that a question or a statement ? If you think there is a bug then please post exact details.

2 other people had problems, was just wondering, But it seems to be working well with the update. Thanx! :)

maaref 10-21-2006 11:55 AM

Thanks for the update.
I already have version (3.21) installed of this mod.

do i have to uninstall the one before first then install this one?

is the list of names under the thread will be deleted after the update?

Paul M 10-21-2006 04:45 PM

No, do not uninstall, just import the new version (with overwrite = yes). The names will not be lost, but you may need to redo your settings.

Silvio 10-23-2006 09:30 PM

TY Paul, installed again on 3.6.x.

In next release, will be possible to let date to be set as vBulletin settings are.
Example I have set to display today, yesterday on date display. so will be amazing that also this mod will follow the rules set in vB display parameters

ciao & take care

Please accept my apologize for my bad english

Paul M 10-23-2006 09:58 PM

I think that's unlikely, but we'll see when I next look at this.

maaref 10-24-2006 09:14 AM

Thanks Paul.
installed

Silvio 10-24-2006 12:06 PM

Quote:

Originally Posted by Paul M
I think that's unlikely, but we'll see when I next look at this.

ty in any case Paul, >You Rock!!

YLP1 10-24-2006 06:09 PM

Quote:

Originally Posted by Paul M
Check the settings (like allowed udergroups) in vbulletin options, it's likely that the update will have reverted them to the defaults.

I double checked the settings (admin is usergroup 6) and all seems to be set correctly.

What else could be causing no members to be listed?

I have posted a graphic of my settings screen and a graphic showing the who viewed table with no names in it.

This specific topic has 47 replies and over 400 views.

Paul M 10-24-2006 06:44 PM

Do you actually have records in the whoread table ?

YLP1 10-24-2006 08:38 PM

Quote:

Originally Posted by Paul M
Do you actually have records in the whoread table ?

I have a vb3_whoread table and in that table there are over 3300 records.

I have attached a graphic showing the first page of records.

Paul M 10-24-2006 10:27 PM

Perhaps I should have been clearer, I meant do you have records for that specific thread.

Also, those records displayed are very old (and missing the ip address ?) can you sort them in dateline order (desc) and post the most recent ones.

YLP1 10-25-2006 01:48 AM

Quote:

Originally Posted by Paul M
Perhaps I should have been clearer, I meant do you have records for that specific thread.

Also, those records displayed are very old (and missing the ip address ?) can you sort them in dateline order (desc) and post the most recent ones.

Hi Paul, do you mean do I have who read fields in the thread record?

I just want to make sure this is what I should look for.

I will also sort the table by dateline order and post.

YLP1 10-25-2006 02:11 AM

Ok, I took a guess at what fields you wanted in the thread table.

The first graphics are of a single record of a recent topic that has over 200 views. I had to break the graphic up into two because of the size.

One of the who fields is empty the other has a value.

The third graphic is the vb3_whoread table by dateline and descending.

Thank you for all your time in helping me with this issue. I appreciate it very much.

Paul M 10-25-2006 02:52 AM

The reason none are being displayed is clear from the whoread table - the newest record in it dates from 17 Aug 2006. Something is stopping the mod from adding records to the database.

Check the plugins and make sure you have the "Display Thread Readers (2)" plugin and it's enabled.

If it is then I would say another plugin connected to the showthread_complete hook is broken and preventing this from running - change the above plugin execution order from 5 to 4, that should mean it gets run first.

If that does mean records start getting added again then you should change it back to 5 and start disabling other plugins on that hook until it starts working - you have then found the broken hook.

YLP1 10-25-2006 08:34 PM

I disabled all plugins that had a showthread_complete hook and that didn't work.

So I disabled all plugins except CMPS and that didn't work either.

There is a hook with showthread_complete under the Vbulletin heading (refer to graphic) that I didn't touch because it looks like it's a core vb hook.

I have done the above and uninstalled the mod and reinsntalled and have the same problem.

Any other ideas?

Thanks in advance.

Paul M 10-25-2006 10:10 PM

Quote:

Originally Posted by YLP1
I disabled all plugins that had a showthread_complete hook and that didn't work.

So I disabled all plugins except CMPS and that didn't work either.

There is a hook with showthread_complete under the Vbulletin heading (refer to graphic) that I didn't touch because it looks like it's a core vb hook.

I have done the above and uninstalled the mod and reinsntalled and have the same problem.

Any other ideas?

Thanks in advance.

There are no core vb hooks.

That looks like a very old plugin from an early version of my mod. Disable it.

Other than that, there is nothing I can do unless you want to give me admin access.

Limerick 10-28-2006 03:32 PM

Hello Paul,

At line 83, you should use collapse_tcat instead of collapse_thread, it looks better, IMHO ;)

Thank you for your product :)

Shazz 10-28-2006 03:52 PM

Ever since I installed this, my attachment icons such as zip,notepad etc Don't show... Ive tried this out on 2 forums :(

Paul M 10-28-2006 06:41 PM

Quote:

Originally Posted by Limerick
At line 83, you should use collapse_tcat instead of collapse_thread, it looks better, IMHO ;)

It looks pretty much the same here, but technically tcat is correct, so I've changed it for the next version. :cool:


All times are GMT. The time now is 01:15 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.01541 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
  • (15)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