- Posts: 1
- Thank you received: 0
Kunena 7.1.0 Released
The Kunena team has announce the arrival of Kunena 7.1.0 [K 7.1.0] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.16 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.
This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.
This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.
The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.
This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.
The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.
Question Kunena latest posts module - BACKPORTED FOR JOOMLA 1.0
17 years 1 month ago #28695
by Nebiru
Replied by Nebiru on topic Re:mod_kunenalatest
My solution is to compare the $user->gid with the pub_access
to do this replace lines 123 - 134 in .../modules/mod_kunenalatest/helper.php
with the following code:
And it seems to work.
to do this replace lines 123 - 134 in .../modules/mod_kunenalatest/helper.php
Code:
$i = $show_pub + 2 * $show_reg + 4 * $show_spe;
switch ($i) {
case 0: $sql_access = 'AND false'; break;
case 1: $sql_access = 'AND c.pub_access in (0)'; break;
case 2: $sql_access = 'AND c.pub_access in (18)'; break;
case 3: $sql_access = 'AND c.pub_access in (0,18)'; break;
case 4: $sql_access = 'AND c.pub_access in (19,20,21)'; break;
case 5: $sql_access = 'AND c.pub_access in (0,1,19,20,21)'; break;
case 6: $sql_access = 'AND c.pub_access in (-1,18,19,20,21)'; break; default: $sql_access = '';
}
Code:
switch ($user->gid) {
case 0: $sql_access = 'AND c.pub_access in (0)'; break;
case 18: $sql_access = 'AND c.pub_access in (0,1,18)'; break;
case 21: $sql_access = 'AND c.pub_access in (0,1,18,19,20,21)'; break;
case 25: $sql_access = 'AND c.pub_access in (0,1,18,19,20,21,25)'; break; default: $sql_access = 'AND c.pub_access in (0)';
}
And it seems to work.
The topic has been locked.
17 years 1 month ago #28881
by Cosworth
Replied by Cosworth on topic Re:mod_kunenalatest
Nebiru this works fine save for the forums created with groupjive for instance that have pub_access = 30. Now the correct thing to do here would be to initialize $fbsession and access $fbsession->allowed giving you the allowed category id's. Then you could replace the switch statement with:
$sql_access = 'AND c.id in '.$fbsession->allowed
Unfortunately I haven't been able to do that.
$sql_access = 'AND c.id in '.$fbsession->allowed
Unfortunately I haven't been able to do that.
The topic has been locked.
17 years 5 days ago - 17 years 3 days ago #31957
by sarkit
Replied by sarkit on topic upgrade Latest post
Last edit: 17 years 3 days ago by sarkit.
The topic has been locked.
17 years 3 days ago #32156
by sarkit
Replied by sarkit on topic Re: upgrade Latest post
no reply..
The topic has been locked.
16 years 11 months ago #32790
by ghasem
Replied by ghasem on topic Re:Kunena Latest (FB_Latest) V 0.9 - UPDATED
Fatal error: Class 'fb_config' not found
Kunena1.5.6
Kunena1.5.6
The topic has been locked.
16 years 11 months ago #32798
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re:Kunena Latest (FB_Latest) V 0.9 - UPDATED
Hello,
For Kunena 1.5.x series you have kunena discuss plugin which works natively on kunena 1.5.x series : www.kunena.com/forum/113-plugins/23694-k...ss-plugin-j15-native
For Kunena 1.5.x series you have kunena discuss plugin which works natively on kunena 1.5.x series : www.kunena.com/forum/113-plugins/23694-k...ss-plugin-j15-native
I don't provide support by PM, because this can be useful for someone else.
The topic has been locked.
Time to create page: 0.137 seconds