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: 157
Released: 09 Sep 2008 Last Update: 10 Dec 2008 Downloads: 1465
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.
  #91  
Old 11 Sep 2008, 12:06
rmxs's Avatar
rmxs rmxs is offline
 
Join Date: Apr 2006
Question : Would you guys like a feature to change methods ?
Ok lets say that i check my forums today..and tomorow rapidshare delete from theold posts some links...what happends if the bot doesnt allow me to scan?..

I thing method must be in hours not in checks ex dont rescan the same topics same day in 2 days etc..Byt this musy be a user option
__________________
:banana::bunny: :banana:
Reply With Quote
  #92  
Old 11 Sep 2008, 12:50
pierians pierians is offline
 
Join Date: May 2008
Could you add netload.in to the servers in your update?
Reply With Quote
  #93  
Old 11 Sep 2008, 14:49
Nightcast Nightcast is offline
 
Join Date: Apr 2007
Thanks, but I will wait for the update.
Reply With Quote
  #94  
Old 11 Sep 2008, 17:43
Dman91 Dman91 is offline
 
Join Date: Sep 2008
@pierians add this after megaupload (or wherever u want just not the last)

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

Reply With Quote
  #95  
Old 11 Sep 2008, 17:58
pierians pierians is offline
 
Join Date: May 2008
Originally Posted by Dman91 View Post
@pierians add this after megaupload (or wherever u want just not the last)

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

I have problem with mediafire and ifile files.
They are active but the bot send the threads to thrash...
Reply With Quote
  #96  
Old 11 Sep 2008, 19:42
iPodHacking.com iPodHacking.com is offline
 
Join Date: Nov 2007
When i run the delete script i get this error
"Warning: unlink(botruns.txt) [function.unlink]: Permission denied in /home/mysite/public_html/vbbot.php on line 16
File Deleted"

I manually deleted the botruns.txt
And i got this error
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 124

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

Warning: unlink(botruns.txt) [function.unlink]: No such file or directory in /home/mysite/public_html/vbbot.php on line 294

This needs major help.
Reply With Quote
  #97  
Old 11 Sep 2008, 19:44
FRANKTHETANK 2's Avatar
FRANKTHETANK 2 FRANKTHETANK 2 is offline
 
Join Date: Sep 2006
I got it to do the queries now it's time to move on to the next step

Last edited by FRANKTHETANK 2; 11 Sep 2008 at 23:59.
Reply With Quote
  #98  
Old 11 Sep 2008, 23:57
FRANKTHETANK 2's Avatar
FRANKTHETANK 2 FRANKTHETANK 2 is offline
 
Join Date: Sep 2006
I just can't get this to work I'm getting the same problem as IPodHacking.com. And when I did what you said to do to fix the problem it still didn't work. Any other idea's or suggestions.
Reply With Quote
  #99  
Old 12 Sep 2008, 01:16
musicconvict musicconvict is offline
 
Join Date: Jul 2008
thank you very much
Reply With Quote
  #100  
Old 12 Sep 2008, 01:47
iPodHacking.com iPodHacking.com is offline
 
Join Date: Nov 2007
arse error: syntax error, unexpected T_STRING in /home/*******/public_html/vbbot.php on line 37

// Start of user defined variables
$trash = '46'; //Forum id of trash
$botid = '36'; //Userid of bot
$botname = 'Link Checker Bot'; //Username of bot
$check = '`forumid` != 46 ; //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 = '5'; //This is where bot will make new topics stating reports
$showurl = 'http://mysite/forumdisplay.php?f=46'; //Your URL
//Check Line 226 to edit PM message.
//End of user defined variables. Don't edit below this line. No really don't.

And i can't figure it out.
Reply With Quote
  #101  
Old 12 Sep 2008, 02:08
sarkar sarkar is offline
 
Join Date: Jan 2006
Hey iPodHacking, can u PM me your bot.php?


And for the errors above for u and Frank I think its a chmod problem, try chmodding the bot and the folder it is in to 777 (or 755 on some hosts) and try it out.
Reply With Quote
  #102  
Old 12 Sep 2008, 04:06
Dman91 Dman91 is offline
 
Join Date: Sep 2008
Ifile it wasnt included ? Can you give me the file URL of mediafire which bot bins incorrectly.
Reply With Quote
  #103  
Old 12 Sep 2008, 04:42
edermix's Avatar
edermix edermix is offline
 
Join Date: Aug 2008
My vbbot not send the MP's to users. Everything is set up, how do I?
Reply With Quote
  #104  
Old 12 Sep 2008, 05:33
rmxs's Avatar
rmxs rmxs is offline
 
Join Date: Apr 2006
Originally Posted by edermix View Post
My vbbot not send the MP's to users. Everything is set up, how do I?
Post your bot.php file..
__________________
:banana::bunny: :banana:
Reply With Quote
  #105  
Old 12 Sep 2008, 05:43
Kaycee123 Kaycee123 is offline
 
Join Date: Jun 2007
I ran this last night and it worked great. I'm just a bit confused about exactly how this runs. Just a couple of questions:


When I try to run it again today, I just get a message "Bot is running". Does that mean that the bot is constantly checking links?? Or do I need to run it manually every day? If I delete the botruns.txt file manually I can run the program again but then everyone gets pm's again about their links.

When I look in the botruns.txt file it only has a 1 - is that what its supposed to have?

What does the program do with threads it has already checked? Will it check them again each time it is run? I set the forum where the dead ones were being moved to as one of the forums that isn't checked.

I set up a report forum and got a message the first time I ran it, but nothing since then. Is that normal?
__________________
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 17:09.

Layout Options | Width: Wide Color: