Goto Page (X)
Moderator: Forum Moderators
-
- Posts: 984
- Joined: February 21st, 2006, 11:02 pm
- Location: 0x466C616D65
Goto Page (X)
If something you really really need to find is on, say, Page 34 of a 55-page thread, you have to either start from the beginning and keep clicking "next" or start from the end and keep clicking "previous" to get to it. The little "Go To Page" thing, either below the thread's name in the forum, or at the top of the page when browsing, shows the first few and last few pages, that's all. What I'm proposing is a little dialog at the top that looks like:
_______________________
| Go To Page:[___] [GO] |
-----------------------------------
That way, the user types in a page number and clicks "go", and it goes to that page. Simple enough. I know it's been done on other forums.
Any thoughts?
_______________________
| Go To Page:[___] [GO] |
-----------------------------------
That way, the user types in a page number and clicks "go", and it goes to that page. Simple enough. I know it's been done on other forums.
Any thoughts?
- Maeglin Dubh
- Moderator Emeritus
- Posts: 1154
- Joined: November 16th, 2005, 8:38 pm
- Location: Valley of the Shadow of Death
- Contact:
-
- Inactive Developer
- Posts: 787
- Joined: March 31st, 2006, 6:55 am
I doub it's possible if possible it would be great.
But there's a method I often use, take this thread
http://www.wesnoth.org/forum/viewtopic. ... sc&start=0
and I want to go to page 5 then I change the url in (the start part)
http://www.wesnoth.org/forum/viewtopic. ... c&start=60
The forum shows 15 post per page so the the start is (page-1)*15 = 60
But there's a method I often use, take this thread
http://www.wesnoth.org/forum/viewtopic. ... sc&start=0
and I want to go to page 5 then I change the url in (the start part)
http://www.wesnoth.org/forum/viewtopic. ... c&start=60
The forum shows 15 post per page so the the start is (page-1)*15 = 60
-
- Posts: 984
- Joined: February 21st, 2006, 11:02 pm
- Location: 0x466C616D65
You can always edit the URL where it says &start= to equal desired_page_number*15. So, if you want to go to page 15 of a 100 page thread, change it to &start=225.
But I see what you mean, and I agree, it would be a useful mod.
But I see what you mean, and I agree, it would be a useful mod.
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
And I hate stupid people.
The World of Orbivm
-
- Inactive Developer
- Posts: 787
- Joined: March 31st, 2006, 6:55 am
Turin, like I said before, it's (desired_page_number-1)*15turin wrote:You can always edit the URL where it says &start= to equal desired_page_number*15. So, if you want to go to page 15 of a 100 page thread, change it to &start=225.
But I see what you mean, and I agree, it would be a useful mod.
start=210 takes you to page 15
start=225 takes you to page 16
I don't have a phpbb install to make a mod with currently. I'll keep that in mind for a future quickie.
For now, you can use this bookmarklet:
javascript:N="start="+((C=window.prompt("Jump to which page?", "1")-1)*15); if(C>-1) { R = /start=\d*/; if (R.exec(location.search)) location.search = location.search.replace(R, N); else location.search += "&" + N;} void 0;
For now, you can use this bookmarklet:
javascript:N="start="+((C=window.prompt("Jump to which page?", "1")-1)*15); if(C>-1) { R = /start=\d*/; if (R.exec(location.search)) location.search = location.search.replace(R, N); else location.search += "&" + N;} void 0;