First goto phpmyadmin and execute the following SQL queries
=====================================================================================
ALTER TABLE `vb_thread` ADD `time_check` INT( 10 ) NOT NULL DEFAULT '0' AFTER `taglist` ;
ALTER TABLE `vb_thread` ADD `ignore_check` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `time_check` ;
Note: Where vb_ is the forum table prefix. Yours may be different so you may need to
change it to mach the prefix of your database tables.
=====================================================================================
Then open up and configure the user set variables in vbbot.php shown below.
=====================================================================================
// Start of user defined variables
$trash = 'Enter forum ID here'; //Forum id of trash
$botid = 'Enter BOT user ID here'; //Userid of bot
$botname = 'Enter the User Name of your BOT here'; //Username of bot
$check = '`forumid` = 2'; //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 = '75'; //Percent decision variable.
$tr = "More than $perd percent on the links are dead that is why the topic is moved to trash"; // This is the reply in the topic.
$pmt = 'I have moved your topic to trash'; // PM Title
$reportforumid = 'Enter Report Forum ID here'; //This is where bot will make new topics stating reports
$showurl = 'http://Enter your full forum URL here/showthread.php?t='; //Your URL
=====================================================================================
NOTE: Here is some examples for setting up what forums to check if you have more
than one forum to check
Forums to check syntax
`forumid` = 2 OR `forumid` = 3 (This will check both forum id 2 and 3)
`forumid` != 2 OR `forumid` != 3 (This will all forums EXCEPT forum id 2 and 3)
Note: The forums to check must be forums and or sub forums and not categories.
=====================================================================================
If you decide to change the bot message that is shown below
$pa = '
Links checked on ' . date('d/m/y'). ' by link checker bot'; //This will append this at the end of the checked post
It must match this one below other wise the bot will not work correctly.
$post = preg_replace("/Links checked on(.*)by link checker bot/" , "" , $post); //Replace if it is already checked by LC bot
I recommend not changing them. If you dont know what you are doing here leave them alone.
=====================================================================================
How to find all of your needed IDs.
How to find your forum ID:
Just goto the forum in question and the URL will look like the one below.
http://www.yourwebsite.com/forumdisplay.php?f=18 <--- The number at the end of the URL
will be the forum ID. In this example
it is 18.
---------------------------------------------------------------------------
How to find your user ID
Find the user that is going to be your bot and click on the user name.
Now look at the URL in the adress bar. It should look something like the one below
http://www.yourwebsite.com/member.php?u=2 <--- The number at the end of the URL will be
the user ID. In this example the user ID
is 2.
=====================================================================================
Next upload vbbot.php to your root folder and you can either call it anytime you
would like to run the BOT or you can set up a cron to run it automaticly at the
desired time of your choice.
For more Support goto
MaxW Coders • Index page
Done