- Posts: 230
- Thank you received: 5
Kunena 6.0.8 Released (17 Jan 2023)
The Kunena team has announce the arrival of Kunena 6.0.8 [K 6.0.8] which is now available for download as a native Joomla extension for J! 4.2.x. This version addresses most of the issues that were discovered in K 6.0 and issues discovered during the development stages of K 6.0.
Important URL tag can not use relative dynamic (original) link?
I hope above code could be recoganized by Kunena and converted into a link, then this original (dynamic) link will be further converted to SEF URL by my JoomSEF plugins.
But, Kunena v2.0.3 did not convert that BBcode syntax at all! It just show me those code as they were entered.
What is wrong?
For example, if I want to specify the URL of the team page on this site, I would use the relative path "/team", like this:
To fix your problem, read the reference I posted about relative links but, the simple solution is to put a "/" in front of what you're trying to do, like this:
That is right that relative links will not be affected by domain change.
I know a leading slash will make my link work, but, did you ever think about folder/subfolder depth, as well as domain change, that will affect such a link?
Usually, when we discussing a Joomla dynamic URL, we start with index.php? string, without the domain and the leading slash. So I hope the Kunena team will support this idea and make the BBcode script can recoganize such a pattern:
This doesn't depend on JoomSEF but on Joomla itself. It doesn't process URLs that start with / and doesn't send it to JoomSEF at all.
You would need to modify the core System - SEF plugin or Kunena to achieve this.
I also remember that on Kunena 1.7.2, I can use relative URLs for links inside posts without the leading slash. Why you removed this compatibility on Kunena 2 ?
Hope you will re-consider this feature. Thanks.
In the nearly four years that I have been writing messages on this forum I have always used the relative URL format that is relative to the domain name so that, if the domain name of the site should ever change, these URLs would continue to work. In other words, relative URLs are a mechanism that will ensure that your forum contents are portable if you move them to another domain. But relative URLs without the leading solidus are relative to the "base URL" not the domain name.
If that's what you want to use - something relative to the base URL - then that's a different question because the answer depends entirely on whatever is the base URL generated by your site template HTML. In other words, if you change your Joomla site template then your base URL may change. To ensure that this does not happen it is better, in my opinion, to express URLs relative to the domain name. Other people may have a different view. I just try to use what works.
If you were using something that worked in an earlier version of Kunena and it does not work now then I sympathise with you and I agree that it's unfortunate. The main conclusion that we can draw from this discussion (in order to resolve the issue) is what you wrote in msg #3:
I know a leading slash will make my link work
Things may have worked in the past by expressing links in the way you were accustomed to doing. This may have been an "undocumented feature" or it could have been the source of other problems that you were unaware of. The point that I'm trying to make is that there have been over 300 changes made since K 1.7.2, many of them to address routing problems that other members of this community had experienced; there may have been good reasons to redress the defect that allowed you to write URLs in the way that you were accustomed to doing. Perhaps you should consider that. Perhaps others who are as deeply concerned about this issue as you seem to be might also like to contribute their thoughts on the discussion.
As far as the comment from JoomSEF is concerned, people who depend upon 3rd-party SEF products for their websites rely upon the skill of those people to please their customers. We do not use any 3rd-party SEF products at this website. This forum has received hundreds of complaints from dissatisfied customers of some of these SEF Joomla extension developers and the conclusion that one can draw from this is that there are good ones and there are bad ones.
According to the Kunena Features table, Artio JoomSEF does not support K 2.0. If Artio JoomSEF claims that it does support K 2.0 then please let me know so that I can amend the Kunena Features table.
Therefore, to address your final comment that you hope the Kunena team will reconsider restoring something in Kunena that allows all kinds of relative URLs to work in the however-many places where you have used them on your site, if you know what works then my suggestion is to use what works.
The BBCode engine in K2.0 was completely revamped from scratch to make it easier for administrators to create their own custom BBCodes. While the process isn't terribly straightforward yet (it involves working with the actual code), it's a lot more modular and portable, and doesn't require core hacking. Hopefully an upcoming Kunena version or add-on will include a GUI BBCode editor.
baijianpeng wrote: I also remember that on Kunena 1.7.2, I can use relative URLs for links inside posts without the leading slash. Why you removed this compatibility on Kunena 2 ?
Unfortunately, this meant that the way some BBCodes functioned were changed for K2.0. That's one of the downsides of going up by an entire major version number.
I've added an issue in Github regarding this, and hopefully a developer will consider adjusting the functionality to match the old method. In the meantime, you might want to look into either adding your own BBCode that works the way you want it to, or adjust the existing one yourself.
THE place to discuss photography!
[url] www.friendlyphotozone.com [/url]
sozzled wrote: If Artio JoomSEF claims that it does support K 2.0 then please let me know ...
Well, though their SEF Extension for Kunena 2.0 still has some flaws, they do have an SEF extension for Kunena 2.0.x, that means, Artio JoomSEF v4.x supports Kunena 2.x .
If you want to confirm about this, please open your browser and go to Artio home page to know details.
sozzled wrote: Therefore, to address your final comment that you hope the Kunena team will reconsider restoring something in Kunena that allows all kinds of relative URLs to work in the however-many places where you have used them on your site, if you know what works then my suggestion is to use what works.
I think, offer the widest compatibility is not a bad thing. Or, at least, offer an option such as "Allow relative URLs WITHOUT leading slash" is more friendly than the current policy.
So if you are giving non-SEF version of local URI like: index.php?Itemid=10, it would become something like /articles/blog..
If you mean that, no, it's not supported by Kunena 2.0, but it's a great idea.
Then, I hope Kunena will turn it into a Hyperlink, without the need to do the SEF rewrite work, just a hyperlink in dynamic URL format.
You know, Kunena is not a SEF component, so I was not asking for SEF rewriting, I just want Kunena will turn it into a link. Then my SEF component, like JoomSEF, will rewrite it into a SEF link.
The fact is, current Kunena v2.0.3 can not allow my above mentioned format of link inserting, if I do this, Kunena 2.0.3 just show it as plain text, not a link.
Another fact is, I can do it on Kunena 1.7.2, my memory is OK, believe me, because I had been doing this on Kunena 1.7.2 for almost 2 years before I upgraded my forum to Kunena 2.0.3 recently.
I think this is merely a BBcode issue. Hope you will fix this soon. Thanks.