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)

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.


All times are GMT. The time now is 08:58 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.01396 seconds
  • Memory Usage 1,769KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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