PDA

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



Steve Machol
Fri 14th Jul '06, 12:23pm
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, 1:32am
To reset the defaults for all users so they see all posts, run this query:

UPDATE user SET daysprune=-1

Steve Machol
Wed 23rd Aug '06, 1:32pm
NOTE: You can run queries in the SQL tab in phpMyAdmin, Or to run queries from the Admin CP:

Admin CP -> Maintenance -> Execute SQL Query -> Manual Query

Then enter your query in the Manual Query box and click on 'Continue'.

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.