The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vb Linkchecker Bot 1.1 Details »» | |||||||||||||||||||||||||
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 Code:
www.maxwcoders.com Get them at Code:
http://www.maxwcoders.com/bots/downloads/vbbot11.rar 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 Supporters / CoAuthors Show Your Support
|
Comments |
#232
|
|||
|
|||
Quote:
Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/isocube1/public_html/forum/vbbot.php on line 124 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/isocube1/public_html/forum/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/isocube1/public_html/forum/vbbot.php on line 147 |
#233
|
|||
|
|||
I like to mantain the thread in the same place (original forum).
In other words, I don?t like the post move to trash, only receive the PM. The line: $trash = 'Enter forum ID here'; //Forum id of trash Can be as original ? To not be moved to trash Thanks ! |
#234
|
||||
|
||||
Hello,
I am getting the error: Parse error: syntax error, unexpected T_VARIABLE in /home/***/public_html/upgrid/vbbot.php on line 36 Note: When submitting the sql query I got the following error: Quote:
Thanks |
#235
|
|||
|
|||
@digitalnorte - Make $perd more than 100
@andrewtr89 - Pm bot file @Distance - ALTER TABLE `thread` ADD `time_check` INT( 10 ) NOT NULL DEFAULT '0' - run that and PM bot file |
#236
|
|||
|
|||
Thanks for this mod! BUT I Have a question. Is there a way for the bot to have a small message below the links to say it the links are good or not? IE good links bots message is green...bad links message is red?
Thanks |
#237
|
|||
|
|||
Optional feature in next version
|
#238
|
|||
|
|||
Dman, Thanks so much !
Trying with $perd = 101 With $perd variable more grat than 100 I will receive only the PM. TKS Again, INSTALLED ! :up: |
#239
|
|||
|
|||
i made a folder and chmodded it to 777 and put the vbbot.php in it and get this
Warning: require_once(includes/config.php) [function.require-once]: failed to open stream: No such file or directory in /home2/name/public_html/mysiteurl/forums/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 /home2/name/public_html/mysiteurl/forums/bot/vbbot.php on line 28 i fixed that issue how do you add multiple forums id to be checked i tried i get other errors Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home2/name/public_html/mysiteurl/forums/bot/vbbot.php on line 124 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home2/name/public_html/mysiteurl/forums/bot/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 /home2/name/public_html/mysiteurl/forums/bot/vbbot.php on line 147 |
#240
|
||||
|
||||
Code:
ALTER TABLE `thread` DROP COLUMN `time_check`; ALTER TABLE `thread` DROP COLUMN `ignore_check`; My problem was that I had a lot of forums (about a dozen) I wanted checked and anytime I added them all I got was a 500 error. |
#241
|
|||
|
|||
howcome, PM me bot file
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|