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)
-   -   TomBot v1.1 vB AI User Bot (https://vborg.vbsupport.ru/showthread.php?t=48053)

Sal Collaziano 11-24-2003 04:54 PM

It'll be nice to have this working in vB3. Any updates yet?

hexonxonx 11-28-2003 09:15 PM

I get this error trying to run botloader.php:

Loading startup.xml

Warning: fopen(): open_basedir restriction in effect. File(/xvtrfvhm/home/public_html/teens/alice/aimlstartup.xml) is not within the allowed path(s): (/home/xvtrfvhm:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/xvtrfvhm/public_html/teens/alice/src/admin/botloaderfuncs.php on line 508

Warning: fopen(/xvtrfvhm/home/public_html/teens/alice/aimlstartup.xml): failed to open stream: Operation not permitted in /home/xvtrfvhm/public_html/teens/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input

Any ideas? Everything is chmod 777, I have checked and checked again and again and again. This is on 2.3.2

AutomatikStudio 12-15-2003 05:08 PM

I'm getting the same errors as the people above with everything chmod 777.

Mono 12-16-2003 11:10 PM

looks like a strange file path you have there...

anyway I installed this one and with the addition of the AIML files from alicebot.org that little bugger owns 60 % of my members ;)
great work

Deimos 12-17-2003 08:20 PM

Hmm, I can't get this to work in VB2.3.2
I modified all the files etc, uploaded em all, ran the installer, it said it installed all the stuff in the database aok, but it doesn't reply to any threads.
One bit about the instructions confused me, was this....

Quote:

Login to phpmyadmin and check in the 'bots' table that the bot id is 0
you find that the table 'bot's the id number in there needs editing to 0 from 1 in some cases
When I goto the bots table, I don't know what to do from there?

Blaine0002 12-22-2003 12:42 AM

Wow! i cant tell you how amazing this is! thanks!

Blaine0002 12-22-2003 01:20 AM

One Question. why does he show up as a guest? i created him a file and put the correct userid in the .php file..

TheComputerGuy 01-01-2004 03:06 PM

well...I just reinstalled it, works great!

hexonxonx 01-01-2004 05:14 PM

LOL A month later after looking at my post above, I finally see the error that I made. Oh well. I have to start over since I deleted Alice from the server shortly after. Wish I could have seen the obvious mistake before I deleted it though.

kahloz 01-08-2004 08:36 PM

How can I get my bot to NOT reply to smilies and ignore them completely?

C.Birch 01-09-2004 02:52 PM

sorry for my lack of reply but i did make it clear that i was unable to support this hack but i try my best to help with the parts we made but almost all the errors reported here are to do with the bot files.

AutomatikStudio 01-17-2004 07:11 PM

How do i make it not quote the previous message?

AutomatikStudio 01-17-2004 10:02 PM

Also...the Bot just randomly stops talking. After answering 4 or 5 of your questions it just won't say anything else unless you start a new thread.

Quest4DSS 01-25-2004 07:59 PM

Hi Everyone,
Ok so I am slow...
I tried to do the install I edited everything and CHMOD 777 all the directorys.
When I run the //www.XXXXXXX.Com/forums/alice/src/admin/botloader.php
I get this:

Loading startup.xml

Warning: Unable to access XXXXXXXXXXX.com/forum/alice/aiml/startup.xml in /home/XXXXXX/public_html/forum/alice/src/admin/botloaderfuncs.php on line 508

Warning: fopen("XXXXXXXXX.com/forum/alice/aiml/startup.xml", "r") - No such file or directory in /home/XXXXXXXX/public_html/forum/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input

AutomatikStudio 01-26-2004 03:06 AM

CHMOD 777 all the files in /src/admin/ as well...not just the directories...but the files as well.

Quest4DSS 01-26-2004 03:11 PM

I did the CHMOS 777 on everything and it still did not work.
I also read this 55 page thread and got nowhere.
It seems that when most people had a problem, they would post what the problem was.
Lated they would just post that they fixed it with out telling what they did to correct it.
(not a complaint just an observation)

This is the error I get now:

__________________________________________________ ______________________
Warning: Access denied for user: 'MyUserName@000.00.0.00' (Using password: YES) in /home/Mysite/public_html/forum/alice/src/admin/dbprefs.php on line 52

Warning: MySQL Connection Failed: Access denied for user: 'MyUserName@000.00.0.00' (Using password: YES) in /home/ Mysite /public_html/forum/alice/src/admin/dbprefs.php on line 52
Loading startup.xml

Warning: OpenDir: No such file or directory (errno 2) in /home/ Mysite /public_html/forum/alice/src/admin/botloaderfuncs.php on line 531

Warning: readdir(): supplied argument is not a valid Directory resource in /home/ Mysite /public_html/forum/alice/src/admin/botloaderfuncs.php on line 532

Warning: closedir(): supplied argument is not a valid Directory resource in /home/ Mysite /public_html/forum/alice/src/admin/botloaderfuncs.php on line 540
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.122679
Templates per second=0
Templates per minute=0
__________________________________________________ ____________________

Quest4DSS 01-26-2004 03:18 PM

If someone would help me get this going I will make a detailed how-to-install for this hack.
C.Birch did a good Tombot-install but it leaves alot of information out.

************************************************** *****
Here is an example:
$DB_HOST="localhost"; <---- Is this the Server name (216.00.000) ?
$DB_UNAME="username"; <---- Is this TomBot's name or the Admin name to get in
$DB_PWORD="password"; <---- Is this Admin Password or Tombot's?
$DB_DB="datebasename";
************************************************** *****

DarkSavior 01-26-2004 03:24 PM

Those are you MySQL database info fields.
So host is the mysql server address, uname is the database username, password is self-explanatory and databasename is the database where the bot withdraws it's words, for me I used "bot".

Basically everything else is the same as for vbulletin except the database name, but I think you can install the bot under vbulletin database too.

Quest4DSS 01-26-2004 03:38 PM

Quote:

Originally Posted by DarkSavior
Those are you MySQL database info fields.
So host is the mysql server address, uname is the database username, password is self-explanatory and databasename is the database where the bot withdraws it's words, for me I used "bot".

Basically everything else is the same as for vbulletin except the database name, but I think you can install the bot under vbulletin database too.

Did you create a new database and name it bot?

AutomatikStudio 01-26-2004 04:53 PM

Quest...I don't know that C. Birch left alot of info out...I think you just aren't understanding them correctly. You don't create any new databases...you run the .SQL file in your current database and it creates all the new tables that are required...then you make the file mod's that you are told to do. And as far as the database fields:

$DB_HOST="localhost"; <---- leave this like it is...99% of the time it's fine
$DB_UNAME="username"; <---- This is your database username...it has nothing to do with any username of your boards....it was specified when you created the database for your boards
$DB_PWORD="password"; <---- Same as above...
$DB_DB="datebasename"; <---- Name of the database that vB is installed

Quest4DSS 01-26-2004 05:52 PM

OK first off, I want to thank you guys for taking the time out and helping me with this!

This is where I am at with it;

$DB_HOST="localhost"; <---- Left this alone.
$DB_UNAME="********"; <---- I put my User name I used when I set up the database.
$DB_PWORD="password"; <---- Left this alone
$DB_DB="***********"; <---- Placed my Database's name here

This eliminated the first access errors:
Quote:

Warning: Access denied for user: 'MyUserName@000.00.0.00' (Using password: YES) in /home/Mysite/public_html/forum/alice/src/admin/dbprefs.php on line 52

Warning: MySQL Connection Failed: Access denied for user: 'MyUserName@000.00.0.00' (Using password: YES) in /home/ Mysite /public_html/forum/alice/src/admin/dbprefs.php on line 52
Loading startup.xml
Do you know what is causing this?
Quote:

Warning: OpenDir: No such file or directory (errno 2) in /home/ Mysite /public_html/forum/alice/src/admin/botloaderfuncs.php on line 531

Warning: readdir(): supplied argument is not a valid Directory resource in /home/ Mysite /public_html/forum/alice/src/admin/botloaderfuncs.php on line 532

Warning: closedir(): supplied argument is not a valid Directory resource in /home/ Mysite /public_html/forum/alice/src/admin/botloaderfuncs.php on line 540
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.122679
Templates per second=0
Templates per minute=0
Thanks

Edited type-o

DarkSavior 01-26-2004 07:21 PM

Check what your config.php settings are for vbulletin in the admin directory, then just fill the info from them.

Quest4DSS 01-27-2004 08:09 PM

Quote:

Originally Posted by DarkSavior
Check what your config.php settings are for vbulletin in the admin directory, then just fill the info from them.

I did that and I still get this error.
Does anyone know what file or directory it is looking for?


Warning: OpenDir: No such file or directory (errno 2) in /home/ Mysite /public_html/forum/alice/src/admin/botloaderfuncs.php on line 531

Warning: readdir(): supplied argument is not a valid Directory resource in /home/ Mysite /public_html/forum/alice/src/admin/botloaderfuncs.php on line 532

Warning: closedir(): supplied argument is not a valid Directory resource in /home/ Mysite /public_html/forum/alice/src/admin/botloaderfuncs.php on line 540
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.122679
Templates per second=0
Templates per minute=0

Quest4DSS 01-29-2004 09:15 PM

I am still working on it and have made some progress.
I have found that I needed to remove the http:// in the ?$rootdir="../../aiml/";? line of /alice/src/admin/dbprefs.php

Now this is the error I am getting?
************************************************** *******************
Loading startup.xml

Warning: Unable to access www.*******.com/forum/alice/aiml/startup.xml in /home/******/public_html/forum/alice/src/admin/botloaderfuncs.php on line 508

Warning: fopen("www.*******.com/forum/alice/aiml/startup.xml", "r") - No such file or directory in /home/******/public_html/forum/alice/src/admin/botloaderfuncs.php on line 508
could not open XML input
************************************************** *******************
Before anyone says it, I already CHMOD 777 every single file and directory.
Could someone please help with this.

Thanks

Quest4DSS 02-01-2004 12:47 PM

?

Quest4DSS 02-07-2004 05:42 PM

I have decided to completly remove this Hack off my site, I have tried everything and got nowhere with it.
Maybe it is something so simple that I am missing.
Oh well if anyone has the time to have me with it I am willing to try again.
Thanks

Sal Collaziano 03-22-2004 11:13 PM

Any updates on this?

CFF RA's 12-24-2005 12:10 AM

Okay, whats going on here?!? The link that works is the addon... is there a zipfile other than the addon?

Marco van Herwaarden 12-24-2005 07:52 AM

This hack was made for 2.x. It will probably not work for 3.x versions.

CFF RA's 12-24-2005 07:26 PM

I'm running 2.3.7

XFSIllusion 01-04-2006 04:57 PM

when posting a thread, anyone know what causes this...

Fatal error: Call to undefined function: strip_smilies() in /home/xfleet/public_html/forums/_talkerbot.php on line 65


All times are GMT. The time now is 11:41 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.03908 seconds
  • Memory Usage 1,809KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)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