Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: comments pagination handling #5233

Open
3l3ktr0n opened this issue Apr 7, 2024 · 1 comment
Open

[Feature request]: comments pagination handling #5233

3l3ktr0n opened this issue Apr 7, 2024 · 1 comment
Labels
type: enhancement An improvement or new feature request

Comments

@3l3ktr0n
Copy link

3l3ktr0n commented Apr 7, 2024

Motivation

nextprev feels outdated

Proposed Solution

by today's standards a 'load more' approach would be more convenient

Alternatives

or remove the pagination for comments

Additional Context

No response

@3l3ktr0n 3l3ktr0n added the type: enhancement An improvement or new feature request label Apr 7, 2024
@Vodhin
Copy link

Vodhin commented Apr 14, 2024

I agree that a "Load More" function would be nicer. This is typically accomplished via AJAX ands JavaScript/jQuery, both of which e107 v2 now include however it seems that the e107 AJAX calls I've looked at load into a dreaded iFrame which is not fashionable these days (probably to run any e107's PHP security checks on the request?). The plugins that I work on include my own code to do this kind of behind the scenes interaction, and tend to get rather bloated when incorporating those e107 security checks and other work arounds.

In short, it wouldn't be too difficult to implement a "Load More" function but I'm already 1 ¾ years into coding my Real Estate plugin and am on the verge of having it ready for beta release. I don't have any websites that use comments, but I could look into writing some JavaScript that could replace the Next/Previous buttons (would work nearly everywhere, the way I'm thinking of it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement or new feature request
Projects
None yet
Development

No branches or pull requests

2 participants