gaucho77
Forum Replies Created
-
Forum: Plugins
In reply to: [User Access Manager] User Access Manager Private Extension brokenHello!
Did you get the same error before you did the change?
If yes, then it is another issue. If no, then you changed also something else in the code of the UAMPPE plugin.
When you are facing the described issue, the plugin works, but the integration with UAM fails, which means you never see the hidden text, even if you are logged in with correct user rights, you do not get any error messages.Yes, you only have to change ‘user’ to ‘_user_’. Be careful that you do not change something else and check if you used the correct ‘ and not ´.
Forum: Plugins
In reply to: [User Access Manager] User Access Manager Private Extension brokenyes
Forum: Plugins
In reply to: [User Access Manager] User Access Manager Private Extension brokenThanks Alex, I can understand that it is difficult for you to maintain also plugins, which do not belong to you. Today I had time and I search a little bit for the issue. So I post it here, maybe it is helpful for other users as well (I also will post it in the support forum of the UAMPPE plugin, even if it seem pretty inactive).
UAMPPE will work again if you change in the file user-access-manager-private-public-extension/includes/UserAccessManagerPrivateExtension.php the line:$uamUserGroups = $uamAccessHandler->getUserGroupsForObject('user', get_current_user_id());to
$uamUserGroups = $uamAccessHandler->getUserGroupsForObject('_user_', get_current_user_id());Hi Gareth!
Thank you very much for this awesome help! It was a great support!
Matthias