Hi I need some help with the following issue.
A logged in user can edit the user id in a url to view anyother user profile e.g the URL below:
index.php?option=com_comprofiler&task=userprofile&user=1479&Itemid=218
I would like to restrict this so that only the logged in users can view their own profiles.
I have also checked the forum and there was a solution to that by using auto action below is the solution mentioned but it doesnt work. After I do that no one can view their profile, please advise.
Type: Redirect
Triggers: onBeforeUserProfileRequest
Access: Everybody
Conditional 1: [get_user] Is Not Empty
Conditional 2: [get_user] Not Equal To [user_id]
URL: index.php?option=com_comprofiler