vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Administrative and Maintenance Tools - vb Linkchecker Bot 1.1 (https://vborg.vbsupport.ru/showthread.php?t=190407)

fordsho 09-10-2008 08:58 PM

Quote:

Originally Posted by Dman91 (Post 1619267)
Ask your administrator to install cURL in PHP.

Thanks Dman rebuilding apache now.

fordsho 09-10-2008 09:07 PM

OK question what is the best way to set the bot to run every 24hrs.

Im guessing Scheduled Task Manager and set one to run every 24hrs then one to delete every 23hrs sound good?

iPodHacking.com 09-10-2008 09:15 PM

Quote:

Originally Posted by rmxs (Post 1619403)
Yes work on code..

If you get this message there is the log file in the folder try this /bot.php?deletefile

and then run the bot again

OK thanks

iPodHacking.com 09-10-2008 09:16 PM

Also. Do i have to run the script manually to make it check the links. Or does it do it by its self?

f4vn 09-10-2008 10:46 PM

What happen if my board's thousands of threads and ~10 links in each thread ... when you run this bot may be it become a DDoS tool :D

iPodHacking.com 09-10-2008 11:26 PM

Hey when i run the vbbot.php the first time i get this error"Warning: require_once(/includes/config.php) [function.require-once]: failed to open stream: No such file or directory in /home/mysite/public_html/bot/vbbot.php on line 28

Fatal error: require_once() [function.require]: Failed opening required '/includes/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/bot/vbbot.php on line 28"

And if i press refresh it says :Bot is running.
But it hasn't checked any links after running for 3 hours. So i think there might be an error

FRANKTHETANK 2 09-10-2008 11:35 PM

I keep getting this error when I run my sql queries.

Error

SQL query:

ALTER TABLE `thread` ADD `time_check` INT( 10 ) NOT NULL DEFAULT '0' AFTER `taglist`

MySQL said: Documentation
#1060 - Duplicate column name 'time_check'

Any Idea's

edermix 09-11-2008 12:19 AM

Thank you friends, succeed, but still left me some doubts:

-- Active status active on the links that are inactive, the right not appear deria Bouncing?

-- The length of time of MySQL is very short: 15 seconds, changed here:

Quote:

echo 'Now script will pause for 15 seconds';
Sleep (15);
For 50 (sleep) but did not work, I have to be deleting this file and restarting always, to finish?

Thank you!

sarkar 09-11-2008 01:09 AM

Quote:

Originally Posted by iPodHacking.com (Post 1619500)
Hey when i run the vbbot.php the first time i get this error"Warning: require_once(/includes/config.php) [function.require-once]: failed to open stream: No such file or directory in /home/mysite/public_html/bot/vbbot.php on line 28

Fatal error: require_once() [function.require]: Failed opening required '/includes/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/bot/vbbot.php on line 28"

And if i press refresh it says :Bot is running.
But it hasn't checked any links after running for 3 hours. So i think there might be an error

If its in the directory called exp use ./includes/config.php

Quote:

Originally Posted by FRANKTHETANK 2 (Post 1619506)
I keep getting this error when I run my sql queries.

Error

SQL query:

ALTER TABLE `thread` ADD `time_check` INT( 10 ) NOT NULL DEFAULT '0' AFTER `taglist`

MySQL said: Documentation
#1060 - Duplicate column name 'time_check'

Any Idea's

U have to do it once.

sarkar 09-11-2008 01:19 AM

Quote:

Originally Posted by iPodHacking.com (Post 1619420)
Also. Do i have to run the script manually to make it check the links. Or does it do it by its self?

You can set up a cron and make it run every xx hours or minutes

Quote:

Originally Posted by fordsho (Post 1619411)
OK question what is the best way to set the bot to run every 24hrs.

Im guessing Scheduled Task Manager and set one to run every 24hrs then one to delete every 23hrs sound good?

Use cron. Its ur call. It depends on ur board size and no of threads and posts to check. Our next version would have the product installer and so I think u can use the vB Task Manager then.

Quote:

Originally Posted by f4vn (Post 1619478)
What happen if my board's thousands of threads and ~10 links in each thread ... when you run this bot may be it become a DDoS tool :D

Password protect the directory where the bot lies.. somewhere likke inside admincp a directory called secretstuff :D and password protect it, so that no one else can misuse it.


All times are GMT. The time now is 11:12 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.01402 seconds
  • Memory Usage 1,745KB
  • 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
  • (8)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