Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vb Linkchecker Bot 1.1 Details »
vb Linkchecker Bot 1.1
Mod Version: 1.1, by sarkar (Member) sarkar is offline
Developer Last Online: Jan 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (16 votes - 4.88 average) Installs: 156
Released: 09 Sep 2008 Last Update: 10 Dec 2008 Downloads: 1464
Not Supported DB Changes Uses Plugins Additional Files Translations  

MaxWCoders present vB Link Checker Bot 1.1

===========
DESCRIPTION
===========

1) Checks Rapidshare.de , Rapidshare.com , Sendspace.com , Megaupload.com , Depositfiles.com and Mediafire.com links using cURL.
2) Works for post with all BBCodes.
3) Bins the post if more than specified percent of dead links are found , pms the user about it and posts in that topic
4) If all links are alive it adds specified message at the end of the post and the description.
5) If some links are live and some are dead i.e less than specified % , it makes a thread in a specified forum about it
6)Has a debug mode, to help you debug the errors.
7)Bot doesn't timeout due to MySQL timeout or PHP timeout.
8)It is a product, can be imported and settings can be changed easily.
9)Methods are accessible with keywords.

VBBot Installation How-To
=========================

1. Upload vbbot.php to your root folder where your VB installation is
Note : If you had older version of the bot, delete vbbot.php (or the folder) and replace it by new one.

2. Goto your ACP and go to 'Plugins & Products' and then click on 'Manage Products'

3. In the top box eneter the location of the product-link_bot.xml file on your computer
and then click the 'Import' button.

4. You have just installed the VB Link Checker bot.

5. If you had older version of the bot, delete vbbot.php (or the folder) and replace it by new one.


Setting up and configuring your VB Link Checker
===============================================

1. Create a new user that will be used for your Link Checker Bot. Make sure the bot has
the appropriate permissions for where it will be posting. (ie, VIP/Private forums)

2. Create the forums you will be using for good and bad links if you have not done so already.

3. Goto vBulletin Opions and select the MaxWCoders LinkChecker Bot.

4. All the options/setting are pretty self explanatory and each option has the description
of what the setting are for and do. Refer the the bottow of this Read Me of finding the
correct IDs you will need if you are not sure where to look.

5. Once you have everything set up hit the save button at the bottom.


Security
========
1. For security reasons, it is highly recommended you rename your bot to something else for instance 63454.php

Running your Link Checker Bot
=============================

1. You can run the bot by setting up a Cron job to run at a set time so you will not have to
run it manually. This can be found in your cPannel of your server.

2. You can call it manually by running vbbot.php (ie. http://www.siteurl.com/vbbot.php)

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 address 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.

================================================================================ =====






Bot in action




Script support on

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Read the glossary included in the RAR and ZIPs.

Get them at

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Changelog:
1.0 - 1.1 -> Bug fixes and Product installer

Bugs:

Unfortunately due to time constraints due to exams, I am not able to find the bug fix for the PM bug. Whenever bot tries to PM a certain member with PM disabled, or something similar, it returns a big error. So far only fix for it is, disable PM for that topic and run it again. Maybe after my exams, I can have a better look. Other than that, the new version is just fine

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #61  
Old 10 Sep 2008, 21:49
pierians pierians is offline
 
Join Date: May 2008
Thnx a lot!
Works perfect on 3.7.1
Reply With Quote
  #62  
Old 10 Sep 2008, 21:49
rmxs's Avatar
rmxs rmxs is offline
 
Join Date: Apr 2006
Originally Posted by iPodHacking.com View Post
Hey i am getting this error
Parse error: syntax error, unexpected T_STRING in /home/mysite/public_html/vbbot.php on line 37

Can anyone help?
Replace with this

Links checked on ' . date('d/m/y'). ' by Link Check Bot'; //This will append this at the end of the checked post
__________________
:banana::bunny: :banana:
Reply With Quote
  #63  
Old 10 Sep 2008, 21:52
rmxs's Avatar
rmxs rmxs is offline
 
Join Date: Apr 2006
If i make this `forumid` = 2 OR `forumid` = 3 OR `forumid` = 4 OR `forumid` = 5 OR `forumid` = 6

Its ok for more forums search?
__________________
:banana::bunny: :banana:
Reply With Quote
  #64  
Old 10 Sep 2008, 22:00
iPodHacking.com iPodHacking.com is offline
 
Join Date: Nov 2007
I am still getting the same error. Even when replaceing that
Reply With Quote
  #65  
Old 10 Sep 2008, 22:19
rmxs's Avatar
rmxs rmxs is offline
 
Join Date: Apr 2006
Replace also this...

// Start of user defined variables
$trash = '209'; //Forum id of trash
$botid = '3'; //Userid of bot
$botname = 'Port_Wolf_Check'; //Username of bot
$check = '`forumid` = 222'; //Forums to check
$pa = '
Make sure that you dont have delete any ; or $
__________________
:banana::bunny: :banana:
Reply With Quote
  #66  
Old 10 Sep 2008, 22:23
iPodHacking.com iPodHacking.com is offline
 
Join Date: Nov 2007
Ok i did that now i get this
"Warning: fopen(botruns.txt) [function.fopen]: failed to open stream: Permission denied in /home/mysite/public_html/vbbot.php on line 25

Warning: fclose(): supplied argument is not a valid stream resource in /home/mysite/public_html/vbbot.php on line 26

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

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mysite/public_html/vbbot.php on line 128
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/vbbot.php on line 146

Warning: unlink(botruns.txt) [function.unlink]: No such file or directory in /home/mysite/public_html/vbbot.php on line 293"
Reply With Quote
  #67  
Old 10 Sep 2008, 22:33
rmxs's Avatar
rmxs rmxs is offline
 
Join Date: Apr 2006
Originally Posted by iPodHacking.com View Post
Ok i did that now i get this
"Warning: fopen(botruns.txt) [function.fopen]: failed to open stream: Permission denied in /home/mysite/public_html/vbbot.php on line 25

Warning: fclose(): supplied argument is not a valid stream resource in /home/mysite/public_html/vbbot.php on line 26

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

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mysite/public_html/vbbot.php on line 128
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/vbbot.php on line 146

Warning: unlink(botruns.txt) [function.unlink]: No such file or directory in /home/mysite/public_html/vbbot.php on line 293"
Ok create a folder at your forum root with name exp. BOT chmod this folder to 777

Change line ~28 with
require_once "../includes/config.php"; //assumes this is in vb folder
you access now with domain.com/BOT/bot.php
__________________
:banana::bunny: :banana:
Reply With Quote
  #68  
Old 10 Sep 2008, 22:45
iPodHacking.com iPodHacking.com is offline
 
Join Date: Nov 2007
ok thanks. Now i get this
Bot is running

Is that normal
Reply With Quote
  #69  
Old 10 Sep 2008, 22:50
iPodHacking.com iPodHacking.com is offline
 
Join Date: Nov 2007
also does this check links in [code] tags?
Reply With Quote
  #70  
Old 10 Sep 2008, 22:55
rmxs's Avatar
rmxs rmxs is offline
 
Join Date: Apr 2006
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
__________________
:banana::bunny: :banana:
Reply With Quote
  #71  
Old 10 Sep 2008, 22:58
fordsho fordsho is offline
 
Join Date: Jan 2008
Originally Posted by Dman91 View Post
Ask your administrator to install cURL in PHP.
Thanks Dman rebuilding apache now.
Reply With Quote
  #72  
Old 10 Sep 2008, 23:07
fordsho fordsho is offline
 
Join Date: Jan 2008
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?
Reply With Quote
  #73  
Old 10 Sep 2008, 23:15
iPodHacking.com iPodHacking.com is offline
 
Join Date: Nov 2007
Originally Posted by rmxs View Post
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
Reply With Quote
  #74  
Old 10 Sep 2008, 23:16
iPodHacking.com iPodHacking.com is offline
 
Join Date: Nov 2007
Also. Do i have to run the script manually to make it check the links. Or does it do it by its self?
Reply With Quote
  #75  
Old 11 Sep 2008, 00:46
f4vn f4vn is offline
 
Join Date: Apr 2007
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:56.

Layout Options | Width: Wide Color: