vb.org Archive

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

hscorp 10-01-2008 01:04 AM

thanks Dman

i have another question can i run it from another server? how do i connect it with the forum server

what i mean for example server 1 have the forum so i'll put the bot on server 2 how can i connect them?

Dman91 10-01-2008 03:02 AM

mysql remote access....

hscorp 10-02-2008 07:14 AM

i got a bug i think

in megashares if all slots currently filled the bot will see it as broken link

the bot said deleted and when i checked the link i got this

"Your Download Passport is: 8a57a602f6f811466a89dacc48a439e9
You have 250 MB left that you can download with this passport.
Your download passport will renew in 0:116:18.

Megashares Link Information:
All download slots for this link are currently filled.
Please try again momentarily."

and i'm sure about the 777 permission and i see the 1 file at my bot folder that i think is the cookies file for megashares so everything is fine

Dman91 10-02-2008 08:44 AM

Possible, can you link me to the file ?

hscorp 10-02-2008 08:41 PM

Code:

http://d01.megashares.com/?d01=46a69cf
http://d01.megashares.com/?d01=27460a2

this links the bot says they are dead

Dman91 10-03-2008 03:26 AM

array("megashares\.com\/\?d01=", "(Click here to download|This link's filesize is larger than what you have left on your Passport|All download slots for this link are currently filled)"),

DungBeetle 10-03-2008 11:14 PM

first, thanks for great mode. I have one question. Everything works fine, but if I have a thread with more post inside, it send me all thread to trash even is only one link dead and the rest of post have valid links. how I will fixed this?

Dman91 10-04-2008 12:10 PM

It only checks first post so you cant help it...

DungBeetle 10-04-2008 03:15 PM

Its maybe possible to make something like this but to report post, not moved to trash?

thanks for support

Rocc 10-04-2008 04:01 PM

I have it trying to run, I believe I configured it correctly but I get
Parse error: syntax error, unexpected T_STRING in /home/xlabrocc/public_html/vbbot.php on line 37
I have
Links checked on ' date('m/d/y') ' by link checker bot'; //This will append this at the end of the checked post
on line 37, any help?

coberr 10-04-2008 08:06 PM

Thanks for this modifications :)

I want to change the title of the reported thread Post Reported by Bot to
Post Reported in $[forumtitle]

coberr 10-04-2008 11:02 PM

Quote:

Originally Posted by Dman91 (Post 1637101)
It only checks first post so you cant help it...

please make to checks all post in thread in next version

Quote:

Originally Posted by DungBeetle (Post 1637192)
Its maybe possible to make something like this but to report post, not moved to trash?

thanks for support

yes it's possible :
Code:

$perd = '101'; //Percent decision variable

dtommy79 10-08-2008 08:51 PM

Hi,

Thanks for the mod.

Unfortunately, I can't get it to work.

Could please someone check my settings?

PHP Code:

require_once "includes/config.php"//assumes this is in vb folder
set_time_limit(0);

// Start of user defined variables
$trash '21'//Forum id of trash
$botid '1'//Userid of bot
$botname 'Bot'//Username of bot
$check '`forumid` = 10 OR `forumid` = 44 OR `forumid` = 11 OR `forumid` = 18 OR `forumid` = 15 OR `forumid` = 16 OR `forumid` = 14 OR `forumid` = 17 OR `forumid` = 19 OR `forumid` = 22 OR `forumid` = 23 OR `forumid` = 47 OR `forumid` = 48 OR `forumid` = 26 OR `forumid` = 49 OR `forumid` = 31 OR `forumid` = 27 OR `forumid` = 28 OR `forumid` = 29 OR `forumid` = 30 OR `forumid` = 32 OR `forumid` = 45'//Forums to check 
$pa '
Links checked ' 
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 '9'//This is where bot will make new topics stating reports
$showurl 'http://mysite.com/forum/bot/showthread.php?t='//Your URL
//Check Line 226 to edit PM message.
//End of user defined variables. Don't edit below this line. No really don't. 

My vb is installed in the 'forum' directory, and I put the vbbot.php in a dir called 'forum/bot'

Dman91 10-13-2008 06:32 AM

Hello sorry for late reply, i have been busy with other projects.
@DungBeetle - Why would you need that ?
@Rocc - PM me your bot file.
@Skavenger - No idea ask your host

Nightcast 10-14-2008 07:10 PM

Still working great, Any news on a update?

Thanks again.

sarkar 10-15-2008 02:05 AM

Update would take some time, we are quite busy with real life, and for the time being providing support only. The update process is slow, but going on.

andrewtr89 10-17-2008 06:38 PM

Code:

Warning: fopen(botruns.txt) [function.fopen]: failed to open stream: Permission denied in /home/isocube1/public_html/forum/vbbot.php on line 25

Warning: fclose(): supplied argument is not a valid stream resource in /home/isocube1/public_html/forum/vbbot.php on line 26

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

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

I am getting that error message. Anyone know why?

x0r 10-17-2008 07:17 PM

i have this one error

it shows up when viewing private message from bot

Warning: Invalid argument supplied for foreach() in [path]/private.php on line 1523

BiZiMDiYaR 10-17-2008 09:20 PM

Hi,

Thanks for this and I have downloaded it and testing it on my testing forum, but it also deletes good links.. which I personally tested... So why it it deleting links that are working , any idea ? Please help and thanks.

See below for the code in de php file. I put in 1 topic 3 links and did this three times and everytime with a different mistake in it... so I tested according 33% not ok, 66% not ok and in the end 100% not ok, but it moved all topic to the trash :-). Also can't it edit the original topic and add a text in below, link checked... insteaf of opening another thread in below ?

Thanks.

// Start of user defined variables
$trash = '14'; //Forum id of trash
$botid = '6'; //Userid of bot
$botname = 'LinkChecker'; //Username of bot
$check = '`forumid` != 9'; //Forums to check
$pa = '
Linkler Control edildi ' . date('d/m/y'). ' Adim Link, LinkChecker, Unutma bunu :-)'; //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 = '15'; //This is where bot will make new topics stating reports

sarkar 10-18-2008 03:33 AM

Quote:

Originally Posted by andrewtr89 (Post 1647202)
Code:

Warning: fopen(botruns.txt) [function.fopen]: failed to open stream: Permission denied in

/home/isocube1/public_html/forum/vbbot.php on line 25

Warning: fclose(): supplied argument is not a valid stream resource in /home/isocube1/public_html/forum/vbbot.php

on line 26

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

Warning: unlink(botruns.txt) [function.unlink]: No such file or directory in

/home/isocube1/public_html/forum/vbbot.php on line 294

I am getting that error message. Anyone know why?

Permission denied is supposedly you don't have fopen permissions or u haven't chmodded the folder where the bot is to write in there. Trying chmodding the folder to 777 (If after chmodding to 777 u get an Internal Server Error, chmod the same folder to 755 since mod_security is installed on the server) and then try again.

Quote:

Originally Posted by x0r (Post 1647226)
i have this one error

it shows up when viewing private message from bot

Warning: Invalid argument supplied for foreach() in [path]/private.php on line 1523

Have you set the path properly?

PM you bot.php file to me or Dman91

Quote:

Originally Posted by BiZiMDiYaR (Post 1647307)
Hi,

Thanks for this and I have downloaded it and testing it on my testing forum, but it also deletes good links..

which I personally tested... So why it it deleting links that are working , any idea ? Please help and thanks.

See below for the code in de php file. I put in 1 topic 3 links and did this three times and everytime with a

different mistake in it... so I tested according 33% not ok, 66% not ok and in the end 100% not ok, but it moved

all topic to the trash :-). Also can't it edit the original topic and add a text in below, link checked...

insteaf of opening another thread in below ?

Thanks.


// Start of user defined variables
$trash = '14'; //Forum id of trash
$botid = '6'; //Userid of bot
$botname = 'LinkChecker'; //Username of bot
$check = '`forumid` != 9'; //Forums to check
$pa = '
Linkler Control edildi ' . date('d/m/y'). ' Adim Link, LinkChecker, Unutma bunu :-)'; //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 = '15'; //This is where bot will make new topics stating reports

What links are it binning, PM them to me.

Dman91 10-18-2008 04:12 AM

@andrewtr89 - Read FAQ at MaxWCoders.
@x0r - This is a bug in current version to be fixed in next release.
@BiZiMDiYaR - PM me the links it bins also does it give any error while checking links are links megashares ?

JetHaCkR 10-18-2008 07:42 PM

WHat do i run in phpmyadmin to uninstall this

RobbieZ 10-18-2008 07:57 PM

Hey Dman

I have some questions.

Does this check for these in threads? [url=http://www.example

Will it only check the first page ?

Can i get it to only check certain parts of my forum? eg. not the dead link part of my forum!

mac-warez 10-18-2008 09:00 PM

Yes you can set it to check only certain forums. IT only checks the first post as of now.Yes it also checks the [url] code along with [code]

RobbieZ 10-18-2008 09:16 PM

thanks mac.

I had url checker installed but i have over 15,000 url links on my forum and when i run it.. the dang thing hangs and errors out.

So im looking to run yours :D

mac-warez 10-18-2008 09:33 PM

It's not mine but i know alot about the script. It will take about 1 hour to check all links the first time

BiZiMDiYaR 10-19-2008 09:56 AM

Hi,

I send the info you wanted per pm... please advise why all the links are mentioned dead. Anything I need to change or do.. open port.. ? Anything ? Thanks.

chaot1c 10-20-2008 12:49 AM

Quote:

Originally Posted by mac-warez (Post 1647944)
It's not mine but i know alot about the script. It will take about 1 hour to check all links the first time

That's terrible... WarezVB's Dead Link Checker bot could probably do 10,000 threads in an hour, maybe more. I have their dead link checker bot on my site.

mac-warez 10-21-2008 12:26 AM

OOoohhh I want it

BiZiMDiYaR 10-21-2008 12:51 AM

Hi,

I have PM'ed to 2 persons but nobody reply on it. Doesn't this work.. ? I have deleted this from the test forum as nobody is replying this.

Thanks.

andrewtr89 10-23-2008 01:49 PM

Quote:

Originally Posted by sarkar (Post 1647438)
Permission denied is supposedly you don't have fopen permissions or u haven't chmodded the folder where the bot is to write in there. Trying chmodding the folder to 777 (If after chmodding to 777 u get an Internal Server Error, chmod the same folder to 755 since mod_security is installed on the server) and then try again.

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

I think were getting some where :rolleyes:

digitalnorte 10-23-2008 11:25 PM

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 ! :D

Distance 10-25-2008 01:55 AM

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:

Error

SQL query:

ALTER TABLE `thread` ADD `time_check` INT( 10 ) NOT NULL DEFAULT '0' AFTER `taglist` ;

MySQL said: Documentation
#1054 - Unknown column 'taglist' in 'thread'
Any ideas?

Thanks

Dman91 10-25-2008 05:51 PM

@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

zero5854 10-26-2008 05:35 AM

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

Dman91 10-26-2008 07:32 AM

Optional feature in next version

digitalnorte 10-26-2008 02:18 PM

Quote:

Originally Posted by Dman91 (Post 1652565)
@digitalnorte - Make $perd more than 100

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:

howcome 10-28-2008 04:42 PM

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


aranthorn 10-29-2008 01:51 PM

Quote:

Originally Posted by JetHaCkR (Post 1647889)
WHat do i run in phpmyadmin to uninstall this

Code:

ALTER TABLE `thread` DROP COLUMN `time_check`;

ALTER TABLE `thread` DROP COLUMN `ignore_check`;

Add your prefix as needed. I couldn't get this hack to work properly so I removed it.

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.

Dman91 10-29-2008 05:20 PM

howcome, PM me bot file


All times are GMT. The time now is 08:52 AM.

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.02201 seconds
  • Memory Usage 1,852KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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