Project 1999

Project 1999 (/forums/index.php)
-   Technical Discussion (/forums/forumdisplay.php?f=40)
-   -   Possible modification for forums? (/forums/showthread.php?t=102049)

ymw 03-14-2013 01:18 PM

Possible modification for forums?
 
Would it be possible to change options for posts per page? Something like:

Code:

                                <fieldset class="fieldset">
                                        <legend><label for="sel_umaxposts">Number of Posts to Show Per Page</label></legend>
                                        <table cellpadding="0" cellspacing="3" border="0" width="100%">
                                        <tr>
                                                <td>Use this option to set the number of posts to show in a thread before splitting the display into multiple pages.</td>
                                        </tr>
                                        <tr>
                                                <td>
                                                        <span style="float:right">
                                                        <select name="umaxposts" id="sel_umaxposts">
                                                                <option value="-1" selected="selected">Use Forum Default</option>
                                                                <option value="5" class="" >Show 5 Posts Per Page</option>
<option value="10" class="" >Show 10 Posts Per Page</option>
<option value="15" class="" >Show 15 Posts Per Page</option>
<option value="20" class="" >Show 20 Posts Per Page</option>

                                                        </select>
                                                        </span>
                                                        <label for="sel_umaxposts">Number of Posts to Show Per Page:</label>
                                                </td>
                                        </tr>
                                        </table>
                                </fieldset>

Code:

                                <fieldset class="fieldset">
                                        <legend><label for="sel_umaxposts">Number of Posts to Show Per Page</label></legend>
                                        <table cellpadding="0" cellspacing="3" border="0" width="100%">
                                        <tr>
                                                <td>Use this option to set the number of posts to show in a thread before splitting the display into multiple pages.</td>
                                        </tr>
                                        <tr>
                                                <td>
                                                        <span style="float:right">
                                                        <select name="umaxposts" id="sel_umaxposts">
                                                                <option value="-1" selected="selected">Use Forum Default</option>
                                                                <option value="10" class="" >Show 10 Posts Per Page</option>
<option value="20" class="" >Show 20 Posts Per Page</option>
<option value="50" class="" >Show 50 Posts Per Page</option>
<option value="100" class="" >Show 100 Posts Per Page</option>

                                                        </select>
                                                        </span>
                                                        <label for="sel_umaxposts">Number of Posts to Show Per Page:</label>
                                                </td>
                                        </tr>
                                        </table>
                                </fieldset>

My guess is the back end doesn't care what values are there and that these could easily be changed or added on. I only suggest changed because seriously, who uses the 5 or 15 per page options?

Would love to have the 100 option available!


All times are GMT -4. The time now is 05:01 PM.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.