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)

PoetJA-1975 08-14-2007 06:40 PM

Thanx PAUL M - very nice modification & should help with getting peeps to comment on threads! One question: Where are the settings at? Can't see any in Thread Display Options...

/me clicks install

Jacquii.

Paul M 08-14-2007 08:21 PM

The setting are in vbulletin options.

xenon58 08-17-2007 08:58 PM

thanks for a great Mod Paul. I've clicked on istalled, but ...

while installing this on my forum, my pc decided to do a reboot all of a sudden, while in the process of installing. once i got that issue sorted, i went to ACP to check if it was installed or not, and of course Who read the thread was not one of the options, so I've decided to install it again, and used overwrite option while doing so. The process started, but here is what I get
Code:

Cleaning up rougue settings
Installing Table
Data Copy - Processing 1199 Records
Processed 1000 Records

and nothing else is going on after that. no pages are loaded, everything just stays at that page. So if I go back to ACP-Options, there is no entry for Who read this thread, and of course no option to uninstall in the products page.

Can you please tell me how can I fix this? Is there a way to remove this manually and re-install from scratch? I swear I dont know what to do with this.

thnx in advance for the time and help.

Paul M 08-17-2007 09:38 PM

For some reason it's failing to process your threadread table. I cannot really guess as to why, perhaps you have very low memory settings.

Since it obviously managed the first 1000 okay you could simply edit the product XML slightly to limit it to 1000 records.

Around line 47 of the XML you should see a line that ends with LIMIT 10000 - change that to LIMIT 1000 and then try again.

xenon58 08-17-2007 09:55 PM

thank you very much for your quick respond, I do appreciate it.

I've followed your advise, and its line #45 to be exact (not to make fun of you, but in case someone else will be looking for it) and I did changed it to 1000. Unfortunately, here is what I've got ...
Code:

Cleaning up rougue settings
Installing Table
Data Copy - Processing 1000 Records

I was thinking maybe I should manually delete whoread table, and see if I would be able to re-install it, but is it the only table that is created and responsible for this mod, or there are others?

thanks again for the time and help, it is greatly appreciated

Paul M 08-17-2007 11:57 PM

Quote:

Originally Posted by xenon58 (Post 1319909)
I've followed your advise, and its line #45 to be exact (not to make fun of you, but in case someone else will be looking for it) and I did changed it to 1000

That's actually quite interesting, because it's most definitely line 47.

So, either you are manually counting and made a mistake, or the file you have is somehow corrupt. Please download the zip again and re-extract the file. Having done that, confirm that you have 586 lines in total, and that line 47 is this ;

PHP Code:

$data $vbulletin->db->query_read_slave("SELECT * FROM ".TABLE_PREFIX."threadread ORDER BY readtime DESC LIMIT 10000"); 


xenon58 08-18-2007 06:19 AM

Quote:

Originally Posted by Paul M (Post 1319961)
So, either you are manually counting and made a mistake, or the file you have is somehow corrupt. Please download the zip again and re-extract the file. Having done that, confirm that you have 586 lines in total, and that line 47 is this ;

PHP Code:

$data $vbulletin->db->query_read_slave("SELECT * FROM ".TABLE_PREFIX."threadread ORDER BY readtime DESC LIMIT 10000"); 


i stand corrected, you are right, it is line #47. I've opened it in another editor, and used a command to show line numbers, it is a 47 indeed.
Code:

$data = $vbulletin->db->query_read_slave("SELECT * FROM ".TABLE_PREFIX."threadread ORDER BY readtime DESC LIMIT 1000");
As I've mentioned above, I did changed the number to a 1000, but still no go. Can you please tell me if the idea of manually removing whoread table from db and reinstalling this mod again might fix the issue? Again, thanks a lot for the time and help

Paul M 08-18-2007 09:51 AM

I can't see that your suggestion would make any difference, please PM me an admin login to your forum so I can look at what is happening.

xenon58 08-20-2007 04:17 PM

Paul, sorry for being quet, was out for a weekend. I see that I forgot to mention the fact that this was a local install, but nonetheless, I will try to install this on my live forum and see whats going on. At this point I cant access my local forum because of a hw failure, so I'm thinking maybe something was going on there while I was trying to figure out why it didnt install. As soon as I have it installed, I will post here.

Again, thank you very much for your time and help, it is greatly appreciated.

[EDIT]

As promissed, here is a small report. Once I've got everything re-installed and fixed and all that good stuff, I've tried again to install this hack. It didnt go again, same error as above, so I've followed your tip and made a change to a LIMIT. This time, instead of 1000, I went with a 100, and it got installed and it works perfectly. Thank you again for your time and help.

all the best!

beduino 08-22-2007 08:12 PM

Hello,
In my style default the hack works, but in other [customized] no.
I read we can edit templates manually.
Where are the instructions? [which templates and how edit ...]
Tks in advance,
Beduino


All times are GMT. The time now is 02:30 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.02047 seconds
  • Memory Usage 1,751KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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