Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Linkchecker Bot Details »»
Linkchecker Bot
Version: 1.00, by Web4xs Web4xs is offline
Developer Last Online: Mar 2010 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.8.x Rating:
Released: 08-03-2009 Last Update: 08-03-2009 Installs: 36
DB Changes Uses Plugins
Additional Files  
No support by the author.

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

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

1. Upload bot.php to your root folder where your VB installation is
2. Change your mysql in bot.php
Quote:
$config['Database']['dbname'] = 'CHANGE DBNAME';
$config['MasterServer']['username'] = 'CHANGE DBUSER';
$config['MasterServer']['password'] = 'CHANGE PASSWD';
$config['Database']['tableprefix'] = 'CHANGE PREFIX';
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. Add New Scheduled TaskYou
5. have just installed the Link Checker bot.
6. If you had older version of the bot, delete bot.php (or the folder) and replace it by new one.

==================================
Setting up and configuring your 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 Web4xs 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 yourname.php

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

1. You can only run the bot by setting up a Scheduled Task on Vbulletin =========================
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=20 <--- The number at the end of the URL
will be the forum ID. In this example
it is 20.

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=1 <--- The number at the end of the URL will be
the user ID. In this example the user ID
is 1.

Linkchecker Bot is based on the old mod VB Linkchecker..
Web4xs Linkchecker Bot will be update always to new versions.

Download Now

File Type: zip linkcheck-v1.0.zip (9.0 KB, 301 views)

Screenshots

File Type: png config-1.png (51.8 KB, 0 views)
File Type: png config-2.png (53.8 KB, 0 views)
File Type: png config-3.png (28.2 KB, 0 views)
File Type: png Sheduled-Task.png (32.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-06-2009, 09:17 AM
esperone esperone is offline
 
Join Date: Feb 2006
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looking good
Reply With Quote
  #13  
Old 08-06-2009, 11:34 AM
thedvs thedvs is offline
 
Join Date: May 2002
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this bot check multiple posts in 1 thread?

say someone posts 1 topic with links, then someone replies with more links.. etc
Reply With Quote
  #14  
Old 08-06-2009, 02:52 PM
Web4xs Web4xs is offline
 
Join Date: Aug 2009
Location: Netherlands
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thedvs View Post
does this bot check multiple posts in 1 thread?

say someone posts 1 topic with links, then someone replies with more links.. etc
Yes all links he check's.
Also when you have 1000 links in one post.
Reply With Quote
  #15  
Old 08-06-2009, 07:19 PM
1uxkz's Avatar
1uxkz 1uxkz is offline
 
Join Date: Jul 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))' at line 1on query :SELECT `threadid` ,`firstpostid`, `forumid`, `replycount`, `title` FROM `CHANGE PREFIXthread` WHERE `time_check` = '0' AND `ignore_check` = '0' AND (`forumid` NOT IN ())

any idea what could be causing this?
Reply With Quote
  #16  
Old 08-06-2009, 08:44 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting a MySQL error:

Code:
Database error in vBulletin 3.8.3:

Invalid SQL:

		SELECT 
			userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
			IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
			, ppgal_user.*,mgcugp.mgc_cb_evo_default_color,mgcugp.mgc_cb_evo_chanid
		FROM user AS user
		LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
		LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) 
		
LEFT JOIN ppgal_user AS ppgal_user ON (ppgal_user.userid = user.userid) LEFT JOIN usergroup AS mgcugp ON (user.usergroupid=mgcugp.usergroupid) 
		WHERE user.userid = 4829;

MySQL Error   : MySQL server has gone away
Error Number  : 2006
Request Date  : Thursday, August 6th 2009 @ 03:23:12 PM
Error Date    : Thursday, August 6th 2009 @ 03:26:33 PM
Script        : http://*****.com/forum/admincp/cronadmin.php?do=runcron&cronid=78
Referrer      : http://*****.com/forum/admincp/cronadmin.php?do=modify
IP Address    : **********
Username      : Crisis
Classname     : vB_Database
MySQL Version :
Reply With Quote
  #17  
Old 08-06-2009, 08:51 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's also marking megaupload password protected files as dead.

here is an example of one.
http://www.megaupload.com/?d=R0KZJ8UV

Maybe if the bot were allowed to enter a password that would help. The password could be defined in admincp. We would have to be able to enter multiple passwords.
Reply With Quote
  #18  
Old 08-06-2009, 09:01 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had to uninstall. I was getting posts moved to the trash that were not supposed to be there.

Most of them were because they were password protected.

The only links it would check were the non-hidden ones.

If I placed a link within a charge tag (vbcredits hide hack) then it would not scan it. Either that, or it did not check it if there was an ad pop-up like this link.

http://www.megaupload.com/?d=PUSJ59KZ
Reply With Quote
  #19  
Old 08-07-2009, 11:52 AM
Web4xs Web4xs is offline
 
Join Date: Aug 2009
Location: Netherlands
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1uxkz View Post
Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))' at line 1on query :SELECT `threadid` ,`firstpostid`, `forumid`, `replycount`, `title` FROM `CHANGE PREFIXthread` WHERE `time_check` = '0' AND `ignore_check` = '0' AND (`forumid` NOT IN ())

any idea what could be causing this?
You need to edit the php file and change the --> PREFIX
Reply With Quote
  #20  
Old 08-07-2009, 11:54 AM
Web4xs Web4xs is offline
 
Join Date: Aug 2009
Location: Netherlands
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I going to look to that.. I have not problems with password protected files..
You hear from me soon.
Reply With Quote
  #21  
Old 08-07-2009, 11:57 AM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Web4xs View Post
I going to look to that.. I have not problems with password protected files..
You hear from me soon.
It could be that they have linkbucks ads.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04787 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete