Hello,
sorry for my English, I use google translation.
I would like some hidden forums topics in "recent active topics"
I find a topic on your forum that talks about it, but unfortunately it concerns an old version of your mod.
How please?
Thank you in advance;)
Masked subjects [resolved]
Masked subjects [resolved]
Last edited by vin91 on 04 May 2012, 18:30, edited 1 time in total.
Masked subjects
Yes I try
The topic in question is: topic ID 1542
includes / functions_top_stats.php
this line does not appear
The topic in question is: topic ID 1542
in:Stoker wrote:Open includes/functions_top_stats.php
Find:AND t.topic_approved
Inline, After add:AND t.forum_id <> 11
11 is the ID of the forum.
includes / functions_top_stats.php
this line does not appear
AND t.topic_approved
or even a line that looks like.- Stoker
- Site Admin
- Posts: 3540
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Masked subjects
Open includes/functions_top_stats.php
Find:
Replace with:
Find:
Replace with:
Find:
Code: Select all
if (!empty($config['tsrat_enable']) && sizeof($flist))
Code: Select all
if (!empty($config['tsrat_enable']))
Code: Select all
WHERE ' . $db->sql_in_set('t.forum_id', $flist) . ' AND t.topic_moved_id = 0
Code: Select all
WHERE t.topic_moved_id = 0 AND t.topic_approved = 1
Board rules! No PM support
Masked subjects
Hello,
Thank you very much it works
for : phpBB 3.0.10
I just add on the same line
which gives:
And here's how to exclude several forums:
Still grieve for my english ^ ^
Thank you again;)
Thank you very much it works
for : phpBB 3.0.10
I just add on the same line
t.forum_id AND <> 59
after WHERE t.topic_moved_id = 0 AND 1 = t.topic_approved
which gives:
WHERE t.topic_moved_id t.topic_approved t.forum_id = 1 AND <> 14
And here's how to exclude several forums:
WHERE t.topic_moved_id t.topic_approved t.forum_id = 1 AND <> 14 AND t.forum_id <> 23 AND t.forum_id <> 28 ...
Still grieve for my english ^ ^
Thank you again;)