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-16-2008 02:21 AM

Is there any way to disable bot's posts and PM system?


Quote:

Originally Posted by iPodHacking.com (Post 1622227)
OK i decided to have another go at this file. I have been able to work out most of the errors i was getting based on feedback.

but i am still getting this last error and i have no clue why.I have done all the SQL queries and stuff.


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

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

I had the same problem and I solved it editing the following line:

Code:

$check = '`forumid` = 144'; //Forums to check
Just make sure you have one ID or the right syntax to check more than one forum.

Dman91 09-16-2008 04:09 AM

Try this code acco
Code:

$pma = "a:1:{s:2:\"cc\";a:1:{i:$uid;s:$botid:\"$uname\";}}";

pnosko31 09-17-2008 06:45 AM

so is it safe to assume that everytime this is run it is going to add the "Link checked" tag to the post? so eventually it will be posted numerous times on the thread?

Nightcast 09-17-2008 11:45 AM

Ok So I couldn't wait for a update and had to test it out.
Well IT works great, thanks. :D

Can't wait for one threw acp.

I'll donate once I get some money in my paypal.

Dman91 09-17-2008 01:22 PM

Nah it has a preg_replace to replace all previous messages.

uzeyir 09-17-2008 01:28 PM

can we specify it to check the forums that is chosen by us for example making it check forums from 1 to 190.I'll be waiting your replies.regards

Dman91 09-17-2008 04:14 PM

Yes.

kud0gfx 09-19-2008 08:40 AM

i get this error when it have checked about 100 links:

Quote:


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/pordesca/domains/pordescargadirecta.com/public_html/foro/bot/bot.php on line 210
Checked Topic ID : 1858

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/pordesca/domains/pordescargadirecta.com/public_html/foro/bot/bot.php on line 170
No Relevant Links Found : 1902

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/pordesca/domains/pordescargadirecta.com/public_html/foro/bot/bot.php on line 170
No Relevant Links Found : 2060

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/pordesca/domains/pordescargadirecta.com/public_html/foro/bot/bot.php on line 170
No Relevant Links Found : 2237
and since then i get all the threads with the same error on line 170

acco 09-19-2008 08:44 AM

Quote:

Originally Posted by Dman91 (Post 1623147)
Try this code acco
Code:

$pma = "a:1:{s:2:\"cc\";a:1:{i:$uid;s:$botid:\"$uname\";}}";

sorry a bit late with my reply, kids are all sick so I haven't had much time for playing around but I did test above with no luck :(

Seems if I change the code to
Code:

$pma = "a:1:{s:2:\"cc\";a:1:{i:$uid;s:6:\"$uname\";}}";
the user group 6 get to read the pms no problem but all other user groups still get the error msg.

Thanks for having a look.

acco.

uzeyir 09-19-2008 12:24 PM

Quote:

Originally Posted by uzeyir (Post 1624093)
can we specify it to check the forums that is chosen by us for example making it check forums from 1 to 190.I'll be waiting your replies.regards

help me please


All times are GMT. The time now is 06:01 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.01501 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_code_printable
  • (4)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