brunoais wrote:About this subject I have the following to say (note: some stuff may be repetitive to what has been told, I'll try not to repeat):
I like this idea, I agree it should be an option in the UCP and in the ACP.
The options for both ACP(forum specific option perhaps... One forum has infinite scrolling and other not) and UCP should consist in:
(Always/Press To Load/No) infinite down scrolling
(Int) Max number of posts in page. This number must be >=3 where any other number means infinite (translated to 0?) (ignored if upper option is N)
Extra: Should we differentiate anonymous from the registered users?
Yes, both ACP (per forum) and UCP (global) should provide an option to enable/disable (of course the user option is dependent on the admin option). There is already a posts per page setting in ACP, I'm not sure we would need to add another into the UCP (unless there already is one that I'm missing).
The next posts should load when the user is viewing the last post (or the post before that), not when reaches the end of the page.
Right. Perhaps a nice "Loading..." animation could be displayed at a certain point while the posts are loaded. And of course, this would apply at the top of the "page" as well for loading previous posts.
This can actually be also a good idea. Something below, near the bottom of the screen
I don't really know how to implement that using jQuery but I do know that is possible I don't know if it's with divs. Anyway, Js does not care about the CSS, for the js, visibility:hidden or display:none or display:block, etc... are all the same. As long as the node is in the DOM it's treated the same way.
We should also alter the url as the user scrolls the page.
I have not looked into this since I posted this, but may do so before too long if no one else does.
This ?f=108&t=42113#p231603 identifies a post in the page and then, as the pages change, it becomes this: ?f=108&t=42113#page=3. The user can use the back and forward of his browser to navigate between all loaded pages. Also, with this, he can use the link in the title of the post to jump between two different posts in the same page (if they are both loaded at the same time)
Something like that might be a good idea.
This should apply to all pages where pagination and scrolling exists (as stated in the OP post).
imkingdavid wrote:Edit: Alternatively, we could have the footer in a fixed div or semi-fixed div (aka fixed after a certain point on the page, like in the Bug Tracker) so that it can still be accessed even when more posts are loaded behind/below it. Does that make sense?
Yep, a lot. But I believe I have a better one:
Make The page footer with that concept of smi-fixed with an arrow to make it hide. Make a small icon for an arrow or an 'x' or these: "«" in a vertical way. This way we can navigate though the page with no cutting from the top or the bottom, open the footer to view it when we want. I believe that is the best option. Make a cookie to save whether it should be opened or closed by default (checkbox in the footer?)
I think it should start out closed with a little up arrow or something (which changes to down when you click it) to display the footer on top of the post at the bottom. EDIT: Really, the only link I ever use in the footer is the ACP link (who clicks the phpBB link, anyway? ). Perhaps moving that up on the same line as the User Control Panel link would be a good idea? But that would of course be another RFC.