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)

wtfsoccerdude 11-08-2008 07:04 PM

I followed all the instructions but when I manually run the Schedules task of Link Checking I get the following error:

Code:

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

Warning: fclose(): supplied argument is not a valid stream resource in [path]/vbbot.php on line 26

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'apache'@'localhost' (using password: NO) in [path]/vbbot.php on line 112
Unable to connect to mysql server.

What to do?

Also, one more thing that, I have added the auto-coder to my board. It automatically codes all the links so the [URL] tags in functions_newpost.php were replaced by [CODE] tags. Do I need to revert that change or it won't create any troubles?

Dman91 11-09-2008 04:36 AM

It is not able to connect to mysql, make sure it is in the root folder.
Also for the mod you added, it should not create any troubles but if it does, you can revert the change.

deltrumweb 11-10-2008 10:10 AM

I am getting this error at the header when I view a PM from the Bot:

Code:

Warning: Invalid argument supplied for foreach() in [path]/private.php on line 1523
Here are my user defined variables (I have edited out the domain for security) :

PHP Code:

// Start of user defined variables
$trash '37'//Forum id of trash
$botid '355'//Userid of bot
$botname 'LinkChecker Bot'//Username of bot
$check '`forumid` = 2 OR `forumid` = 3 OR `forumid` = 4 OR `forumid` = 5 OR `forumid` = 9 OR `forumid` = 21 OR `forumid` = 10'//Forums to check 
$pa '
Links checked on ' 
date('d/m/y'). ' by LinkChecker Bot'//This will append this at the end of the checked post
$ppa '<br /> Links checked on ' date('d/m/y'). ' by LinkChecker 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 'Dead Links Removed !'// PM Title
$reportforumid '19'//This is where bot will make new topics stating reports
$showurl 'http://*******.com/showthread.php?t='//Your URL
//Check Line 226 to edit PM message.
//End of user defined variables. 

The bot is a member with ID: 355 however, when I go to view his profile, I can see it no problem. However, when I click his user name under one of his moved threads, it says:

Quote:

This user has not registered and therefore does not have a profile to view.
I think this may be a code error ???? Someone please help !!!! lol

wtfsoccerdude 11-12-2008 08:27 PM

How to enter the forum id's??

Like this:

Code:

$check = '`forumid` = 2 OR `forumid` = 3'
OR

Code:

$check = '`forumid` = 2,3,4,5,6'
The bot is running but it doesn't check any links. It doesn't leave the link checked message on the posts and neither does it move to trash.

dxflw 11-18-2008 10:20 PM

i cant understand how to add time check via phpmyadmin and the rest i dont see any..vb_ on my phpmyadmin database...
i have edit the vbbot.php like this:
PHP Code:

// Start of user defined variables
$trash '135'//Forum id of trash
$botid '1'//Userid of bot
$botname '*****'//Username of bot
$check '`forumid` = 31'//Forums to check 
$pa '
Links checked on ' 
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 '5'//This is where bot will make new topics stating reports
$showurl 'http://*****.com/forum/showthread.php?t='//Your URL 

i have uploaded direct the php and i get this errors:
Code:

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

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

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/*****/public_html/forum/vbbot.php on line 124

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/*****/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/*****/public_html/forum/vbbot.php on line 147

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


howcome 11-19-2008 06:55 PM

i pm'd my php have u taken a look?

Dman91 11-20-2008 04:19 AM

@deltrumweb - PM Error is a bug that needs to fixed. As for the user not found i think your the first one to get that. PM me your board url, with that problem.
@wtfsuccerdude - forum ids need to be entered like
Code:

$check = '`forumid` = 2 OR `forumid` = 3'
@dxflw - open phpmyadmin and run those queries. for fopen error read the faq.
@homecome - pmed you back.

Dman91 11-20-2008 11:07 AM

https://vborg.vbsupport.ru/external/2008/11/29.jpg Thought would post screenshot of the new version

Skavenger 11-20-2008 01:45 PM

Good job!

soundbarrierpro 11-20-2008 04:58 PM

I'd like to use this because I have thousands of sendspace links on my site, but I'm afraid to be messing with phpmyadmin since I have a lot of customizations and add ons.


All times are GMT. The time now is 06:17 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.01553 seconds
  • Memory Usage 1,763KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)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