vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - FA Self Destruct Thread (https://vborg.vbsupport.ru/showthread.php?t=132476)

punjabi.king 11-10-2008 09:00 PM

waiting for the update

n.sinha.p 01-10-2009 09:20 AM

I get this weird error whenever I set a thread to self destruct:
Quote:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
Pls help!

Milad 02-06-2009 10:50 AM

Hello

Your hack causes performance issues, this is because the plug-in at the hook: global_start

PHP Code:

global $vbulletin;
$vbulletin->db->query_write("UPDATE ".TABLE_PREFIX."thread SET forumid='".$vbulletin->options['fa_selfdest_forum']."', selfdest='0' WHERE ".time()." > selfdest AND selfdest!='0'"); 

You can't perform that query on every page load! it's pretty bad idea.

it's better to move this plug-in to the hook: cron_script_cleanup_hourly

Regards

externalaw.com 03-22-2009 03:31 PM

Security token error.
Pretty cool mod, but can it be updated and improved perhaps for 3.8.1 for now I had to remove it.

solidstate 01-14-2010 06:49 PM

Security token error please!
can u please update it :(


All times are GMT. The time now is 12:55 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.01017 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_php_printable
  • (1)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
  • (5)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