- Posts: 13
- Thank you received: 3
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question Content-plugins in Kunena
- yoonique[.net]
-
Topic Author
- Offline
- New Member
-
Less
More
14 years 11 months ago #98059
by yoonique[.net]
Content-plugins in Kunena was created by yoonique[.net]
Apparently Kunena also triggers Content-plugins for the "Last Post" link in the category index view. Is this intentional or should I create a bug report for this. In my opinion there shouldn't be any trigger there.
Please Log in or Create an account to join the conversation.
14 years 10 months ago #98806
by Matias
Replied by Matias on topic Re: Content-plugins in Kunena
Content plugins in Joomla 1.5 are a mess as they were meant to be used in articles only.
Plugins can be used to many different tasks, including bad words filtering.
What is the ill-effect you're seeing?
Plugins can be used to many different tasks, including bad words filtering.
What is the ill-effect you're seeing?
Please Log in or Create an account to join the conversation.
- yoonique[.net]
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 3
14 years 10 months ago #98866
by yoonique[.net]
Replied by yoonique[.net] on topic Re: Content-plugins in Kunena
I though that content plugins should only be triggered for Topics but not the Subject of Topics etc.
For example the following functions trigger content plugins.
function parseText
function parseBBCode
function stripBBCode
But if you look at the template code, you can see that these functions are used on pretty much every text. So the content plugin is executed in unexpected areas. Problem is that some content plugins (for examples "html tidy") add <p> tags, which don't look good in text fields like like "Last Post".
For example the following functions trigger content plugins.
function parseText
function parseBBCode
function stripBBCode
But if you look at the template code, you can see that these functions are used on pretty much every text. So the content plugin is executed in unexpected areas. Problem is that some content plugins (for examples "html tidy") add <p> tags, which don't look good in text fields like like "Last Post".
Please Log in or Create an account to join the conversation.
14 years 10 months ago #98870
by Matias
Replied by Matias on topic Re: Content-plugins in Kunena
You're right. Plugin support was originally added into FireBoard to filter bad words and people were complaining that topic titles and a few other places were excluded. Times have changed since that and content plugins are now used for everything and even more. I will be glad that Joomla 1.6 finally fixed those, but in the mean time there's really no easy solution that fits to everyone.
Those are the only functions where content plugins gets triggered. So for you I would remove the plugin support from parseText and stripBBCode..
Those are the only functions where content plugins gets triggered. So for you I would remove the plugin support from parseText and stripBBCode..
Please Log in or Create an account to join the conversation.
- yoonique[.net]
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 3
14 years 10 months ago #98872
by yoonique[.net]
Replied by yoonique[.net] on topic Re: Content-plugins in Kunena
Actually this is exactly what I did already
Please Log in or Create an account to join the conversation.
- yoonique[.net]
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 3
14 years 10 months ago #98874
by yoonique[.net]
Replied by yoonique[.net] on topic Re: Content-plugins in Kunena
This issue could be solved by adding onre more flag to the configuration (for example "Run plugin everywhere, not only Topics"). Of course the default should be the current behavior (otherwise users would complain after upgrades
Just a suggestion. I understand that you can not make every user happy.
Please Log in or Create an account to join the conversation.
Time to create page: 0.256 seconds