accyroy
03-25-2004, 05:14 PM
Some time ago I found the way to stop the New Posts link from showing certain forums (such as Anything Goes or a silly forum).
This is how to do it in case anyone would like to know how:
Thanks to assasingod for supplying this solution...
Search.php find:
WHERE forumid IN(" . implode(', ', $forumids) . ")
Replace with:
WHERE forumid IN (". implode(',', $forumids).") AND forumid NOT IN(x)
Where x is forum ID and if you want to exclude more than one then seperate forum ID's with a comma...
The thing is, some of my users obviously like these forums and still would like to view them after pressing New Posts. I would like to make usergroups that they can join so that it will still show the forum in the New Posts section..
Can anyone help with this please?
This is how to do it in case anyone would like to know how:
Thanks to assasingod for supplying this solution...
Search.php find:
WHERE forumid IN(" . implode(', ', $forumids) . ")
Replace with:
WHERE forumid IN (". implode(',', $forumids).") AND forumid NOT IN(x)
Where x is forum ID and if you want to exclude more than one then seperate forum ID's with a comma...
The thing is, some of my users obviously like these forums and still would like to view them after pressing New Posts. I would like to make usergroups that they can join so that it will still show the forum in the New Posts section..
Can anyone help with this please?