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)

Skavenger 09-11-2008 02:11 AM

Quote:

Originally Posted by sarkar (Post 1619565)
Our next version would have the product installer

I'll be waiting for that :)

rmxs 09-11-2008 06:48 AM

Sugestion:

What i thing its good for all.
When you make the product i dont know how you thing is the working progress byt all i thing we have 10 or more differect link categories like music movies or software..

User select to run the script...
Script reply With enter the forum number to check enter the trash can number..

with this way every forum can have differect trash can and th user doesnt need to change all the time the trash id.

What you thing?

rmxs 09-11-2008 07:03 AM

Something that i forget..

How can i change check method?

pierians 09-11-2008 07:04 AM

The script freezes after five minutes of checking and then i have to run the
vbbot.php?deletefile script and then the vbbot.php again manually.

What is the problem?

EDIT

I Don't even get the "Now script will pause for 15 seconds" message, the script just freezes.

Dman91 09-11-2008 08:35 AM

@rxms you cannot change the check method one all new topics have been checked run the bot once again to check old topics...
Question : Would you guys like a feature to change methods ?
@pierians you are facing the classic rs error. (It happens when rs links dont respond to fix this)
You can either ignore this topic or delete it (to know how to ignore read the faq in maxwcoders.)
how did i find out what topic its hanging at ?
i replaced
Code:

    $tid = $re1['threadid'];
by
Code:

    $tid = $re1['threadid'];
  echo $tid;
  exit();

so it would just tell me the value of $tid and stop and you can make the necessary action now replace
Code:

    $tid = $re1['threadid'];
  echo $tid;
  exit();

by
Code:

    $tid = $re1['threadid'];
Edit : You have just given me an idea for debug mode - thanks

steve1966 09-11-2008 08:36 AM

its a shame this did not work for me as I imported my board from phpbb all posts from that earlier time was not being picked up and it sent hundreds of working links to the junk

i had to restore my forum because there was far too many links for me to move back

Dman91 09-11-2008 08:38 AM

Yeah because i told you had an option to prune old posts (most of them would have dead links)

pierians 09-11-2008 08:52 AM

Quote:

Originally Posted by Dman91 (Post 1619720)
so it would just tell me the value of $tid and stop and you can make the necessary action now replace
Code:

    $tid = $re1['threadid'];
  echo $tid;
  exit();

by
Code:

    $tid = $re1['threadid'];
Edit : You have just given me an idea for debug mode - thanks

So, to see if i got it right, the only thing i have to do, to stop hanging, is to replace this code

Code:

    $tid = $re1['threadid'];
  echo $tid;
  exit();

with that one?

Code:

    $tid = $re1['threadid'];

Dman91 09-11-2008 08:54 AM

Yes after you have deleted/ignored topic

pierians 09-11-2008 09:08 AM

Hmm, when it frozed i runned the deletescript so i don't excactly know which threads are problematic...
So this doesn't help me a lot :-(

Sorry i now saw that you told me how to do this in your previous post.

The thing i'm doing now, for the script to complete one full search of my site, is:
I've opened 2 tabs one is the vbbot.php and the other is vbbot.php?=delete
and i've made those tabs automatically refresh every five minutes.

rmxs 09-11-2008 11:06 AM

Quote:

Question : Would you guys like a feature to change methods ?
Ok lets say that i check my forums today..and tomorow rapidshare delete from theold posts some links...what happends if the bot doesnt allow me to scan?..

I thing method must be in hours not in checks ex dont rescan the same topics same day in 2 days etc..Byt this musy be a user option

pierians 09-11-2008 11:50 AM

Could you add netload.in to the servers in your update?

Nightcast 09-11-2008 01:49 PM

Thanks, but I will wait for the update.

Dman91 09-11-2008 04:43 PM

@pierians add this after megaupload (or wherever u want just not the last)
Code:

array("netload\.in\/datei[0-9a-z]{32}\/", "download_load"),

pierians 09-11-2008 04:58 PM

Quote:

Originally Posted by Dman91 (Post 1619971)
@pierians add this after megaupload (or wherever u want just not the last)
Code:

array("netload\.in\/datei[0-9a-z]{32}\/", "download_load"),

THNX!

I have problem with mediafire and ifile files.
They are active but the bot send the threads to thrash...

iPodHacking.com 09-11-2008 06:42 PM

When i run the delete script i get this error
"Warning: unlink(botruns.txt) [function.unlink]: Permission denied in /home/mysite/public_html/vbbot.php on line 16
File Deleted"

I manually deleted the botruns.txt
And i got this error
Warning: fopen(botruns.txt) [function.fopen]: failed to open stream: Permission denied in /home/mysite/public_html/vbbot.php on line 25

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

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

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

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

This needs major help.

FRANKTHETANK 2 09-11-2008 06:44 PM

I got it to do the queries now it's time to move on to the next step

FRANKTHETANK 2 09-11-2008 10:57 PM

I just can't get this to work I'm getting the same problem as IPodHacking.com. And when I did what you said to do to fix the problem it still didn't work. Any other idea's or suggestions.

musicconvict 09-12-2008 12:16 AM

thank you very much

iPodHacking.com 09-12-2008 12:47 AM

arse error: syntax error, unexpected T_STRING in /home/*******/public_html/vbbot.php on line 37

// Start of user defined variables
$trash = '46'; //Forum id of trash
$botid = '36'; //Userid of bot
$botname = 'Link Checker Bot'; //Username of bot
$check = '`forumid` != 46 ; //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://mysite/forumdisplay.php?f=46'; //Your URL
//Check Line 226 to edit PM message.
//End of user defined variables. Don't edit below this line. No really don't.

And i can't figure it out.

sarkar 09-12-2008 01:08 AM

Hey iPodHacking, can u PM me your bot.php?

And for the errors above for u and Frank I think its a chmod problem, try chmodding the bot and the folder it is in to 777 (or 755 on some hosts) and try it out.

Dman91 09-12-2008 03:06 AM

Ifile it wasnt included ? Can you give me the file URL of mediafire which bot bins incorrectly.

edermix 09-12-2008 03:42 AM

My vbbot not send the MP's to users. Everything is set up, how do I?

rmxs 09-12-2008 04:33 AM

Quote:

Originally Posted by edermix (Post 1620308)
My vbbot not send the MP's to users. Everything is set up, how do I?

Post your bot.php file..

Kaycee123 09-12-2008 04:43 AM

I ran this last night and it worked great. I'm just a bit confused about exactly how this runs. Just a couple of questions:

When I try to run it again today, I just get a message "Bot is running". Does that mean that the bot is constantly checking links?? Or do I need to run it manually every day? If I delete the botruns.txt file manually I can run the program again but then everyone gets pm's again about their links.

When I look in the botruns.txt file it only has a 1 - is that what its supposed to have?

What does the program do with threads it has already checked? Will it check them again each time it is run? I set the forum where the dead ones were being moved to as one of the forums that isn't checked.

I set up a report forum and got a message the first time I ran it, but nothing since then. Is that normal?

pierians 09-12-2008 12:48 PM

Quote:

Originally Posted by Dman91 (Post 1620298)
Ifile it wasnt included ? Can you give me the file URL of mediafire which bot bins incorrectly.

This is the link

Code:

http://www.mediafire.com/download.php?uoibezdidyw

steve1966 09-12-2008 01:00 PM

Quote:

Originally Posted by Dman91 (Post 1619722)
Yeah because i told you had an option to prune old posts (most of them would have dead links)

yes you are right i am not blaiming this mod its just the way i have my board set up it not working for me

i will try it again when it has been fixed of any bugs it may have now

rmxs 09-12-2008 05:54 PM

Suggestion..

When the bot fount a dead link and make report post i thing its good idea to add also one line to the original post 1 dead link

Kaycee123 09-12-2008 09:53 PM

Quote:

Originally Posted by bL@CKw!d0w (Post 1618969)
I make a pitcure for this link checker :D

Great - I'm going to use it as Linkbot's avatar loll. Thanks

Dman91 09-13-2008 05:40 AM

Kaycee read the faq in maxwcoders it will answer most of the questions.
@pierians try decreasing sleep time of topic from 100 to 75

Skierpetros 09-13-2008 11:58 AM

i use it but it teel me now bot is running "???

esperone 09-13-2008 12:16 PM

This works great for me and scanned over 5,000 posts with no problem but for some reason the bot doesn't append the "Links checked on .... by link checker bot" message to the posts.

Any ideas?

Thanks for this mod.

Dman91 09-13-2008 01:24 PM

No ideas tbh... PM me your bot.php file
@Skierpetros - Read the FAQ at MaxWCoders

edermix 09-13-2008 04:12 PM

Quote:

Originally Posted by rmxs (Post 1620319)
Post your bot.php file..

Ok my dear:

Attachment 86845

Very Thanks. I look forward to in their analysis

Cust0ms 09-13-2008 06:25 PM

Hello,
Is it possible to move posts with dead links to specyfic forum?

esperone 09-13-2008 06:28 PM

Quote:

Originally Posted by Cust0ms (Post 1621391)
Hello,
Is it possible to move posts with dead links to specyfic forum?

yes. read the install instructions and it tells you there

Cust0ms 09-13-2008 07:34 PM

When I try to run script I receive such error:
Quote:

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

Warning: fclose(): supplied argument is not a valid stream resource in /home/www/domains/myboard.nl/public_html/vbbot.php on line 26
Using Method where it seems that all topics have been checked.

Warning: unlink(botruns.txt) [function.unlink]: No such file or directory in /home/www/domains/myboard.nl/public_html/vbbot.php on line 294
Can anyone help me?

vietdjclub 09-14-2008 02:18 AM

i created full setting via vbulettin option, i also change the method to check. reduce SQL query

CHECK DEMO Full BOT WITH ACP

iPodHacking.com 09-14-2008 03:59 AM

WarezVB's Dead Link Checker Bot is much better. This one has so many problems...

edermix 09-14-2008 04:37 AM

Quote:

Originally Posted by vietdjclub (Post 1621649)
i created full setting via vbulettin option, i also change the method to check. reduce SQL query

CHECK DEMO Full BOT WITH ACP

Well, here is to ask for download?

Quote:

Originally Posted by iPodHacking.com (Post 1621694)
WarezVB's Dead Link Checker Bot is much better. This one has so many problems...

This is integrated with Vbulletin? What address?


All times are GMT. The time now is 01:21 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.01628 seconds
  • Memory Usage 1,829KB
  • 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
  • (11)bbcode_code_printable
  • (13)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