- Posts: 11
- Thank you received: 0
Kunena 6.2.6 released
The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 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 What is, clean user cache?
I am using subscription plug and would like promoted user gets an instant access.
I am wondering which cache is it, does it expire at some time where the time can be changed?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
The point is, it should be an automated subscription but user promotion changes in kunena only when “Synchronize Users” is applied.”
Since the user is subscribing of course he is logged in when his status changes.
I am looking for solution how it can be an automated subscription. When user subscribes he should get instant access or at least it can be after few hours.
The way it is, he will get an access only when I manually activate it.
Please Log in or Create an account to join the conversation.
It would seem that another plugin needs to be written, triggered by the plugin that modifies Joomla permissions on-the-fly, that clears the Kunena user cache. So it would seem. Would you agree?
I don't have a technical solution in mind. Perhaps another member of the community could help us with this question.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Akeeba subscription has a plugin to upgrade joomla subscribed user.
Perhaps if kunena code to sinc users is inserted there, it might work.
I would try to add it if I know which code.
Please Log in or Create an account to join the conversation.
I would appreciate if someone from Kunena tells me which code is activated when sinc users is clicked and where the code is located.
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.