If anyone would like to know how this hack works, here you go.
Every time index.php is accessed, the current date (in a yyyy-mm-dd format) is generated (according to the server time, like I mentioned above).
Then the data is pulled from a special template ("memberoftheday") and the date in the template is checked against the date that was just generated.
If the dates match, then the data is ok (since it was created today, otherwise the date would be different), and nothing special needs to be done (other than assigning the data to new, easy-to-understand variables).
If the dates do not match, the current member of the day is from a different day (probably yesterday, unless no one visited your forum for more than a day

).
A new random user is selected from the database, while making sure it's not the same one that is already selected, a new data template is created and the database is updated.
The above procedure also occurs if $resetmember is set to 1 (through the URL) and the user is an admin.
So, the member of the day is only updated once a day, by the first member that visits your forum on a new day. Quite nice, no?