×
Kunena 6.0.6 & Kunena 5.2.13 & blue eagle5 1.6.8 released as security release (28 Nov 2022)

The Kunena team has announce the arrival of Kunena 6.0.6 [K 6.0.6] which is now available for download as a native Joomla extension for J! 4.2.x. This is a security release.

Question Invalid page counting on Recent Topics - new findings

More
1 year 3 months ago - 1 year 3 months ago #1 by krapet
The previously reported problem was solved by Kunen Tools  (recalculate statistics).

Unfortunately, it did not help for all cases.

I found that the number of articles displayed, as well as the number of pages depend on my state. When I am logged in or not.

One of my thread has 271 articles when I'm logged in and 256 articles when not.
I have set to display 30 articles per page. So there should be a links to 10 pages (for 271 articles) or to 9 pages (for 256 articles).
The number of links to pages is displayed correctly always inside the thread, but incorrectly on the Recent topic page when I am logged in.
There are displayed only 9 links to pages instead of 10 links.

When I'm logged in:
 
Recent topics - INCORRECT number of pages
 
Inside the thread - OK

When I'm not logged in:
 
Recent topics - OK
 
Inside the thread - OK

NOTE: When I'm logged then also deleted articles are counted.
Attachments:
Last edit: 1 year 3 months ago by krapet.

Please Log in or Create an account to join the conversation.

More
1 year 3 months ago #2 by rich

NOTE: When I'm logged then also deleted articles are counted.

If you can see the deleted posts, it is correct if they are counted. 

There are displayed only 9 links to pages instead of 10 links.

Maybe the page is cached in the browser. Have you tried with pressing Ctrl + F5 to load the page again?

Please Log in or Create an account to join the conversation.

More
1 year 3 months ago #3 by krapet

NOTE: When I'm logged then also deleted articles are counted.

If you can see the deleted posts, it is correct if they are counted. 

 

Yes, it is correct. It was just a note.

There are displayed only 9 links to pages instead of 10 links.

Maybe the page is cached in the browser. Have you tried with pressing Ctrl + F5 to load the page again?
 

Reload of the page didn't help.
I guess it is a bug and should be fixed.

Please Log in or Create an account to join the conversation.

More
1 year 3 months ago #4 by rich

I guess it is a bug and should be fixed.

I have searched here on k.org but cannot see this problem anywhere and also other users have not reported this problem. It seems that it only occurs in this one topic for you as well, is that correct? Therefore, I would not immediately suspect a bug.
Try again to recount the statistics, and synchronize the users too.

Please Log in or Create an account to join the conversation.

More
1 year 3 months ago - 1 year 3 months ago #5 by krapet
I have tried to recount the statistics several times.

The result is always the same.


The wrong number of pages when I'm logged in remains.
Here is several next examples. 

List of categories:
  
Inside the category:
 

List of categories:
 
Inside the category:
 

List of categories:
 
Inside the category:
 

List of categories:
 

I still guess that it is a bug.
It seems the number of pages when I'm Logged in on "Recent" is calculated from number of articles related to number of articles as I'm NOT Logged in.
Attachments:
Last edit: 1 year 3 months ago by krapet.

Please Log in or Create an account to join the conversation.

More
1 year 3 months ago #6 by rich
Which Joomla, Kunena and template versions do you use? Please create a configuration report.

Please Log in or Create an account to join the conversation.

More
1 year 3 months ago - 1 year 3 months ago #7 by krapet
Both latest available. Joomla 3.10.0, Kunena 5.2.6
My Kunena configuration:  
Last edit: 1 year 3 months ago by rich. Reason: Attachment removed

Please Log in or Create an account to join the conversation.

More
1 year 3 months ago - 1 year 3 months ago #8 by rich
I have removed the configuration report. Add a configuration report not as attachment! Anyone could read the contents of a text or zip file.

Now I could to reproduce this and know what you mean. This is only with Moderators and Admins, so he can see quickly how many deleted posts contain these topics. If you log in only as a Registered member, you see not a difference.
Last edit: 1 year 3 months ago by rich.

Please Log in or Create an account to join the conversation.

More
1 year 3 weeks ago - 1 year 3 weeks ago #9 by rich
This topic has only been marked as solved, as it is not a bug. But it was not closed. Sorry, I didn't know you still had questions about it.
Your question now:

Is it really so complicated to display same pagination on Recent tab as on
Topis?
Also for Moderators and Admins?

There are two possibilities: 
Either you set in the configuration (tab Security) Show Deleted Messages = Nobody
or
You delete this messages permanently from the trash (this cannot be reversed)
Last edit: 1 year 3 weeks ago by rich.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.405 seconds