Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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
  #22  
Old 08-08-2009, 10:31 PM
elenh elenh is offline
 
Join Date: Jun 2009
Location: Germany
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like the sheduled task for checker bot is not working... Have any body else the same problem?
Reply With Quote
  #23  
Old 08-09-2009, 02:48 AM
donal donal is offline
 
Join Date: Oct 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be used to check images from other servers which are posted at my board using [img] tag ?
Reply With Quote
  #24  
Old 08-09-2009, 04:36 AM
Medtech's Avatar
Medtech Medtech is offline
 
Join Date: Oct 2007
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 `thread` WHERE `time_check` = '0' AND `ignore_check` = '0' AND (`forumid` NOT IN ())
i am running mysqli, not mysql, where do i change this?
Reply With Quote
  #25  
Old 08-10-2009, 01:00 AM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not functionally with vBSEO/C-Logic.
Reply With Quote
  #26  
Old 08-11-2009, 03:13 AM
relaxiha relaxiha is offline
 
Join Date: Jan 2009
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
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 `thread` WHERE `time_check` = '0' AND `ignore_check` = '0' AND (`forumid` NOT IN ())
Reply With Quote
  #27  
Old 08-11-2009, 06:10 AM
esperone esperone is offline
 
Join Date: Feb 2006
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Manoel J?nior View Post
Not functionally with vBSEO/C-Logic.
works fine on vbseo.

i have also had the problem with scheduling not working though
Reply With Quote
  #28  
Old 08-18-2009, 03:43 AM
webgroup webgroup is offline
 
Join Date: May 2006
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dancue View Post
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.

that would be a nightmare if you have a big forum.

other options should be considered to address this.
Reply With Quote
  #29  
Old 08-18-2009, 03:45 AM
webgroup webgroup is offline
 
Join Date: May 2006
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what I get when the shcheduled task runs:

Link Checker Bot

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at [path]/includes/adminfunctions.php:279) in [path]/bot.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at [path]/includes/adminfunctions.php:279) in [path]/bot.php on line 2
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 `vbnewthread` WHERE `time_check` = '0' AND `ignore_check` = '0' AND (`forumid` NOT IN ())
Reply With Quote
  #30  
Old 08-18-2009, 12:27 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems that we will never get a link checker bot that works...

I have someone willing to make one for me, but the price is really high. Maybe if we put some money together we can get this made for us. Anyone interested can pm me. I'll give you the details.
Reply With Quote
  #31  
Old 08-20-2009, 04:27 AM
R*NightOwl R*NightOwl is offline
 
Join Date: Jan 2009
Location: Chicago
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i fixed some problems with this bot, first i removed the session_start because that doesn't seem to be needed at all,
now i am working on cycling the topics because atm the mysql reconnection stuff is failing on me..
Reply With Quote
Reply

Thread Tools

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 12:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09787 seconds
  • Memory Usage 2,338KB
  • 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
  • (4)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