Kunena 7.0.3 Released

The Kunena team has announce the arrival of Kunena 7.0.3 [K 7.0.3] 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

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.

Question User Groups, User Group Privileges, ACLs

More
15 years 9 months ago #51097 by @quila
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
The topic has been locked.
More
15 years 9 months ago #51099 by Dannymh
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
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.
More
15 years 9 months ago #51481 by Matias
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.
More
15 years 9 months ago #51487 by Dannymh
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.
More
15 years 9 months ago #52533 by slider_037
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
The topic has been locked.
More
15 years 9 months ago - 15 years 9 months ago #52700 by freedomcoach
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
Last edit: 15 years 9 months ago by freedomcoach.
The topic has been locked.
More
15 years 9 months ago - 15 years 9 months ago #52714 by Cerberus
i did a quick search here at kunena.com and found this:

www.kunena.com/forum/132-common-question...rivileges-acls#51487
Last edit: 15 years 9 months ago by Cerberus.
The topic has been locked.
More
15 years 9 months ago #52721 by freedomcoach
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
The topic has been locked.
More
15 years 9 months ago - 15 years 9 months ago #52752 by Cerberus
you asked this question in that link i gave you and xillibit answered..


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: 15 years 9 months ago by Cerberus.
The topic has been locked.
More
15 years 8 months ago #54134 by aluher
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
The topic has been locked.
Time to create page: 0.282 seconds