Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2010-10-19 11:29:47

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,518
Website

[MOD] ALL in Moderate topic

Allows to see at a topic moderation all posts at once.
22833145.th.gif

1. OPEN FILE footer.php.
2. FIND

        echo "\t\t\t\t".'<dd><span><a href="moderate.php?fid='.$forum_id.'&amp;tid='.$id.'&amp;p='.$p.'">'.$lang_common['Moderate topic'].'</a></span></dd>'."\n";

REPLACE WITH

        echo "\t\t\t\t".'<dd><span><a href="moderate.php?fid='.$forum_id.'&amp;tid='.$id.'&amp;p='.$p.'">'.$lang_common['Moderate topic'].'</a> (<a href="moderate.php?fid='.$forum_id.'&amp;tid='.$id.'&amp;action=all">All</a>)</span></dd>'."\n";

3. SAVE FILE footer.php.
4. OPEN FILE moderate.php.
5. FIND

    // Determine the post offset (based on $_GET['p'])
    $num_pages = ceil(($cur_topic['num_replies'] + 1) / $pun_user['disp_posts']);

BEFORE, ADD

    if (isset($_GET['action']) && $_GET['action'] == 'all')
        $pun_user['disp_posts'] = $cur_topic['num_replies'] + 1;

6. SAVE FILE moderate.php.

Offline

Board footer

Powered by FluxBB