not to bump an old thread but i have tried to get it construct phrase and now it doesnt display the phrase at all but just the error box with nothing in it
here is my current code:
PHP Code:
$floodcheck= $DB_site->query_first("SELECT comment_date AS lastcomdate FROM ".TABLE_PREFIX."journal_comments WHERE commenter_id=".$bbuserinfo['userid']." ORDER BY comment_date DESC");
if((TIMENOW - $floodcheck['lastcomdate'])<= $setting['floodint'])
{
$vbphrase['journalfloodcheck']= construct_phrase($vbphrase['journalfloodcheck'], $setting['floodint'], 'commenting');
eval(print_standard_error("".$vbphrase[journalfloodcheck]."", false));
}