vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Linkchecker Bot (https://vborg.vbsupport.ru/showthread.php?t=220157)

Web4xs 08-03-2009 10:00 PM

Linkchecker Bot
 
1 Attachment(s)
===========
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.

Tickhi 08-04-2009 11:07 AM

Parse error: syntax error, unexpected $end in /home/******/public_html/bot.php on line 423

Web4xs 08-04-2009 11:29 AM

Quote:

Originally Posted by Tickhi (Post 1861162)
Parse error: syntax error, unexpected $end in /home/******/public_html/bot.php on line 423

Yes right was forget something.. open bot.php

and add } on the bottem from the file before ?>

File in zip is fixed now..

elenh 08-04-2009 11:48 AM

Very nice work.To many people need a new version for link checker bot.
But why you dont add a option for dead thread moving to a specific forum?Then will be perfect the hack.

Any way thanks.INSTALLED & NOMINATED

elenh 08-04-2009 11:49 AM

By the way the screenshots is not working reupload if you can pls.

Web4xs 08-04-2009 11:53 AM

Quote:

Originally Posted by elenh (Post 1861178)
Very nice work.To many people need a new version for link checker bot.
But why you dont add a option for dead thread moving to a specific forum?Then will be perfect the hack.

Any way thanks.INSTALLED & NOMINATED

We have that :)

Trash Forum
Enter the ID of the forum which is your TrashCan/Bin. This is where the bot will move all the dead topics to.

Web4xs 08-04-2009 11:56 AM

Quote:

Originally Posted by elenh (Post 1861180)
By the way the screenshots is not working reupload if you can pls.

I have upload again :)

elenh 08-04-2009 12:34 PM

You are the best.I hope everybody will click INSTALLED & NOMINATED

Hornstar 08-04-2009 07:04 PM

Nice work. I've always wanted to install one of these but they always appeared a bit buggy, yours seems great. thanks.

Web4xs 08-06-2009 08:28 AM

Quote:

Originally Posted by hornstar1337 (Post 1861389)
Nice work. I've always wanted to install one of these but they always appeared a bit buggy, yours seems great. thanks.

Thanks :)
We add soon more download links..


All times are GMT. The time now is 01:26 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.01236 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete