
08-26-2003, 04:51 PM
|
 |
|
|
Join Date: Oct 2001
Location: Germany
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
05-14-02 at 02:37 AM Logician said this in Post #15
@inetd: To exclude private forums edit this line in data.php:
$sql_query = "SELECT threadid, thread.forumid, thread.title, thread.replycount, thread.lastposter, postuserid, postusername, forum.title AS forumname FROM thread,forum where forum.forumid=thread.forumid ORDER BY thread.lastpost DESC LIMIT $maxcount";
before ORDER BY, ADD:
AND (thread.forumid!=X OR thread.forumid!=Y)
Replace X and Y with your private forum's ids..
|
I believe the query should be:
Code:
AND thread.forumid!=X AND thread.forumid!=Y
|