squawell,
I don't understand what you're asking.
TranceMaster,
Sure, if you only want this to effect a single forum just remove the code that you added earlier to attachment.php..
Then find (in attachment.php):
Code:
$getforuminfo=$DB_site->query_first("SELECT forumid".
iif($postid,',attachmentid ','')."
FROM thread,post
WHERE post.threadid=thread.threadid ".
iif($postid,"AND post.postid='$postid'","AND post.attachmentid='$attachmentid'")."
");
Below it add:
Code:
// minimum post to view attachments
if ($bbuserinfo[posts] < $minpostattach and $getforuminfo['forumid']==X) {
eval("standarderror(\"".gettemplate("error_attachmoreposts")."\");");
exit;
}
Now in the code above, replace the red X with the forum ID of the one that you want this to effect.
I haven't tested this but it should work.
When I get some free time I might re-do this so that the minimum # of posts can be set on a forum by forum basis in the CP. So if ya want to be notified about updates just click install.
shungo,
Sure, go ahead and post the French version if you want.