So, currently, in long threads, the page system goes:
1,2,3...13,14,15...46,47,48
You can see how trying to get at a post in, say, the mid-30s might get annoying.
Would it be possible to have either a pagemark every ten pages:
1,2,3...10...13,14,15...20,30,40... 46,47,48 (or some similar notation)
or
A pulldown menu of all page numbers?
Posts
In functions.php, replace the generate_pagination function with:
That should make a drop down list of all available forum pages in place of the normal links. The current page should be selected and changing the menu should auto change pages, assuming JavaScript is enabled on the user's browser.
Please note I have not tested this extensively, however I ran into no problems.
Fine, keep the existing function, add a
and tack on mine. That way you have the links AND the drop down function.
I don't have the forum software, but it looks like if you set up the dropdown box, you could have a 'go' button next to it that will send you to viewtopic.php, with the dropdown box being labeled 'start' instead of having it in the url. then at the start of viewtopic.php multiply start by 25 to get the first post that should be listed [I do believe it is 25, not 50], which would result in it displaying the proper page.
ninja edit: subtract 25 at the end, otherwise it'll go an extra page
You could do it that way as well. Alpha mentioned javascript, so I did it in javascript.
I still think this is a retarded idea, I'm just saying there is no reason to complicate things by adding yet another parameter to viewtopic
No actually. In the rare situations I need to skip deep into threads, I find changing the url perfectly servicable.
Oh well.
That said, the new version of phpBB is a LOT different (in terms of backend coding) than the current version, so I'm pretty sure Alpha is just holding off from making any changes (small as they may be) to the current code, as we'll be switching relatively soon.