Quote:
Originally Posted by welo
Okay, this is pretty cool. Have it running on RC2.
Couple of things though:
1. Can something be done to more easily eliminate forums you don't want posts drawn from except leave them out of the whole list? Like for instance:
restrict_NewestThreads(5,"1,2,3"); ...would draw from every forum except 1,2,3. Would make it a lot easier to exempt your admin and special usergroup forums.
2. Would be really nice if thread titles could be restricted to a certain specified character limit. So if the thread title is really long you could chop it off and add ... after 20 characters f.ex.
Otherwise very cool indeed :up:
|
Change this line:
PHP Code:
if($Forums){
$SQL = " where forumid in({$Forums})";
}
To this:
PHP Code:
if($Forums){
$SQL = " where forumid NOT in({$Forums})";
}