FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
Make the » in the Pager jump to the very end ?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=187524&th=123938#msg_187524
Users expect it to jumo to the very end of a list in forum's or thread view, but it seems to be made to jump 15 pages (or 'entries per page') forward/backward.
How would i change this / is it even possible ?
Thanks,
Alex]]>_alex2018-07-12T16:44:19-00:00Re: Make the » in the Pager jump to the very end ?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=187527&th=123938#msg_187527
naudefj2018-07-15T08:59:16-00:00Aw: Make the » in the Pager jump to the very end ?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=187528&th=123938#msg_187528
This has now 215 pages, 15 threads / page, currently 3213 replies
Guess there are some other long-running threads where the double-arrow in the pager just doesn't work well.]]>_alex2018-07-16T07:43:05-00:00Re: Aw: Make the » in the Pager jump to the very end ?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=187592&th=123938#msg_187592
src/draw_pager.inc.t, ca. Line 107 ...
if ($append) {
$page_next_url = $arg . $upfx . $page_start . $suf;
// $page_last_url = $arg . $upfx . $page_start_2 . $suf;
$page_last_url = $arg . $upfx . floor($total/$count)*$count . $suf;
} else {
$page_next_url = $page_last_url = $arg;
pager_replace($page_next_url, $upfx . $page_start, $count);
pager_replace($page_last_url, $upfx . $page_start_2, $count);
}
]]>_alex2018-09-19T14:37:05-00:00Re: Aw: Make the » in the Pager jump to the very end ?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=187593&th=123938#msg_187593
Patch committed @ http://sourceforge.net/p/fudforum/code/6203
]]>naudefj2018-09-20T18:24:28-00:00Aw: Re: Aw: Make the » in the Pager jump to the very end ?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=187594&th=123938#msg_187594
decreasing the total by one should work, so better use smth like this:
$page_last_url = $arg . $upfx . floor($total-1/$count)*$count . $suf;
]]>_alex2018-09-20T18:29:49-00:00Re: Aw: Re: Aw: Make the » in the Pager jump to the very end ?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=187595&th=123938#msg_187595
naudefj2018-09-22T07:56:20-00:00Re: Aw: Re: Aw: Make the » in the Pager jump to the very end ?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=187606&th=123938#msg_187606
naudefj2018-10-15T19:56:35-00:00