Exclude forums from Recent Active
Exclude forums from Recent Active
just another question...(sorry to bother you)
In my forum i have i private area staff only.
Is there a way to exclude that area from the mod?
In my forum i have i private area staff only.
Is there a way to exclude that area from the mod?
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Exclude forums from Recent Active
Open includes/functions_top_stats.php
Find:
Inline, After add:
11 is the ID of the forum.
Find:
AND t.topic_approved
Inline, After add:
AND t.forum_id <> 11
11 is the ID of the forum.
Board rules! No PM support
- Makis
- BBCoder III
- Posts: 91
- Joined: 10 Mar 2010, 18:01
- BBCodes: 67
- Favourite MOD: Welcome On Index
- Location: Athens Greece
Exclude forums from Recent Active
And if I want to add more than one forum?
Can I use
Thanks
Can I use
or
or ,
Thanks
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Exclude forums from Recent Active
Could be:
AND t.forum_id <> 11 AND t.forum_id <> 18
Board rules! No PM support
- doktornotor
- BBCoder IV
- Posts: 167
- Joined: 14 Sep 2011, 23:20
- BBCodes: 30
- Favourite MOD: Thanks for Posts
- Contact:
Exclude forums from Recent Active
Or maybe something like:Stoker wrote:Could be:AND t.forum_id <> 11 AND t.forum_id <> 18
Code: Select all
$recent_forums_excluded = array(1,2,3,4,5);
...
AND !in_array($data['t.forum_id'], $recent_forums_excluded)
Support requests via PM go straight to /dev/null!
- Blackwolf
- BBCoder IV
- Posts: 272
- Joined: 04 Dec 2010, 12:36
- BBCodes: 101
- Favourite BBCode: Dropcap
- Favourite MOD: mchat
- Location: Melbourne Australia
Exclude forums from Recent Active
Any reason I cant find in my functions_top_stats.php
Latest & greatest....1.0.6
Just want to exclude one private forum....59
Code: Select all
AND t.topic_approved
Latest & greatest....1.0.6
Just want to exclude one private forum....59
Last edited by Blackwolf on 01 Dec 2011, 10:32, edited 1 time in total.
Ultimate Edition, Ultimate Edition Oz, Oz Unity
“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
- doktornotor
- BBCoder IV
- Posts: 167
- Joined: 14 Sep 2011, 23:20
- BBCodes: 30
- Favourite MOD: Thanks for Posts
- Contact:
Exclude forums from Recent Active
You probably messed it up?
Support requests via PM go straight to /dev/null!
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Exclude forums from Recent Active
Its there in 1.0.6 but will be removed in 1.0.7
Board rules! No PM support
- Blackwolf
- BBCoder IV
- Posts: 272
- Joined: 04 Dec 2010, 12:36
- BBCodes: 101
- Favourite BBCode: Dropcap
- Favourite MOD: mchat
- Location: Melbourne Australia
Exclude forums from Recent Active
I just re downloaded the 1.0.6 version. It is NOT in the file functions_top_stats.php.
Sorry to argue but please have a look in the file yourself.
There is only one line with the word approved in it...line 56 .....
Code: Select all
AND t.topic_approved
There is only one line with the word approved in it...line 56 .....
Code: Select all
WHERE ' . $db->sql_in_set('t.forum_id', $flist) . ' AND topic_moved_id = 0 AND topic_approved
Last edited by Blackwolf on 01 Dec 2011, 10:43, edited 2 times in total.
Ultimate Edition, Ultimate Edition Oz, Oz Unity
“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”