IPB post date check
| From: | Luca Paolella | Date: | Thu, 24 Jul 2008 15:14:51 +0000 |
| Subject: | IPB post date check | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-277243@lists.php.net to get a copy of this message | ||
Hi,
I'm writing a bot that should let a user log in an IPB forum and do some actions after checking that the right conditions are verified in the user's account's profile. These conditions are:
1) the user must have registered his account before a certain date
2) the user must have posted a message in a defined period of time (between date 1 and date 2)
I'm using a set of functions to get infos about the user from the board's db: http://projects.pc-intern.com/index.php?showforum=150
I've been able to verify condition 1, but I don't know what to do about the second, since I cannot seem to find a way to check if a user posted a message on a certain day. Do you have any idea on how I should do this check?
Thanks for your help,
Luca