Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2008-09-03 16:21:07

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: rah_comments // Pagination for comments

Hello Gocom

You have a email with all the data.
And take your time. It’s not a problem for blasting speed.

Roelof

Offline

#50 2008-09-03 17:00:51

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_comments // Pagination for comments

You have a email with all the data.
And take your time. It’s not a problem for blasting speed.

Fixed about 30 minutes ago :)

Offline

#51 2008-09-03 17:30:17

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: rah_comments // Pagination for comments

Thank you very much.

I have one problem.
The links the plugin makes are not right.
The links are http://*/?pg=1 where it must be http:/*/index.php?id=4&pg=1 .

How can we fix this ?

Roelof

Offline

#52 2008-09-03 18:27:35

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_comments // Pagination for comments

I have one problem.
The links the plugin makes are not right.
The links are http://*/?pg=1 where it must be http:/*/index.php?id=4&pg=1.

As i have earlier stated the plugin versions under 0.3 don’t support messy urls. So, I installed version 0.3 there. Read the documention in plugin help for attributes and customization etc.

Offline

#53 2008-09-06 21:55:49

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_comments // Pagination for comments

New version 0.3 released

Changelog:

  • Removed attributes: break_nav and break_pages.
  • Added attributes: pg_break, pg_break_class, prepend and append.
  • Fixed messy url mode’s error: now works fully on messy.
  • Now works in article lists, same way like <txp:comments />.
  • Better documention.

Offline

#54 2008-09-13 12:19:29

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: rah_comments // Pagination for comments

Nice plugin.
Is there any way to have the most recent (= last) page opened by default?
And as far as I can see direct links (e.g. recent_comments) don’t work any longer.
Is there any chance to combine both ways of access: pagination and direct link?

Offline

#55 2008-09-13 18:12:31

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_comments // Pagination for comments

saccade wrote:

Is there any way to have the most recent (= last) page opened by default?

saccade, you can use <txp:rah_comments sort="Posted desc" /> – sort value :)

And as far as I can see direct links (e.g. recent_comments) don’t work any longer.

Yep, cause those tags don’t know anything about the pagination. I could build a redirecting feature – in example the plugin takes the #cxxxxxx part from the url and redirects to the correct page., if the link is pointing to individual article page. Maybe i will wrote that this evening. Ofcourse there might be some issues and that doesn’t work – atleast there might be problems with fcgi servers, ‘cause those love URL parsing and redirects :D Then i will wrote ugly recent_comments tag.

Last edited by Gocom (2008-09-13 18:22:59)

Offline

#56 2008-09-13 18:39:06

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: rah_comments // Pagination for comments

Gocom wrote:

Maybe i will wrote that this evening. Ofcourse there might be some issues and that doesn’t work – atleast there might be problems with fcgi servers, ‘cause those love URL parsing and redirects :D Then i will wrote ugly recent_comments tag.

Wow, that would be fantastic.

For the first thing: Posted desc would reverse the order of all comments and open the first page as now.
But I thought of retaining the ascending order (bcause it’s much better to follow reading) and only let the last page be opened by default.

Offline

#57 2008-09-13 18:45:45

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_comments // Pagination for comments

saccade wrote:

For the first thing: Posted desc would reverse the order of all comments and open the first page as now.
But I thought of retaining the ascending order (bcause it’s much better to follow reading) and only let the last page be opened by default.

Is’t it the same thing. Only difference is the order of page numbers and the fact that comments get newer to the top direction.

Last edited by Gocom (2008-09-13 18:51:49)

Offline

#58 2008-09-13 19:19:27

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: rah_comments // Pagination for comments

that comments get newer to the top direction

That’s the opposite of my intention.
I’d like to have all comments in ascending order, first comment on Page 1 and then one below the other, filling pages due to the limit.
But then I want a different default comment-page opened (not page 1) when opening an article:
I’d like to see the last comment-Page opened.
If someone then is interested in reading the first post, he/she could click on page 1.

Offline

#59 2008-09-14 03:04:04

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_comments // Pagination for comments

New version 0.4 released. Changelog:

  • Added rah_recent_comments tag.

More info and downloads

Offline

#60 2008-09-14 09:46:57

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: rah_comments // Pagination for comments

Hi Jukka,

just incredible! Thank you very much!
I tested it and it works pretty well!

But – sorry – thinking of usabilty all the time now I have another another brain-tweaker:
I’d like to have comment-permlinks working too.
The problem in this:
Each comment has a unique id and anchor. But the number of comments on a page may change (due to short or long comments or due to redesign). So putting out comment-permlinks like recent_comments won’t work well or bulletproof (in the case a user places a bookmark or sends a link to another user and the pagelimits change meanwhile).
So the only things for the comments (perm)link should be article-path and comment-id.
So in fact a redirection is needed too: Taking the article’s path and the comment-id-anchor and then calculating the correct page-call.

I really don’t want to ask too much :-)
Just thinking of the perfection :-)

Last edited by saccade (2008-09-14 09:47:46)

Offline

Board footer

Powered by FluxBB