collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Making Bebot login to phpBB in order to retrieve topics?  (Read 13687 times)

0 Members and 1 Guest are viewing this topic.

Offline Nesi

  • BeBot User
  • **
  • Posts: 55
  • Karma: +0/-0
Making Bebot login to phpBB in order to retrieve topics?
« 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 :)

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Making Bebot login to phpBB in order to retrieve topics?
« Reply #1 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
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline Nesi

  • BeBot User
  • **
  • Posts: 55
  • Karma: +0/-0
Making Bebot login to phpBB in order to retrieve topics?
« Reply #2 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.

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Making Bebot login to phpBB in order to retrieve topics?
« Reply #3 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.

Offline komives

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Making Bebot login to phpBB in order to retrieve topics?
« Reply #4 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
Mage 218 NT/RK2

Offline Nesi

  • BeBot User
  • **
  • Posts: 55
  • Karma: +0/-0
Making Bebot login to phpBB in order to retrieve topics?
« Reply #5 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.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 434
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal