Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

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

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.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 11 months ago - 16 years 11 months ago #20401 by JBHawaii
For those who do not want to hack kunena you can try this... If you want more control over user access to your forums. It works with all versions of kunena.

Note* This not a kunena modification, but I post it here because kunena benefits from this hack.

follow the instructions on this page: www.jeremiahstoddard.com/how-to/5-joomla/4-hacking-joomlas-acl and over here...
docs.joomla.org/Custom_user_groups

Here's a sample of my site...


Joomla 1.5.11 User Manager.




Kunena 1.0.10 and 1.5.3 both inherit the groups.


After you have added the user groups you need to go to the joomla user editor, find your username, make like like your going to change your user group and hit save.
when you finish you can remove the script from view.html.php if you like, but if you add another group you'll have to re-add the script again.


Final Note* I have used this hack since Joomla 1.5.2 so it does work from 1.5.2 -> 1.5.11. I have also used this from Kunena 1.0.8 -> 1.5.3 and it still works fine.

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

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

More
16 years 11 months ago - 16 years 11 months ago #20407 by 810
i don't have Open "/administrator/components/com_users/user/view.html.php"
you mean. administrator/components/com_users/views/user/view.html.php .

and don't you need the db-username, or just only the db name and password
Last edit: 16 years 11 months ago by 810.

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

More
16 years 11 months ago #20409 by JBHawaii
yeah sry, I changed it now.

Mahalo,
JBHawaii

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

More
16 years 11 months ago #20412 by 810
when i do this:
Code:
<?php mysql_connect("localhost", "test2", "") or die("Could not connect: " . mysql_error()); mysql_select_db("joomla15"); // 0-> parent_id in Joomla this is the value of the parent_id field of the Root record // 1-> start the left tree at 1 rebuild_tree ( 0 , 1); function rebuild_tree($parent_id, $left) { // the right value of this node is the left value + 1 $right = $left+1; // get all children of this node $result = mysql_query('SELECT id FROM jos_core_acl_aro_groups '. 'WHERE parent_id="'.$parent_id.'";'); while ($row = mysql_fetch_array($result)) { // recursive execution of this function for each // child of this node // $right is the current right value, which is // incremented by the rebuild_tree function $right = rebuild_tree($row['id'], $right); } // we've got the left value, and now that we've processed // the children of this node we also know the right value mysql_query('UPDATE jos_core_acl_aro_groups SET lft='.$left.', rgt='. $right.' WHERE id="'.$parent_id.'";'); // return the right value of this node + 1 return $right+1; } ?>
i get in the backend Could not connect: error, when clicking on a user

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

More
16 years 11 months ago #20414 by JBHawaii
@810 this code must be the first thing in the file "view.html.php" before anything else!

also don't you have pw set for database?

Mahalo,
JBHawaii

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

More
16 years 11 months ago #20415 by 810
yes i have paste the code before anything else.

i'm testing this on jsas. localhost. without any passwords on my databases

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

Time to create page: 0.230 seconds