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)

misr.cc 09-14-2008 07:54 PM

Thanks Man it's work great

== Install ?? Nomin MOTM ==

Edit :- how i can stop it ??
every time i try to run it
i see this ( Bot is running. )

any help ??

iPodHacking.com 09-14-2008 09:09 PM

OK i decided to have another go at this file. I have been able to work out most of the errors i was getting based on feedback.

but i am still getting this last error and i have no clue why.I have done all the SQL queries and stuff.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mysite/public_html/botruns/vbbot.php on line 124

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mysite/public_html/botruns/vbbot.php on line 129
Using Method where it seems that all topics have been checked.

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/mysite/public_html/botruns/vbbot.php on line 147

inteller2k7 09-14-2008 10:04 PM

I was curious as to this error:
Fatal error: Call to undefined function curl_init() in /home/forum/public_html/vbbot.php on line 64
i take it this means curl is not installed?

Thanks

esperone 09-14-2008 10:31 PM

Quote:

Originally Posted by misr.cc (Post 1622184)
Edit :- how i can stop it ??
every time i try to run it
i see this ( Bot is running. )

any help ??

just add ?deletefile to the end of the bot.php file

(ie. http://www.yoursite.com/vbbot.php?deletefile)

The .txt file will be deleted. Now just run the bot file again and it will restart.

See the authors website which is in the installation file included with the mod.


Hscorp , did you add the mysql tables like the author said to do?

misr.cc 09-14-2008 11:11 PM

Quote:

Originally Posted by esperone (Post 1622258)
just add ?deletefile to the end of the bot.php file

(ie. http://www.yoursite.com/vbbot.php?deletefile)

The .txt file will be deleted. Now just run the bot file again and it will restart.

See the authors website which is in the installation file included with the mod.

Thanks :) Fixed :D

hscorp 09-15-2008 12:14 AM

Quote:

Originally Posted by esperone (Post 1622258)
just add ?deletefile to the end of the bot.php file

(ie. http://www.yoursite.com/vbbot.php?deletefile)

The .txt file will be deleted. Now just run the bot file again and it will restart.

See the authors website which is in the installation file included with the mod.


Hscorp , did you add the mysql tables like the author said to do?

yea it was working good with first 25 topics

FRANKTHETANK 2 09-15-2008 12:51 AM

This is the problem I keep getting any one willing to help me?

When i go to this link
http://www.gaminghax.com/forum/exp.BOT/vbbot.php

I get this error

Warning: require_once(/includes/config.php) [function.require-once]: failed to open stream: No such file or directory in /home/gamingha/public_html/forum/exp. 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/gamingha/public_html/forum/exp. BOT/vbbot.php on line 28

But when I refresh it it says
Bot is running


All i get is a screen saying bot is running. What do I do next, how do I tell that it's working, were do I go to see if it's working.

Dman91 09-15-2008 02:48 AM

Frankthetank 2 .. check your post on MaxWCoders
HSCorp your mysql connection is timing out... tell your server admin to raise it or wait for next version which will auto connect
The person who got curl_init unknown function, curl is not installed.

Kaycee123 09-15-2008 05:37 AM

I have tried to set this so that the bot doesn't recheck the forum where the expired links were already put from a previous scan. However, it still is rechecking all those links - have I set something wrong?

PHP Code:

// Start of user defined variables
$trash '146'//Forum id of trash
$botid '1015'//Userid of bot
$botname 'Linkbak'//Username of bot
$check '`forumid` != 47 OR `forumid` != 146';//Forums to check 
$pa '
Links checked on ' 
date('d/m/y'). ' by link checker bot'//This will append this at the end of the checked post
$ppa '<br /> Links checked on ' date('d/m/y'). ' by link checker bot'//VB uses a caching technique, this will append it to end of parsed post. This is HTML!
$perd '1'//Percent decision variable.
$tr "More than $perd percent on the links are dead that is why the topic is moved to Expired Links"// This is the reply in the topic.
$pmt 'I have moved your topic to Expired Links'// PM Title
$reportforumid '147'//This is where bot will make new topics stating reports
$showurl 'http://www.iwillfollowu2.com/showthread.php?t='//Your URL
//Check Line 226 to edit PM message.
//End of user defined variables. Don't edit below this line. No really don't. 


Also, I try running that delete command to remove the botsrun.txt file but it doesn't remove it.

Dman91 09-15-2008 06:16 AM

indeed, it was my bad
Replace this by
Code:

$check = '`forumid` != 47 OR `forumid` != 146';//Forums to check
Whenever you use != to check, use AND
this
Code:

$check = '`forumid` != 47 AND `forumid` != 146';//Forums to check


All times are GMT. The time now is 11:37 PM.

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.01542 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)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