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

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.

Question Joomla ACL Hack for user groups + Kunena Inherits the groups without any modification!

More
16 years 9 months ago #24839 by Pocketss
Thank you for the great tutorial. Very easy to follow. I have a few questions though.

1st some background information. I am creating a website for a world of warcraft guild. I was able to add the user groups to the database. Now I am working on code. Also, got the db table to rebuild. Do I remove the code from "/administrator/components/com_users/admin.users.php"?

Next step: editing "/administrator/components/com_users/views/view.html.php." - I couldn't find this file.

was able to complete the next few steps, until i get to the follow. I have some questions.

in com_users\controller.php
Code:
if ($acl->is_group_child_of($grp->name, 'Registered') || $acl->is_group_child_of($grp->name, 'Public Backend')) { $user->set('aid', 2); }

do i change it to
Code:
if ($acl->is_group_child_of($grp->name, 'Registered')) { $user->set('aid', 2); } if ($acl->is_group_child_of($grp->name, 'Guest') || $acl->is_group_child_of($grp->name, 'Initiate')) || $acl->is_group_child_of($grp->name, 'Member')) || $acl->is_group_child_of($grp->name, 'Raider')) || $acl->is_group_child_of($grp->name, 'Veteran')) || $acl->is_group_child_of($grp->name, 'Officer')) || $acl->is_group_child_of($grp->name, 'Gm')) || $acl->is_group_child_of($grp->name, 'Public Backend')) { $user->set('aid', 9); }

I was able to follow the other changes. I couldn't follow this one.

Appreciate any and all the help!

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

More
16 years 9 months ago - 16 years 9 months ago #24847 by JBHawaii
@Pocketss,

you can remove the code from the view.html.php file, and as far as controller.php goes you need only to do that if you want content to follow the custom user groups. I would also recommend you update the access levels with can be found in the database table "jos_groups" this is also assuming you have "jos" as the table prefix.

On a second note I would recommend though that you give JXControl a shot, it is a native joomla component that allows you to do the same thing without hacking you db or files.

a link to the thread discussion is here: www.kunena.com/forum/114-hacks/9208-rest...it=10&start=60#22824

Mahalo,
JBHawaii
Last edit: 16 years 9 months ago by JBHawaii.

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

More
16 years 9 months ago #24967 by Pocketss
JBHawaii,

Thanks for the information. That's pretty much all I was looking for.

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

More
Time to create page: 0.291 seconds