PDA

View Full Version : [Any Version] How Do I Set Forums to Display All Posts


Steve Machol
Fri 14th Jul '06, 11:23am
In the Forum Manager set the Default View Age to 'Show All Threads'.

Admin CP -> Forums & Moderators -> Forum Manager -> Edit Forum -> Default View Age -> Show All Threads

Or to update them all at once, run this query (assuming no table prefix is being used):

UPDATE forum SET daysprune=-1;

After running that query, update the forum counters:

Admin CP -> Maintenance -> Update Counters -> Rebuild Forum Information

Note: To run queries you first need to give yourself permission to run queries in the Admin CP. To do this, edit this section of config.php:

// ****** USERS WITH QUERY RUNNING PERMISSIONS ******
// The users specified here will be allowed to run queries from the control panel.
// See the above entries for more information on the format.
// Please note that the ability to run queries is quite powerful. You may wish
// to remove all user IDs from this list for security reasons.
$canrunqueries = 'x';

...with x being your userid number.

Steve Machol
Sun 6th Aug '06, 12:32am
To reset the defaults for all users so they see all posts, run this query:

UPDATE user SET daysprune=-1