Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Question Crypsis URL issues

More
7 years 11 months ago - 7 years 11 months ago #1 by jderrick
Crypsis URL issues was created by jderrick
Hello,

I'm experiencing issues with URLs on Crypsis. Both SEF and standard.

If I try going to this URL using Blue Eagle:

http://xxxxxxxx/forum?view=topic&defaultmenu=644&catid=5&id=10&mesid=44&layout=default (normal)
http://xxxxxxxx/forum/a-category/10-a-forum-topic/44 (sef)

Then the URL is automatically routed to:

http://xxxxxxxx/forum?view=topic&catid=5&id=10&start=6#44 (normal)
http://xxxxxxxx/forum/a-category/10-a-forum-topic#44 (sef)

This routing does not happen using Crypsis meaning that all the pagination links end up looking like this:

http://xxxxxxxx/forum/a-category/10-a-forum-topic/44?limitstart=0

And therefore don't work properly.

I've tracked the issue down to this file in Kunena core:

libraries/kunenea/controller/application.php

In the getInstance function where it decides whether or not the HMVC controller exists.

Is there a fix for this please?
Last edit: 7 years 11 months ago by jderrick. Reason: removing actual topic name

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

More
7 years 11 months ago #2 by jderrick
Replied by jderrick on topic Crypsis URL issues
p.s. this has all stemmed from a URL in a subscription email

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

More
7 years 11 months ago #3 by xillibit
Replied by xillibit on topic Crypsis URL issues
Hello,

Can-you post here please the Kunena report configuration settings ?

I don't provide support by PM, because this can be useful for someone else.

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

More
7 years 11 months ago #4 by jderrick
Replied by jderrick on topic Crypsis URL issues
Sure. This is for my local version. Same as live...

This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 2000 seconds | Max execution memory: 256M | Max file upload: 100M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : J51_Grafik | author: Joomla51 | version: 1.0 | creationdate: April 2014

Kunena default template details : Crypsis | author: Kunena Team | version: 4.0.10 | creationdate: 2016-02-18

Kunena version detailed: Kunena 4.0.10 | 2016-02-18 [ Villavicencio ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: None

Third-party SEF components: None

Plugins: None

Modules: None

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

More
7 years 11 months ago #5 by jderrick
Replied by jderrick on topic Crypsis URL issues
After a lot of playing around I think this is what is happening:

Crypsis uses the new HMVC architecture which has a problem:

When you have a url ending in /[post number] it goes to the correct page but the URL remains the same which means any further links built (i.e. pagination) also have /[post number] meaning it will always go to the page with that post on it, even if you have &limitstart=0 at the end.

The original architecture would redirect you to the correct url which has the post number at the end as a hash.

Are you experiencing the same issue on your version?

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

More
7 years 11 months ago #6 by jderrick
Replied by jderrick on topic Crypsis URL issues
I've made a temporary hack to fix the issue. At the top of components/com_kunena/template/crypsis/page/topic/default/default.php I have added:
Code:
// Temp hack to fix message ID URL issue $app = JFactory::getApplication(); $input = JFactory::getApplication()->input; $mesid = $input->get('mesid'); if($mesid){ $message = KunenaForumMessageHelper::get($mesid); if($message->exists()){ $app->redirect ($message->getUrl(null, false)); } }

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

More
7 years 8 months ago #7 by xillibit
Replied by xillibit on topic Crypsis URL issues
Hello,

I have made this change : github.com/Kunena/Kunena-Forum/pull/4149 , it will be in newt release of Kunena 5.0

I don't provide support by PM, because this can be useful for someone else.

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

Time to create page: 0.448 seconds