We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Show more thread links on index page
Topic Started: Dec 13 2014, 02:56 PM (330 Views)
slothly
Member
[ * ]
Is there a way to go from this:

Posted Image

to

Posted Image

?

So my index page would look like this.


Offline Profile Goto Top
 
Ferby
Member Avatar
Developer
[ *  *  *  *  * ]
Hi slothly,

Unfortunately this is near impossible without being a burden on the ZetaBoards servers and to your page's loading time. The code would have to fetch the last 3 topics of each forum and then display them all on the front page. Each one of those page requests is not instant and will show a noticeable delay in the page's loading time. And it would be a burden on the ZB servers as one view of the index page could be the equivalent to 20 views.

So the short answer is this request is not efficiently possible. I hope this helps you understand why :)
Offline Profile Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Ferby
Dec 15 2014, 02:03 PM
Hi slothly,

Unfortunately this is near impossible without being a burden on the ZetaBoards servers and to your page's loading time. The code would have to fetch the last 3 topics of each forum and then display them all on the front page. Each one of those page requests is not instant and will show a noticeable delay in the page's loading time. And it would be a burden on the ZB servers as one view of the index page could be the equivalent to 20 views.

So the short answer is this request is not efficiently possible. I hope this helps you understand why :)
Could it be made if you have it display the last 3 only on toggle?
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Yes, doing it on toggle is more doable and won't require as much AJAX.
Offline Profile Goto Top
 
slothly
Member
[ * ]
Ferby
Dec 15 2014, 02:03 PM
Hi slothly,

Unfortunately this is near impossible without being a burden on the ZetaBoards servers and to your page's loading time. The code would have to fetch the last 3 topics of each forum and then display them all on the front page. Each one of those page requests is not instant and will show a noticeable delay in the page's loading time. And it would be a burden on the ZB servers as one view of the index page could be the equivalent to 20 views.

So the short answer is this request is not efficiently possible. I hope this helps you understand why :)
I understand, it's probably more feasible to have an area with the last 3 active topics.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
slothly, do you not want to have it done on-toggle?
Offline Profile Goto Top
 
slothly
Member
[ * ]
Cory
Dec 17 2014, 11:39 PM
slothly, do you not want to have it done on-toggle?
If it is possible to have it on-toggle, that would be great.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code released: http://support.zathyus.com/topic/5213480/1/
Offline Profile Goto Top
 
Helena
Member Avatar
M is for Mod

Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic