I modified the debug code above a little bit. Can u please try again and tell me the displayed result?
It's weird that query returns you the correct time but the debug code for last running time is blank.
BTW. you are sure you applied the hack code to "forum/index.php", not to another file right? Also your "timetick" table is created in the same MYSQL database your test board is installed? If you have more than 1 databases, please make sure your table is in the correct database.
Also make sure if you have this line in the hack code:
PHP Code:
$last_action=$DB_site->query_first("SELECT * FROM timetick WHERE action='birthday' LIMIT 1");
and it stands as a new line, not appended right after this line:
PHP Code:
//$todays_date1=vbdate("Y-m-d",time());