Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
vBFAQbot 1.0 Details »»
vBFAQbot 1.0
Version: 1.00, by Martin64 Martin64 is offline
Developer Last Online: Jul 2020 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-09-2003 Last Update: Never Installs: 13
 
No support by the author.

vBFAQbot 1.0
(by Martin64, martin64@vbhackers.com)

[about]

vBFAQbot is a hack that adds a bot to your forum that answers people's frequently asked questions, or you can set it up to reply to specific triggers (they don't have to be FAQ questions). For example, you could let the bot give a list of rules when someone types !rules.
The bot is an AI bot (alicebot) but has no AIML pre-written and is therefore not AI.
vBTeachbot (https://vborg.vbsupport.ru/showthrea...threadid=48291) is integrated with vBFAQbot, but it can also be used as a seperate hack with Tombot (https://vborg.vbsupport.ru/showthrea...threadid=48053). vBFAQbot is based on C.Birch's Tombot so big thanks to him. vBTeachbot lets you write custom aiml to use with your AI bot.

[note]

I wrote some real great instructions earlier, but overwrote the file, so if you think these instructions are crappy you know why. It annoys me, but I like to keep a happy face.

[credits]

C.Birch, for his Tombot (AI bot) hack.

[screenshots]

Check the following 4 posts.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 02-27-2003, 01:11 AM
Silenced Soul's Avatar
Silenced Soul Silenced Soul is offline
 
Join Date: Apr 2002
Location: holdin' it down for tha 303
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack, I'll install tomorrow, got tons of work to do with another hack for the time being.
Reply With Quote
  #33  
Old 03-09-2003, 11:06 PM
SgtSling SgtSling is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok this is great.. but how do i restrict him to only 1 forum?
Reply With Quote
  #34  
Old 06-23-2003, 06:12 PM
Liz's Avatar
Liz Liz is offline
 
Join Date: Nov 2001
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #35  
Old 07-18-2003, 02:13 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #36  
Old 11-04-2003, 06:05 AM
Prankster Prankster is offline
 
Join Date: Sep 2002
Location: Berlin
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very very nice.

good work

/me installs
Reply With Quote
  #37  
Old 11-11-2003, 07:49 PM
stamos2003 stamos2003 is offline
 
Join Date: Nov 2003
Location: Berlin
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #38  
Old 11-12-2003, 02:32 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #39  
Old 11-12-2003, 09:56 PM
Prankster Prankster is offline
 
Join Date: Sep 2002
Location: Berlin
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #40  
Old 11-15-2003, 04:23 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #41  
Old 11-17-2003, 12:20 PM
Prankster Prankster is offline
 
Join Date: Sep 2002
Location: Berlin
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:05 PM.


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.04813 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete