User avatar
nandibear
Global Moderator
Global Moderator
Posts: 2612
Joined: Sat Jan 30, 2016 7:04 am

Donate BTC of your choice to 1DYss8ztWEgcM93SJtnpfYVt6fp7cwmjBk

Contact: Website Twitter Telegram

Can someone please fix the php pagination script at this forum

Fri Feb 19, 2016 11:54 am

There's a problem with moving past page 1 of the front page of the forum (i.e., Recent Topics) -

No route found for "GET /page5.html"

What we need is (and you can verify this by pasting in these urls)-

index.php?page=&recent_topics_start=5 for page 2

index.php?page=&recent_topics_start=10 for page 3

index.php?page=&recent_topics_start=15 for page 4

and so on

You should be able to fix the problem in the php pagination file (although the file might not be named 'pagination').

If you can't fix it in the pagination file (for whatever reasons) then you might try adding (or modifying) some code in the htaccess file.

Thank you
Image

User avatar
bitkilo
Platinum Bitcoiner
Platinum Bitcoiner
Posts: 3210
Joined: Sat Sep 26, 2015 4:08 am

Donate BTC of your choice to 1DJcTrvdGsmKr7LdriVizkVmkcXWoG12nt

Re: Can someone please fix the php pagination script at this forum

Fri Feb 19, 2016 12:11 pm

There's a problem with moving past page 1 of the front page of the forum (i.e., Recent Topics) -

No route found for "GET /page5.html"

What we need is (and you can verify this by pasting in these urls)-

index.php?page=&recent_topics_start=5 for page 2

index.php?page=&recent_topics_start=10 for page 3

index.php?page=&recent_topics_start=15 for page 4

and so on

You should be able to fix the problem in the php pagination file (although the file might not be named 'pagination').

If you can't fix it in the pagination file (for whatever reasons) then you might try adding (or modifying) some code in the htaccess file.

Thank you
Thanks, will get onto it now.
Please help Ross and his family during this hard time by donating to the https://freeross.org/ fund. Play at the best provably fair Bitcoin games site here: games.bitcoin.com Need a fantastic Bitcoin wallet Pick up some great Bitcoin.com swag here

User avatar
nandibear
Global Moderator
Global Moderator
Posts: 2612
Joined: Sat Jan 30, 2016 7:04 am

Donate BTC of your choice to 1DYss8ztWEgcM93SJtnpfYVt6fp7cwmjBk

Contact: Website Twitter Telegram

Re: Can someone please fix the php pagination script at this forum

Fri Feb 19, 2016 8:01 pm

Btw, I see that this has been a problem going back to at least last November (2015).

A thread (with zero replies) was started at this forum by BitcoinXio on Nov 29 2015 -

Bug found in top pagination menu of forum
Last edited by nandibear on Fri Feb 19, 2016 8:35 pm, edited 1 time in total.
Image

User avatar
nandibear
Global Moderator
Global Moderator
Posts: 2612
Joined: Sat Jan 30, 2016 7:04 am

Donate BTC of your choice to 1DYss8ztWEgcM93SJtnpfYVt6fp7cwmjBk

Contact: Website Twitter Telegram

Re: Can someone please fix the php pagination script at this forum

Fri Feb 19, 2016 8:34 pm

It also appears that the issue was pointed out by CryptKeeper on Nov 24 2015 in a comment at the following thread -

Forum updates - 22nd of November
Image

User avatar
nandibear
Global Moderator
Global Moderator
Posts: 2612
Joined: Sat Jan 30, 2016 7:04 am

Donate BTC of your choice to 1DYss8ztWEgcM93SJtnpfYVt6fp7cwmjBk

Contact: Website Twitter Telegram

Re: Can someone please fix the php pagination script at this forum

Sat Feb 20, 2016 1:05 am

I hope that I'm not making too big of deal out this issue with the pages.

It just seems that when we post a thread (or comment) that we only have a very limited duration of time in which we can expect forum visitors to see it.

It only takes 5 threads/comments to essentially make your thread/comment disappear into the abyss.

If we could flip through the pages of the Recent Topics there's a very likely chance that visitors who return daily would probably shift through all of the pages to see what they've missed since their last visit :D
Image

User avatar
arnoudk
Bronze Bitcoiner
Bronze Bitcoiner
Posts: 631
Joined: Wed Oct 21, 2015 4:04 am
Location: Belize

Re: Can someone please fix the php pagination script at this forum

Sat Feb 20, 2016 1:10 am

I hope that I'm not making too big of deal out this issue with the pages.

It just seems that when we post a thread (or comment) that we only have a very limited duration of time in which we can expect forum visitors to see it.

It only takes 5 threads/comments to essentially make your thread/comment disappear into the abyss.

If we could flip through the pages of the Recent Topics there's a very likely chance that visitors who return daily would probably shift through all of the pages to see what they've missed since their last visit :D
I agree, I also miss posts all the time.

Just having a 'latest posts' page, with the last 1000 posts on it, would be great. 5 is really too limited to be useful.
Excited about the potential of Bitcoin Cash in the beautiful country of Belize.
Developer of the RegisterDocuments.com Document Registration Service (using the Bitcoin Cash blockchain).

User avatar
bitkilo
Platinum Bitcoiner
Platinum Bitcoiner
Posts: 3210
Joined: Sat Sep 26, 2015 4:08 am

Donate BTC of your choice to 1DJcTrvdGsmKr7LdriVizkVmkcXWoG12nt

Re: Can someone please fix the php pagination script at this forum

Sat Feb 20, 2016 1:14 am

It also appears that the issue was pointed out by CryptKeeper on Nov 24 2015 in a comment at the following thread -

Forum updates - 22nd of November
Sorry this was not acted on, i will follow up on this now and also try get an explantion for our members soon.

I can confirm that I am getting the same message:

Information

No route found for "GET /page10.html"
Please help Ross and his family during this hard time by donating to the https://freeross.org/ fund. Play at the best provably fair Bitcoin games site here: games.bitcoin.com Need a fantastic Bitcoin wallet Pick up some great Bitcoin.com swag here

User avatar
CryptAxe
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 193
Joined: Sat Nov 14, 2015 7:02 am
Contact: Website

Re: Can someone please fix the php pagination script at this forum

Mon Feb 22, 2016 3:18 am

This just happened to me so thanks for reporting it :D
CryptAxe.com | bitcoinhivemind.com

User avatar
arnoudk
Bronze Bitcoiner
Bronze Bitcoiner
Posts: 631
Joined: Wed Oct 21, 2015 4:04 am
Location: Belize

Re: Can someone please fix the php pagination script at this forum

Mon Feb 22, 2016 3:36 am

I just hacked together a quick fix, that runs on your local computer.

It will not win any awards for quality. But at least it works on my PC.

Save a file called forum.html anywhere (ie, on your desktop) and paste the following data:

Code: Select all

<!DOCTYPE html> <html> <head> <title>HTML Frames</title> </head> <frameset rows="30,*"> <frame name="top" src="top.html" /> <frame name="main" src="https://forum.bitcoin.com/index.php?page=&recent_topics_start=0" /> <noframes> <body> Your browser does not support frames. </body> </noframes> </frameset> </html>
Save a file called top.html in the same folder as forum.html, and paste the following data:

Code: Select all

<html> <body> Page: <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=0" target="main">1</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=5" target="main">2</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=10" target="main">3</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=15" target="main">4</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=20" target="main">5</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=25" target="main">6</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=30" target="main">7</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=35" target="main">8</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=40" target="main">9</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=45" target="main">10</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=50" target="main">11</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=55" target="main">12</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=60" target="main">13</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=65" target="main">14</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=70" target="main">15</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=75" target="main">16</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=80" target="main">17</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=85" target="main">18</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=90" target="main">19</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=95" target="main">20</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=100" target="main">21</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=105" target="main">22</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=110" target="main">23</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=115" target="main">24</a>&nbsp;&nbsp; <a href="https://forum.bitcoin.com/index.php?page=&recent_topics_start=120" target="main">25</a>&nbsp;&nbsp; </body> </html>
You now have the world's ugliest, but functional, pagination for the first 25 pages.

You need to access the forum via forum.html (and not via forum.bitcoin.com) for this to work.
Excited about the potential of Bitcoin Cash in the beautiful country of Belize.
Developer of the RegisterDocuments.com Document Registration Service (using the Bitcoin Cash blockchain).

User avatar
bitkilo
Platinum Bitcoiner
Platinum Bitcoiner
Posts: 3210
Joined: Sat Sep 26, 2015 4:08 am

Donate BTC of your choice to 1DJcTrvdGsmKr7LdriVizkVmkcXWoG12nt

Re: Can someone please fix the php pagination script at this forum

Mon Feb 22, 2016 4:14 am

I just hacked together a quick fix, that runs on your local computer.



You now have the world's ugliest, but functional, pagination for the first 25 pages.

You need to access the forum via forum.html (and not via forum.bitcoin.com) for this to work.
Only the first 25 pages, what about the other 550 pages, gees your lazy ;)

Just kidding, great job and thanks for the temp fix.
Please help Ross and his family during this hard time by donating to the https://freeross.org/ fund. Play at the best provably fair Bitcoin games site here: games.bitcoin.com Need a fantastic Bitcoin wallet Pick up some great Bitcoin.com swag here

User avatar
nandibear
Global Moderator
Global Moderator
Posts: 2612
Joined: Sat Jan 30, 2016 7:04 am

Donate BTC of your choice to 1DYss8ztWEgcM93SJtnpfYVt6fp7cwmjBk

Contact: Website Twitter Telegram

Re: Can someone please fix the php pagination script at this forum

Mon Feb 22, 2016 4:47 am

I just hacked together a quick fix, that runs on your local computer...
@arnoudk

Excellent work!

Runs effectively -

Image
Image

User avatar
arnoudk
Bronze Bitcoiner
Bronze Bitcoiner
Posts: 631
Joined: Wed Oct 21, 2015 4:04 am
Location: Belize

Re: Can someone please fix the php pagination script at this forum

Tue Feb 23, 2016 3:18 am

Just made a small change, where you can now download the files and store them on your computer (rather than having to make them yourself).

Just right-click, and save, into the same folder: If you wanted to, you could also click the first link and it would open in your browser.
Excited about the potential of Bitcoin Cash in the beautiful country of Belize.
Developer of the RegisterDocuments.com Document Registration Service (using the Bitcoin Cash blockchain).

sellbitbuy
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 10
Joined: Tue Mar 29, 2016 11:28 am
Location: India
Contact: Website Twitter Skype

Re: Can someone please fix the php pagination script at this forum

Wed May 11, 2016 3:15 pm

Nice! I thanked for post this thread. From this I learn how to solve this problem.

User avatar
nandibear
Global Moderator
Global Moderator
Posts: 2612
Joined: Sat Jan 30, 2016 7:04 am

Donate BTC of your choice to 1DYss8ztWEgcM93SJtnpfYVt6fp7cwmjBk

Contact: Website Twitter Telegram

Re: Can someone please fix the php pagination script at this forum

Mon Oct 03, 2016 2:58 am

I see that the pagination script for Recent Topics here at the forum has been fixed.

I'm not sure who fixed it, or when exactly it was fixed, but I'm exceptionally thankful! Now we can browse through more than just the five (5) most recent posts.

I also want to thank arnoudk again for the temporary fix that he hacked together back in February (2016) which I've been using up until today when I noticed that the Recent Topics pagination itself is working correctly.
Image

User avatar
arnoudk
Bronze Bitcoiner
Bronze Bitcoiner
Posts: 631
Joined: Wed Oct 21, 2015 4:04 am
Location: Belize

Re: Can someone please fix the php pagination script at this forum

Sun Oct 09, 2016 11:29 am

I see that the pagination script for Recent Topics here at the forum has been fixed.

I'm not sure who fixed it, or when exactly it was fixed, but I'm exceptionally thankful! Now we can browse through more than just the five (5) most recent posts.

I also want to thank arnoudk again for the temporary fix that he hacked together back in February (2016) which I've been using up until today when I noticed that the Recent Topics pagination itself is working correctly.
Excellent news!
I had not noticed yet ;) But I've been a bit more absent from this forum lately (for happy reasons).

Thanks to whoever fixed it.
Excited about the potential of Bitcoin Cash in the beautiful country of Belize.
Developer of the RegisterDocuments.com Document Registration Service (using the Bitcoin Cash blockchain).

Return to “The Forum”

Who is online

Users browsing this forum: No registered users and 31 guests