- Posts: 59
- Thank you received: 1
Kunena 6.3.0 released
The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3
Question Plugin developer documentation?
I am interested in writing a few plugins for my Kunena and for greater release, as such I want to follow any specific coding standards and API hooks that you have created for plugins on Kunena.
I havent been able to find any documentation and was hoping that someone could point me towards any API information or similar.
Also is it possible to write standard Joomla plugins with their standard hooks that will effect the Kunena system?
Ideally I would like to see some hooks that I can manipulate through plugins to say load on the forums page o I can alter whether something is shown etc. For instance I want to write a plugin that would effect whether a forum is shown on the front page, dependent on criteria I set in the plugin.
i.e. Writing some further "private forum code" I can do this by directly altering the system but would prefer to do it through plugins that wont affect upgrades etc.
Cheers
Dan
Please Log in or Create an account to join the conversation.
With kunena 1.6.0 there is an API whereas in Kunena 1.5.0 there are no API so it's more complicated to do things, but you haven't wrote a documentation because some things can change.
I advise you to wait the release of kunena 1.6.0 before to do something, with kunena 1.6.0 we will provide some modules/plugins.
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.
Also is there any basic ETA's so I can make decisions about which way to go with either moving to Vbulletin or waiting it out?
Please Log in or Create an account to join the conversation.
I can say that the alpha of k1.6 is on the road and it will be released soon.
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.
I have somewhat cleaned up or changed the migration script from SMF 1.1.x to Kunena and changed it so that it will allow large forum migrations as well as allow apostrophe's etc into the DB.
I will now work on cleaning up it's HTML entities and cleaning up the script more. Waiting for 1.6 gives me time to do this.
Will the API allow for a Joomla style plugin system, i.e. calls that effect output like the onBeforeContentDisplay() etc.
The reason I ask, is that doing so will allow me to leverage such calls for display of forums, etc and allow for tighter security without having to change core Kunena code
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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.
xillibit wrote: You can found some docs here : docs.kunena.org/index.php/How_to_use_Kunena_1.6_API and docs.kunena.org/index.php/Kunena_1.6_API
Thanks, have seen those. I have no idea how kunena's plugins work though and was hoping someone had some sample code I can look at.
I was also wondering how will I be able to detect when a new message has been posted? I would like to make a badword filter and when a post has been made some function needs to be triggered so that the text in the post can be cleaned of bad words in an array or whatever.
Please Log in or Create an account to join the conversation.
To be honest with you, I don't know how to detect when a new message has been posted and I don't know how knowing this will help. Maybe one of the members of the development team can explain it to you.
I suppose the "bad words" filtering could be applied either when the message was submitted or when the message was displayed. The choice is yours. I would do the filtering at the time when you're displaying the message, not at the time when the message was posted. Tough one to call.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
My plugin is now able to determine when the user is submitting a message, so I'm on the right track.
My idea is to retrieve the message id the moment the user posts something. Then look (select) for that message in the database and filter out all the words and replace with something like ******. After the changes has been made place back (update) into the database.
The reason I'm not doing this during the viewing of messages is because I want the plugin not to waste resources, because if this was done during viewing the filtering part of the plugin will be executed for every user that visits that topic and since the word has been permanently removed there is no point.
Another route is for the plugin to make no changes to data and only to hide the badword from the user... this will require execution on every visit.
My needs are for removing the word permanently from the database, but I would like to know the opinions and ideas of others... maybe I should start a topic just for this?
Please Log in or Create an account to join the conversation.