Following on from my "have to have 5 posts before viewing a forum" thread I am now requiring to make it 5 posts and 5 days since registering. The code I used for the first bit is:
Code:
//put that in forumdisplay just before
//GENERATE forumjump:
if ($bbuserinfo[usergroupid]==X AND $bbuserinfo[posts]<Y AND $foruminfo[forumid]==3)
{
eval("standarderror (\"".gettemplate ("error_minposts")."\");");
exit;
}
but I cant workout the syntax to make it 5 posts and has been registered for 5 days.
Anyone got any clues on this?
thanks