Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Post
by Makis » 30 Nov 2011, 22:02
And if I want to add more than one forum?
Can I use or
or ,
Thanks
Post
by Stoker » 30 Nov 2011, 22:24
Could be: AND t.forum_id <> 11 AND t.forum_id <> 18
Post
by doktornotor » 01 Dec 2011, 07:06
Stoker wrote: Could be: AND t.forum_id <> 11 AND t.forum_id <> 18
Or maybe something like:
Code: Select all
$recent_forums_excluded = array(1,2,3,4,5);
...
AND !in_array($data['t.forum_id'], $recent_forums_excluded)
Post
by Stoker » 01 Dec 2011, 07:55
Sounds like a good idea doktornotor
Post
by Blackwolf » 01 Dec 2011, 08:19
Any reason I cant find
in my functions_top_stats.php
Latest & greatest....1.0.6
Just want to exclude one private forum....59
Last edited by Blackwolf on 01 Dec 2011, 08:32, edited 1 time in total.
Post
by doktornotor » 01 Dec 2011, 08:31
You probably messed it up?
Post
by Stoker » 01 Dec 2011, 08:35
Its there in 1.0.6 but will be removed in 1.0.7
Post
by Blackwolf » 01 Dec 2011, 08:39
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
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, 08:43, edited 2 times in total.
Post
by Stoker » 01 Dec 2011, 08:41
AND topic_approved
Post
by Blackwolf » 01 Dec 2011, 08:44
Thankyou
So instead of
what do I input please....otherwise I get a general error.