miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Page x of xx - how to limit number of 'page boxes'

Author Steve Shaw
Registered
#1 | Posted: 29 Sep 2014 12:55 
Where it shows how many page there are in a discussion/forum. etc, is there a way to limit the number of boxes that show?
Possibly show the just 5 pages around the page you are on?

Author Paul
Lead Developer
#2 | Posted: 29 Sep 2014 16:18 
In default version, there's no way and I don't understand the sense of it?..
It's all about your content, positions in search engines, and profits.
If you would like to disable showing of older topics, create some forum naming it "expired" topics, and move all expired topics to there, or just remove them completely from the forum, so they don't take space.

Author Steve Shaw
Registered
#3 | Posted: 29 Sep 2014 23:16 
I think I have not explained myself well...

When a thread has a lot of pages, the list of page number boxes gets split, with '...' between the first pages, and the last.
But, the total number of pages in a forum, at the top of the page, seems to always show all the page number boxes.
I'd like that to be 'shorter', in the same was as per the pages for a single (long) thread.

Does that make more sense?

Author Steve Shaw
Registered
#4 | Posted: 30 Sep 2014 14:21 
Hi paul, - more input from me...
It seems the Extra Pages Navigation always has the first 5 pages, then the '...' separator, and the the last 5 pages.

Is there a way to limit this to the first 3 pages, then the '...' separator, and then the last 3 pages?

This is as I made made the forum 'Responsive' but the full 10 Extra Pages Navigation list it too long for smart phone screens.

Hope that makes better sense, and hope you can help ;)

Author Steve Shaw
Registered
#5 | Posted: 30 Sep 2014 16:37 
Ok - found it!

;-)

Author Paul
Lead Developer
#6 | Posted: 30 Sep 2014 20:17 
You should either install the Mobile version for smartphones, which will provide different layout to fit to almost all devices; either modify bb_functions.php -> pageNav function, the output is regulated there. Resp, change the values of

$sLim=11;$bLim=5;$cLim=4;


Specific miniBB Support Forums / Specific / Page x of xx - how to limit number of 'page boxes' Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB