vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBFAQbot 1.0 (https://vborg.vbsupport.ru/showthread.php?t=48743)

Silenced Soul 02-27-2003 01:11 AM

great hack, I'll install tomorrow, got tons of work to do with another hack for the time being.

SgtSling 03-09-2003 11:06 PM

ok this is great.. but how do i restrict him to only 1 forum?

Liz 06-23-2003 06:12 PM

There is probably a really easy soultion to this, but I sure can't figure it out.

I'm having a problem, whenever I post a question to test it and see if the bot responds...it does, but the answer doesn't show. Only what the bot quoted from me.

Any ideas?

I copied what the botloader.php said - if it's needed? Help! Help!

Loading startup.xml
Loading data aiml file: faq.aiml
DONE LOADING
Inserted 0 categories into database

WARNING! You should password protect the admin directory or remove the botloader.php script or people may be able to abuse your server.
Click here to talk to the bot

execution time: 0.482001
Templates per second=0
Templates per minute=0

Gutspiller 07-18-2003 02:13 PM

If I already have Tombot installed, can I install VBFAQbot too without any problems of the two conflicting? I haven't installed the TeachBot hack for my Tombot yet, but I was planning on it.

These 3 hacks won't conflict will they? Is there anything specific I should know before I begin hacking that FAQbot requires?

Prankster 11-04-2003 06:05 AM

very very nice.

good work

/me installs

stamos2003 11-11-2003 07:49 PM

i tried to install it but having some problems....

if I am redy modifieng everything and starting botloader.php then following comes up:

Loading startup.xml

Fatal error: Call to undefined function: xml_parser_create() in /home/www/web1/html/forum/alice/src/admin/botloaderfuncs.php on line 504

meanwhile in the forum every post is answered by the bot with following content:

Warning: open_basedir restriction in effect. File is in wrong directory in /home/www/web1/html/forum/alice/src/util.php on line 35

Warning: Failed opening 'admin/subs.inc' for inclusion (include_path='.:/usr/lib/php') in /home/www/web1/html/forum/alice/src/util.php on line 35

Warning: Empty regular expression in /home/www/web1/html/forum/alice/src/util.php on line 365

Warning: Empty regular expression in /home/www/web1/html/forum/alice/src/util.php on line 365

what did i wrong ?!

by the way: i dont have safemode running onmy php...

fly 11-12-2003 02:32 PM

I'm getting the following error, apparnently because a file named subs.inc is missing.

Quote:

br />
<b>Warning</b>: main(admin/subs.inc): failed to open stream: No such file or directory in <b>/home/prozac/public_html/nocturnal/forums/alice/src/util.php</b> on line <b>35</b><br />
<br />
<b>Warning</b>: main(): Failed opening 'admin/subs.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/prozac/public_html/nocturnal/forums/alice/src/util.php</b> on line <b>35</b><br />
<br />
<b>Warning</b>: Empty regular expression in <b>/home/prozac/public_html/nocturnal/forums/alice/src/util.php</b> on line <b>365</b><br />
<br />
<b>Warning</b>: Empty regular expression in <b>/home/prozac/public_html/nocturnal/forums/alice/src/util.php</b> on line <b>365</b><br />
DOH! I'm an idiot. The guy right above me already posted this info.

Prankster 11-12-2003 09:56 PM

I have a problem, when i write a New Thread with 20000 characters.

Quote:

Warning: fopen(http://www.tier-portal.info/Portal/a...Ausbildung%3C% in /home/vhosts/5000118682/tier-portal.info/htdocs/Portal/faqbot.php on line 25

Warning: fread(): supplied argument is not a valid stream resource in /home/vhosts/5000118682/tier-portal.info/htdocs/Portal/faqbot.php on line 28

Warning: fclose(): supplied argument is not a valid stream resource in /home/vhosts/5000118682/tier-portal.info/htdocs/Portal/faqbot.php on line 29
The code are seems so:

( Code begin Line 25 )
PHP Code:

if ($faqbothc != $faqbot_message) {return true;};
if (
$faqbotc != $faqbot_message
$faqbot_message2 preg_replace("#(\[quote\].*\[/quote\])#ies","",$faqbot_message);
$faqbot_message2 preg_replace("#(\[quote.*\].*\[/quote\])#ies","",$faqbot_message2);
$faqbot_message2 preg_replace("#(\[.+\])#ies","",$faqbot_message2); }
$rss preg_replace("#^(.*)\[/quote\]#ies","",$message);
$ff fopen($alicelocation "?input=" urlencode($rss),"r");

// ###################### Start output #######################
$response fread($ff,40000);
fclose($ff);
$faqbot_time time() + rand(1,5);    
$faqbot_message "[QUOTE] " $rss " [/QUOTE]\r\n\r\n" $response

any idea ?

greets Prankster

fly 11-15-2003 04:23 PM

Quote:

Originally Posted by flypaper
I'm getting the following error, apparnently because a file named subs.inc is missing.

Hmmm...

I tried using the subs.inc from the TomTalkerBot, but it really didn't seem to like that file either. Guess I won't install this. :(

Prankster 11-17-2003 12:20 PM

so i have found the problem but i dosent have a solution.

In my forum i post new threads with 50 000 characters.

The botit does not work, because it too many characters.

i will use the bot with key words.

!Which are Faq

it is to look in the text for the search words and react only if the search word is present

do you have a solution for this problem ?

i don`t wont delte the hack , because he is very fine ;)

greets Prankster


All times are GMT. The time now is 08:40 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.01281 seconds
  • Memory Usage 1,755KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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