Hello. I was pretty bored tonight/this morning so I thought I'd play around with this idea. Here's what I did so far:
Step 1 - Made `req_posts` field (INT, default=0) in THREAD table. (database)
### FOLLOWING DONE IN FORUMDISPLAY.PHP ###
Step 2 - Added req_posts into the thread query
PHP Code:
$threads = $DB_site->query("SELECT [...], req_posts, [...]
------
Step 3 - Find:
PHP Code:
while ($thread = $DB_site->fetch_array($threads))
{ // AND $counter++<$perpage)
Add
AFTER
PHP Code:
$bbuserinfo['posts']+=1; // min post count requirment minimum | line 1
if($bbuserinfo['posts']>=$thread['req_posts']){ // min post count requirment minimum | line 2
-------
Step 4 - Find:
PHP Code:
eval('$threadbit .= "' . fetch_template('threadbit') . '";');
}
Add
AFTER
PHP Code:
} // min post count requirment minimum | line 3 | last line
------
------
That should prevent them from showing up in the forum display... which is a start, eh? If you're wondering about the +1 to the bbuserinfo[posts], it seems to error out my way for GUESTS and users not logged in, not that adding one to that is a HUGE deal; it's just one extra line of code and doesn't actually add to the post count. Maybe someone knows a better way?