Linux PowerHouse Station Logo Linux PowerHouse Station Banner
Presented by: Kimmie Dicaire
And the #linuxhelper@dal.net ops
3 walking penguins
Home

Distributions
HOWTOs
Tutorials
Man Pages
Help Database
Basic Commands
Security/Patches
Editorials
Hot Links
Channel Operators
Channel Rules

Credits
Feedback
Email Kimmie
About Kimmie
Kimmie's Resume

 
 
 
Pbotty FAQ

[Installing and Configuring Pbotty] [Learning How to Interact with Pbotty]
[Quick Install Method] [DownLoad Pbotty]
[Bugs & Fixes] [Mailing List] [Rate Our Software]
[Pbotty Bulletin Board] [the CREATORS] [Warranty]
[Perl Coders] [Graphic Contest]



Pbotty is based directly upon ozoids infobot.

The Pbotty connects to an Internet Relay Chat (IRC) server, joins some channel s, and begins learning. To run one, download the source, uncompress it, untar it, edit the config files, install the Postgres schema, and its up.

Interacting with the bot is pretty straightforward. Most of the commands and variables available to users are listed below. The bot will interact via message or on-channel.

Two of the major difference's between Pbotty and the Orginal Infobot is that Pbotty is completely backended by a PostgreSQL database and has a PHP3 web front end for the PostgreSQL database. We have a basic PostgreSQL schema that Pbotty runs included in the tarball download as well as all the PHP3 code for the web front end. We will assume that you already know how or have PostgreSQL and PHP3 installed on your system as this FAQ does not go into installing, or configuring PostgreSQL or PHP3. You may look at our PostgreSQL/PHP3 Tutorial if you need some added help. There are many scripts included in the source tarball to make things automated via crontab files, for example a daily reporting that is emailed directly to your mailbox showing all the data that has been added to your database as well as who added it and when.


Configuring & Running The Pbotty

After you have the source untarred go to ~/Pbotty-v1.1C/files and lets do a quick run down of what has to be modified to get your new bot online. The files we will be focusing on is pbotty.config and pbotty.users. For simplicity we are going to assume you want to make use of all the features the Pbotty has to offer.


Interacting with the Pbotty


Download The Source Of Your Choice

Anyone that downloaded Pbotty-v1.1E needs to download Pbotty-v1.1F due to an error in the pbotty.schema that prevented Pbotty from starting

Pbotty-v1.1D.tgz Quiet Channel Bot (Only Op's can make it talk publically, everyone else gets answer via /msg)

Pbotty-v1.1F.tgz Chatty Channel Bot (Anyone can make it talk publically)

Download The PHP/PostgreSQL Upgrade For Pbotty-v1.1C.tar.gz

To just upgrade from Pbotty-v1.1C to Pbotty-v1.1D just download the following 2 files and untar them where your current /pbotty directory is. Then run the Install.sh script in each directory to put the correct user/pass for database connection and you are done.

php-private
php-public

To see what the new interface looks like try this demo

Data Packs


Quick Install

  1. Download and untar the source for Pbotty

    tar zxfv Pbotty-v1.1D.tar.gz

  2. Install pbotty_modules bundle

    cd Pbotty-v1.1C/Pbotty-bundle
    perl -MCPAN -e 'install Bundle::pbotty_modules'

  3. Install other needed Perl modules

    DBD-Pg-0.92.tar.gz

  4. Edit /Pbotty-v1.1C/files/ to suit your needs (normally pbotty.config and pbotty.users are the only 2 files that need modified)

  5. Edit the top level Pbotty executable to suit your needs

  6. As your Postgres user do:

    createdb pbotty

  7. Install the schema from /Pbotty-v1.1C/postgres to your postgres database

    psql -e pbotty < pbotty.schema

  8. Use the /PostgreSQL/adduser script to create the user your bot will run as. Edit the script change your_username to the bot's user and change your_password to the bots password move the adduser script to your postgres home dir then run

    psql -e pbotty < adduser

  9. Install any data packs you want from /Pbotty-v1.1C/PostgreSQL using the script also found in that directory called postgres_update.pl Just edit the postgres_update.pl for the file(s).txt you want to input into your database

  10. Go into /Pbotty-v1.1C/php-public run the Install.sh to set your posgres user /pass, cp -R /php-public to your web tree, chown -R nobody /php-public, repeat the same for the /Pbotty-v1.1C/php-private directory.

  11. Start the bot

    ./Pbotty or perl ./Pbotty


Bugs & Fixes

None known at this time.
If you think you have encountered a bug please post to the
Pbotty Mailing List. You may also check out the Pbotty Bulletin Board to see if your question has already been answered there.

Perl Coders Wanted

If you are interested in helping the continued development of Pbotty please contact Kimmie.


Graphic Contest

Well my talents fall short in many areas but graphics is a definate low point for me. So this is a calling for all graphic artist to submit there best ideas of what they think Pbotty would look like. The graphic will be placed as a trademark on all PHP3 web pages and packaged in the next release of Pbotty. All credits would be given to the winner of the contest within each PHP3 page but the graphic would fall under the ownership/trademark of Pbotty. Anyone that would like to submit please do so at kimmie@kritek.com All submitted graphics will be placed on the website to be voted on publically.


the CREATORS

CREDITS
========
Kevin Lenzo is creator of all base code.

Matt Cashner built the DBI perl mod into the base code

Kimmie Dicaire is responsible for Pbotty FAQ's/Documentation, Database schema's, data packs and all PHP3 code.


Warranty

In terms of Warranty, no warranty is guaranteed or implied. If this eats your hard drive, kills your cat, or rotates your tires, you have no legal recourse anywhere. None of the authors nor users of this code may be held liable, legally or otherwise, for any damages or benefits that arise from use of this code.

Rate Our Program
@ HotScripts.com


Email Kimmie
About Kimmie
 
 


Software
Downloads

EZ Notepad
EZ Phonebook
EZ Tracker
Pbotty
Skins
 
 

Recommend This Site To A Friend: All Fields are Required

Your E-mail:
Your Name:
Their Name:
Their E-mail:

 
Original copyright © 1998 - 2002 K&R Information Technologies
Original Design & Graphics By: Judy
Original Content and Material By: Kimmie