BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: Nesi on April 25, 2005, 02:12:04 am

Title: Making Bebot login to phpBB in order to retrieve topics?
Post by: Nesi on April 25, 2005, 02:12:04 am
Ok, this one i REALLY have no clue about.

I want Bebot to login to phpBB to retrieve a page on the member sections which i can then parse for infomation that i need.

Had it just been a freely available page i would have no problem in making this work, so the problem for me lies in making it access the members area and fetching the page there.

It think it must be done by the means of some "form" as the standard login:[email protected] does not work.

Hope someone outthere got some input on this one :)
Title: Making Bebot login to phpBB in order to retrieve topics?
Post by: craized on April 27, 2005, 09:38:07 am
You'll probably need to get your username/pass for the forums database, assuming thats available, then go into your forums database, grab the posts in that specific topic, and parse that information. Its definitely possible. If you don't have the database information, you're going to have a lot more trouble getting the forum to give out the information you want.

Let me know which situation you're faced with I can TRY to help. I'm sure someone here is smart enough. :P
Title: Making Bebot login to phpBB in order to retrieve topics?
Post by: Nesi on April 27, 2005, 05:41:15 pm
What im trying to do is making the bot go into our guilds forum (which is phpBB) and grab a page from the members section so i can parse that.
Got everything but the knowledge of how to login through Bebot.

Maybe i can get access directly to the DB, ill have to check what type phpBB uses to store posts.
Title: Making Bebot login to phpBB in order to retrieve topics?
Post by: Glarawyn on April 27, 2005, 08:53:21 pm
phpBB most commonly uses MySQL. Amona once wrote an IGN plugin that could display information from the official AO forums as well as a modified version for phpBB2, but they could only display what you could get access to without being logged into the forums.

Beaker has code in guildbot that is able to notify the org channel on a new phpBB post, but I don't know if it's part of the official helpbot code or the version that is customized for Sents. :)

Your best bet would be to run phpBB and BeBot on the same machine and write a plugin that can query the phpBB database.
Title: Making Bebot login to phpBB in order to retrieve topics?
Post by: komives on April 29, 2005, 09:54:31 am
Quote from: "Glarawyn"
phpBB most commonly uses MySQL. Amona once wrote an IGN plugin that could display information from the official AO forums as well as a modified version for phpBB2, but they could only display what you could get access to without being logged into the forums.

Beaker has code in guildbot that is able to notify the org channel on a new phpBB post, but I don't know if it's part of the official helpbot code or the version that is customized for Sents. :)

Your best bet would be to run phpBB and BeBot on the same machine and write a plugin that can query the phpBB database.


this is what i do, i got bot on the same machine as webserver + mysql.
i made a web interface to bot that allows org members to talk and read org channels via web browser (from work) hehe
Title: Making Bebot login to phpBB in order to retrieve topics?
Post by: Nesi on May 05, 2005, 11:15:03 pm
Yeah that is what i would do but i don't run the forums only the bot :(

But ohh well, guess im gonna have to push this to the bottom of the todo list until i maybe come up with a solution for it.

Thanks for all the info and ideas tho guys, much appriciated.
SimplePortal 2.3.7 © 2008-2024, SimplePortal