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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question What is, clean user cache?

More
14 years 3 months ago - 14 years 3 months ago #118335 by zijo
Replied by zijo on topic Re: What is, clean user cache?

I would appreciate if someone from Kunena tells me which code is activated when sinc users is clicked and where the code is located.
Last edit: 14 years 3 months ago by zijo.

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

More
14 years 3 months ago - 14 years 3 months ago #118381 by zijo
Replied by zijo on topic Re: What is, clean user cache?
Inside subscription plugin i added

public function onAKSubscriptionChange($row, $info)
{
if(is_null($info) || empty($info)) return;
if(array_key_exists('enabled', (array)$info)) {
$this->onAKUserRefresh($row->user_id);


//mycode
$kunena_app = & JFactory::getApplication ();
$kunena_db = &JFactory::getDBO ();
//reset access rights
$kunena_db->setQuery ( "UPDATE #__kunena_sessions SET allowed='na'" );
$kunena_db->query ();

//mycode


Now it works :-)
User can subscribe to Kunena categories. After paypal he gets an instant access.
Last edit: 14 years 3 months ago by zijo.

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

Time to create page: 0.226 seconds