It is currently March 28th, 2024, 8:07 am



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Multi-pages: Allow custom increment.
PostPosted: March 19th, 2016, 11:38 pm 

Joined: May 17th, 2015, 10:35 am
Posts: 216
Hello,

when using multi-pages increment is hard-coded to 1. At least for phpBB a custom increment is needed, because other pages than first page are referenced by a post count:

http://forum.test.com/viewforum.php?f=2&start=25

The bold figure depends on site configuration so it needs a custom increment (or it could even be fetched from URL for known site types).

In the above example "Page from:" = 2 and "Page to:" = 3 and custom increment of 25 will result in calling the URLs:

http://forum.test.com/viewforum.php?f=2&start=25 and

http://forum.test.com/viewforum.php?f=2&start=50.

Wurstmu


Top
 Profile  
Reply with quote  
 Post subject: Re: Multi-pages: Allow custom increment
PostPosted: March 19th, 2016, 11:57 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Hi,

yes, would need to think something out for this.

Just to be clear, the "Topics" leeching also has option to enter custom pages, but it's automatically converted to "start=25" , "start=50" for phpBB (and other types which use this type of pages) based on "Messages per page" value which you enter.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Multi-pages: Allow custom increment
PostPosted: March 20th, 2016, 1:43 pm 

Joined: May 17th, 2015, 10:35 am
Posts: 216
Aaaaaaah, that sounds as the thing I was looking for, will check it out, thanks! If you don't hear from me within the next 2 days, forget my suggestion :-)

Wurstmu


Top
 Profile  
Reply with quote  
 Post subject: Re: Multi-pages: Allow custom increment
PostPosted: March 20th, 2016, 2:26 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
This suggestion is fine. What you described for "Multi-pages" is not possible at the moment.

What I wrote above is only for topics (mega-threads) leeching.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Multi-pages: Allow custom increment
PostPosted: March 20th, 2016, 11:50 pm 

Joined: May 17th, 2015, 10:35 am
Posts: 216
Ha, I just figured that out when trying it out - alright, please accept it as a suggestion. For now I can easily work around it, so it's not urgent for me.

Wurstmu


Top
 Profile  
Reply with quote  
 Post subject: Re: Multi-pages: Allow custom increment.
PostPosted: March 26th, 2016, 10:36 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
2.26
  • Added new field "Increment" for "Multi-Pages" leeching:
    • By default 1 (which was always before). Pages increased as normal from "Page from" to "Page to": 1, 2, 3, 4, etc.
    • If entered value is more than 1, it's increased as "(currentPage - 1) * increment". For example if entered 25, page numbers would be: 0, 25, 50, 75, etc.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC