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: Bot announcing new phpBB topic  (Read 3105 times)

0 Members and 3 Guests are viewing this topic.

Offline laen

  • BeBot User
  • **
  • Posts: 24
  • Karma: +0/-0
Bot announcing new phpBB topic
« on: November 14, 2007, 08:11:23 am »
I'm hoping to write a module that tells the pgroup about a new topic that's posted on the phpBB forums associated with the bot. Now, the SQL query for that isn't going to be hard, but having the bot check for it is kicking me around.

How would something like that be done? Make the bot check every 5 minutes for new topics on the query, storing the allready posted topic ID's in a table/textfile? Besides that, i have no idea yet on how to work with the bots cron. So if anyone could enlighten me on that one too, that would be awesome.

Thanks in advance!

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Bot announcing new phpBB topic
« Reply #1 on: November 14, 2007, 12:15:55 pm »
i have something similar i use for smf this should help you

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: Bot announcing new phpBB topic
« Reply #2 on: November 14, 2007, 02:18:06 pm »
http://bebot.link/index.php/topic,416.msg2605.html#msg2605

It's a bit old and crappy, but it works.
Too many toons.

Offline laen

  • BeBot User
  • **
  • Posts: 24
  • Karma: +0/-0
Re: Bot announcing new phpBB topic
« Reply #3 on: November 14, 2007, 08:34:02 pm »
You two are simply awesome :D

Gonna rewrite em a bit, take sexyness from both. Thanks for teh lovin!

 

* 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: 190
  • 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