- Posts: 1663
- Thank you received: 201
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
This category is for general discussion about the Kunena Project or this website.
Please use other categories for questions about problems that you may be having with your website.
Please use other categories for questions about problems that you may be having with your website.
Merged User Groups, User Group Privileges, ACLs
13 years 9 months ago #141
by @quila
Replied by @quila on topic Re:[Merged topic] User Groups, User Group Privileges, ACLs
Hi Danymh,
glad to see someone to work on that most requested feature for Kunena. As we have some code for ACL already done and work-in-progress could be useful for all to work together on that feature.
If you are interested you can join our chat (SKYPE) and in that way talk with our devs directly. Just PM me and I'll add you.
Regards
glad to see someone to work on that most requested feature for Kunena. As we have some code for ACL already done and work-in-progress could be useful for all to work together on that feature.
If you are interested you can join our chat (SKYPE) and in that way talk with our devs directly. Just PM me and I'll add you.
Regards
The topic has been locked.
13 years 9 months ago #142
by Dannymh
Replied by Dannymh on topic Re:[Merged topic] User Groups, User Group Privileges, ACLs
no worries will see what I can do.
I don't mind if this gets scrapped I am baically done, and to be honest this is a dirty way of doing things but it also gets the job done.
My coding style is different from the kunena forums, and I think over all you guys are more skilled than I am.
At the moment, what I will do is finish this as it will only take me a little time, and I won't have to add any more majore changes, then submit the code and you guys can choose whether you want to use any of it or not. Once I am done I will join in and chat to you guys and see wht you think.
I need to write this regardless as I need it to go live with my forums, so I may as well finish it.
I did have to add another query, as for some reason I couldn't get it to work as part of the other queries, but again it's a small one and should add no noticable overheads, it does a dirty replace on the $catlist variable, but means that I don't have to edit any existing tables and making a forum private is simply a matter of making it restricted to any current Joomla ACL group like "author" then if it finds the forum in the usergroup list, it restricts it from view.
Very dirty I know
I don't mind if this gets scrapped I am baically done, and to be honest this is a dirty way of doing things but it also gets the job done.
My coding style is different from the kunena forums, and I think over all you guys are more skilled than I am.
At the moment, what I will do is finish this as it will only take me a little time, and I won't have to add any more majore changes, then submit the code and you guys can choose whether you want to use any of it or not. Once I am done I will join in and chat to you guys and see wht you think.
I need to write this regardless as I need it to go live with my forums, so I may as well finish it.
I did have to add another query, as for some reason I couldn't get it to work as part of the other queries, but again it's a small one and should add no noticable overheads, it does a dirty replace on the $catlist variable, but means that I don't have to edit any existing tables and making a forum private is simply a matter of making it restricted to any current Joomla ACL group like "author" then if it finds the forum in the usergroup list, it restricts it from view.
Very dirty I know
Code:
foreach($rows as $row) {
if (($gid == 24 || $gid == 25) or
($row->moderated and $row->ismod) or
($row->pub_access == 0) or
($row->pub_access == -1 and $uid > 0) or
($row->pub_access > 0 and _has_rights($kunena_acl, $gid, $row->pub_access, $row->pub_recurse)) or
($row->admin_access > 0 and _has_rights($kunena_acl, $gid, $row->admin_access, $row->admin_recurse))
) $catlist .= (($catlist == '')?'':',').$row->id;
//check if forum is private and remove it from the list (dirty but can't think of a better way to do this at the moment without adding more tables of fields and wouldn't work as part of the above query
$privateforum = "select forum_id as isprivate from #__fb_usergroup_forums where forum_id=$row->id LIMIT 1";
$kunena_db->setQuery($privateforum);
$isprivate = $kunena_db->loadResult();
if(!empty($isprivate)) {
$catlist = str_replace(','.$row->id, '', $catlist);
}
//Get the usergroups for the forums
$group_query="SELECT a.forum_id from #__fb_usergroup_forums a join #__fb_usergroup_members b ON a.group_id=b.group_id where a.forum_id=".$row->id." and b.user_id={$uid}";
$kunena_db->setQuery($group_query);
$groups = $kunena_db->loadObjectList();
foreach($groups as $group) {
$catlist .= (($catlist == '')?'':',').$group->forum_id;
}
The topic has been locked.
13 years 9 months ago #143
by Matias
Replied by Matias on topic Re:[Merged topic] User Groups, User Group Privileges, ACLs
Your solution is close to what I have in my mind -- or at least subset of it. Please join us in Skype -- you can see my Skype account from my profile near this message.
The topic has been locked.
13 years 9 months ago #144
by Dannymh
Replied by Dannymh on topic Re:[Merged topic] User Groups, User Group Privileges, ACLs
No problem, when I get a chance I will do so. I have improved this somewhat to use only 2 queries but want to do a little benchmarking on the queries themselves (sometimes 2 small queries are faster than one big one)
The topic has been locked.
- slider_037
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
13 years 9 months ago #145
by slider_037
Replied by slider_037 on topic Re: I need help with setting forum permissions
hi!
i have a similar problem, but i need over 20 different permission types, i cant install 20 joomlas and 20 kunenas, are there other solution?
thanks
i have a similar problem, but i need over 20 different permission types, i cant install 20 joomlas and 20 kunenas, are there other solution?
thanks
The topic has been locked.
- freedomcoach
- Offline
- Premium Member
Less
More
- Posts: 307
- Thank you received: 3
13 years 9 months ago - 13 years 9 months ago #146
by freedomcoach
Replied by freedomcoach on topic Easiest Way to Create Kunena Groups
Hi Everyone:
I will soon need to create different groups on my website with different access to Forums. What is the easiest way to do this and can it be done with Kunena 1.5.12 or do I need to wait for 1.6 to be ready? Thanks!
Sincerely,
Howard
I will soon need to create different groups on my website with different access to Forums. What is the easiest way to do this and can it be done with Kunena 1.5.12 or do I need to wait for 1.6 to be ready? Thanks!
Sincerely,
Howard
Last edit: 13 years 9 months ago by freedomcoach.
The topic has been locked.
13 years 9 months ago - 13 years 9 months ago #147
by Cerberus
Replied by Cerberus on topic Re: Easiest Way to Create Kunena Groups
i did a quick search here at kunena.com and found this:
www.kunena.com/forum/132-common-question...rivileges-acls#51487
www.kunena.com/forum/132-common-question...rivileges-acls#51487
Last edit: 13 years 9 months ago by Cerberus.
The topic has been locked.
- freedomcoach
- Offline
- Premium Member
Less
More
- Posts: 307
- Thank you received: 3
13 years 9 months ago #148
by freedomcoach
Replied by freedomcoach on topic Re: Easiest Way to Create Kunena Groups
Thanks. It looks like K 1.6 will begin to have this feature although I'm not sure if we need to wait for J1.6 in order for it to work correctly. All I'm seeking is to make one category invisible to one group of people and visible to all others.
Sincerely,
Howard
Sincerely,
Howard
The topic has been locked.
13 years 9 months ago - 13 years 9 months ago #149
by Cerberus
Replied by Cerberus on topic Re: Easiest Way to Create Kunena Groups
you asked this question in that link i gave you and xillibit answered..
Xillibit Wrote:
Xillibit Wrote:
freedomcoach wrote:
Are you saying that there will be no feature in K1.6 that will allow an Admin to control viewing or posting privileges for a particular forum? I thought that the ability to make a forum private was already available or was planned to be included in K1.6. This feels like a very important and powerful feature. Just my 2 cents.
Sincerely,
Howard
Hello,
nothing is planned in K1.6 to use advanced ACL, maybe try to use the noixACL components.
Last edit: 13 years 9 months ago by Cerberus.
The topic has been locked.
13 years 8 months ago #150
by aluher
Replied by aluher on topic posting only for a specified group of subscribers?
is there a way to allow only some people to post to a number of topics?
I want it for my forum to be possible to post to some topics only for paid subscribers, but it must be possible for everybody to read these posts. other topics should be open for all subscribers to post
I want it for my forum to be possible to post to some topics only for paid subscribers, but it must be possible for everybody to read these posts. other topics should be open for all subscribers to post
The topic has been locked.
Time to create page: 0.471 seconds