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=197487)

AndyCr15 04-25-2009 07:57 AM

Where am I supposed to see the results of this plugin? I've added it, no errors, says it's all on in the options, but I don't see any extra's in a thread?

Paul M 04-25-2009 10:19 AM

Quote:

Originally Posted by nonspin (Post 1798568)
old version only has
PHP Code:

$oldpid 'paulm_20050716'

set

while the new has
PHP Code:

// Start v3.8.003 //
$pidlist = array(
'paulm_20050716',
'paulm_wrt_38',
); 


Erm, where did you get that code from ?

This does not contain that code, it has the following ;

PHP Code:

$pidlist = array(
'paulm_20050716',
'paulm_wrt_37',
); 

Note that it is wrt_37, not wrt_38.

paulm_wrt_38 is this product, if it tried to delete itself on installation, I have no idea what would happen, but I doubt it would be good. Download the proper version from the first post, and install it.

nonspin 04-25-2009 02:05 PM

sorry, it was a typo on my side.
Anyway, upon install it removes the existing one.

Like i said, because the update proicedure checks a list of pids
to cover older and newser versions..

PHP Code:

$pidlist = array( 
'paulm_20050716'
'paulm_wrt_38'

.. since 'foreach' is used it processes the complete $pidlist.
if 'paulm_20050716' is found, the whole pidlist will be processed.
-> 'foreach'

.. Now .. to me trying the DELETE a not existing productid from the db might cause
some errors, -> Error Number : 2006 to be exact.


... but then again, what do i know.






Paul M 04-25-2009 05:41 PM

Quote:

.. since 'foreach' is used it processes the complete $pidlist.
if 'paulm_20050716' is found, the whole pidlist will be processed.
Yes, the whole list will be processed, but if you actually read the code, you would see that each product is checked to see if its installed, and only deleted if it exists.


Quote:

.. Now .. to me trying the DELETE a not existing productid from the db might cause
some errors, -> Error Number : 2006 to be exact.
Nope, a record not existing will not cause that error.


Quote:

... but then again, what do i know.
;)

nanaimobar 04-27-2009 03:45 PM

Quote:

Originally Posted by hornstar1337 (Post 1791465)
I just had an idea from this mod. MAybe you could create a new mod called "who has downloaded an attachment" and that way you can see which members have downloaded the attachment. Might be useful to know that info.

There is an older mod for what you want, and which allows you to freely copy his code and reuse it as long as it is for free, and works on 3.8.

Mod and my comments on it are here.

TheeMadame 05-13-2009 09:04 PM

I just downloaded this to my computer to upload to my message board.
Upon my attempt to install it as a plug in, it gives me this message: XML Error: empty document at line one.
I apologize, but I don't know what this means, can anyone help?

odln018 05-15-2009 02:58 PM

Just got this upon attempting to import.

Database error in vBulletin 3.8.2:

Invalid SQL:
INSERT DELAYED INTO whoread
(userid, threadid, dateline, ipaddress)
VALUES (1, 367, 1242237395, '');

MySQL Error : DELAYED option not supported for table 'whoread'
Error Number : 1616
Request Date : Friday, May 15th 2009 @ 10:54:22 AM

Paul M 05-15-2009 07:15 PM

That probably means your table is not MYISAM format - which is the normal default.

TheeMadame 05-16-2009 01:02 AM

Finally got it installed, works good, thanks. :)

odln018 05-16-2009 01:19 AM

Quote:

Originally Posted by Paul M (Post 1811417)
That probably means your table is not MYISAM format - which is the normal default.

How would I fix this? Ok, I resolved this.

How do I get the mod to actually appear? I'm not sure of how this works: showthread_after_activeusers


All times are GMT. The time now is 06:33 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.01316 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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