Hello,
I have a suggestion, could we have a page selector for forums and long threads???
Some threads have so many pages you can't select the individual page you want without going through each page. And sometimes in forums it would be nice to go back a few pages to find something you remembered seeing....
Just a suggestion.... Keep up the good work Baldrick
Kevin
+ Reply to Thread
Results 1 to 8 of 8
-
Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw?
-
Good suggestion. I wonder if it's possible with this software?
I don't have a bad attitude...
Life has a bad attitude! -
Originally Posted by yoda313
makntraksIn the theater of the mind...
It's always good to know where the exits are... -
Hello,
No I mean to go to an INDIVIDUAL page. You know if it doesn't show up because there are too many of them.....
Kevin
EDIT -
If you don't want to go through each page it would be nice to pick the page that doesn't show up (in this case pg 7 or page 8). It would just be quicker than paging through each one.Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw? -
http://www.phpbb.com/phpBB/viewtopic.php?t=139080
Code:############################################################## ## MOD Title: Pagination MOD ## MOD Author: Xore < xore at azuriah dot com > (Robert Hetzler) http://www.azuriah.com ## MOD Description: Alter the pagination link settings ## MOD Version: 1.0.0 ## ## Installation Level: Easy ## Installation Time: 4 Minutes ## Files To Edit: includes/functions.php ## Included Files: (n/a) ############################################################## ## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered ## in our MOD-Database, located at: http://www.phpbb.com/mods/ ############################################################## ## Author Notes: Manually variablizing all those hardcoded constants was... interesting ## ## During the installation, replace the values for ## ## $begin_end = 3; ## $from_middle = 1; ## ## With the ones you want for your pagination. A description is supplied. ## ## Be very careful with what you copy and paste. ## ############################################################## ## MOD History: ## ## 2003-09-23 - Version 1.0.0 ## - Initial Release ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # #-----[ OPEN ]------------------------------------------ # includes/functions.php # #-----[ FIND ]------------------------------------------ # $total_pages = ceil($num_items/$per_page); # #-----[ BEFORE, ADD ]------------------------------------------ # // // BEGIN Pagination Mod // $begin_end = 3; $from_middle = 1; /* By default, $begin_end is 3, and $from_middle is 1, so on page 6 in a 12 page view, it will look like this: a, d = $begin_end = 3 b, c = $from_middle = 1 "begin" "middle" "end" | | | | a b | c d | | | | | | | | v v v v v v v 1, 2, 3 ... 5, 6, 7 ... 10, 11, 12 Change $begin_end and $from_middle to suit your needs appropriately */ // // END Pagination Mod // # #-----[ FIND ]------------------------------------------ # if ( $total_pages > 10 ) # #-----[ REPLACE WITH ]------------------------------------------ # if ( $total_pages > ((2*($begin_end + $from_middle)) + 2) ) # #-----[ FIND ]------------------------------------------ # $init_page_max = ( $total_pages > 3 ) ? 3 : $total_pages; # #-----[ REPLACE WITH ]------------------------------------------ # $init_page_max = ( $total_pages > $begin_end ) ? $begin_end : $total_pages; # #-----[ FIND ]------------------------------------------ # if ( $total_pages > 3 ) # #-----[ REPLACE WITH ]------------------------------------------ # if ( $total_pages > $begin_end ) # #-----[ FIND ]------------------------------------------ # $page_string .= ( $on_page > 5 ) ? ' ... ' : ', '; # #-----[ REPLACE WITH ]------------------------------------------ # $page_string .= ( $on_page > ($begin_end + $from_middle + 1) ) ? ' ... ' : ', '; # #-----[ FIND ]------------------------------------------ # $init_page_min = ( $on_page > 4 ) ? $on_page : 5; # #-----[ REPLACE WITH ]------------------------------------------ # $init_page_min = ( $on_page > ($begin_end + $from_middle) ) ? $on_page : ($begin_end + $from_middle + 1); # #-----[ FIND ]------------------------------------------ # $init_page_max = ( $on_page < $total_pages - 4 ) ? $on_page : $total_pages - 4; # #-----[ REPLACE WITH ]------------------------------------------ # $init_page_max = ( $on_page < $total_pages - ($begin_end + $from_middle) ) ? $on_page : $total_pages - ($begin_end + $from_middle); # #-----[ FIND ]------------------------------------------ # for($i = $init_page_min - 1; $i < $init_page_max + 2; $i++) # #-----[ REPLACE WITH ]------------------------------------------ # for($i = $init_page_min - $from_middle; $i < $init_page_max + ($from_middle + 1); $i++) # #-----[ FIND ]------------------------------------------ # if ( $i < $init_page_max + 1 ) # #-----[ REPLACE WITH ]------------------------------------------ # if ( $i < $init_page_max + $from_middle ) # #-----[ FIND ]------------------------------------------ # $page_string .= ( $on_page < $total_pages - 4 ) ? ' ... ' : ', '; # #-----[ REPLACE WITH ]------------------------------------------ # $page_string .= ( $on_page < $total_pages - ($begin_end + $from_middle) ) ? ' ... ' : ', '; # #-----[ FIND ]------------------------------------------ # for($i = $total_pages - 2; $i < $total_pages + 1; $i++) # #-----[ REPLACE WITH ]------------------------------------------ # for($i = $total_pages - ($begin_end - 1); $i < $total_pages + 1; $i++) # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM
-
Hello,
Originally Posted by thecoalman
KevinDonatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw? -
https://www.videohelp.com/forum/viewtopic.php?t=241808&start=360 , just change the start value...30 posts pages...simple math...
-
Originally Posted by Baldrick
THANKS
That works perfectly
You're the best
KevinDonatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw?
Similar Threads
-
Audio/Video multi format/source selector
By YesRushGen in forum DVB / IPTVReplies: 0Last Post: 14th Jan 2011, 18:06 -
Audio/Video Selector & Output Quality
By Tom Saurus in forum Capturing and VCRReplies: 1Last Post: 15th Sep 2010, 16:27 -
web page translator and email full page translator
By juststarting in forum ComputerReplies: 3Last Post: 1st Feb 2010, 09:23 -
Old threads to look at again
By stiltman in forum Off topicReplies: 4Last Post: 13th May 2009, 22:25 -
remote controlled a/v selector
By stackner in forum Off topicReplies: 1Last Post: 5th Jul 2008, 21:03