and of course you are testing if it's working by using a useraccount with usergroupid=46, right?
If you are sure about
a) usergroupid is correct (Is it really 46???)
b) You testing it with an account with the same usergroup id
c) times set according to server time
try this:
Before the hack add:
PHP Code:
echo '$bbuserinfo[usergroupid]='.$bbuserinfo[usergroupid];
echo '<br>server time now='.date("H", time());
lines, for debugging purposes, send a post and note what info is posted in your screen (In the screen "thank you for your post")