By Fagault Eric on Friday, 17 November 2017
Posted in General
Likes 0
Views 572
Votes 0
Hello,
When a member is denied access to a group or page, that member sees an error message when they try to visit that group or page.
there is a 404 error.
How can I avoid this?.

Best regards.

eric
I've created custom pages 404, 403 and 500, but is this the right solution?
·
Friday, 17 November 2017 17:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Eric,

I am sorry for the delay of this reply.

This is actually the correctly behaviour where a member attempt to access non-accessible group or page, EasySocial will throw 404 error to user. The reason behind this is so that, any search engine crawler that trying to access these private groups, it will return 404 and hence, the crawler will not index these page.

If you really what to show these private groups to your non-group site members, then you have to hack EasySocial. Download the attached zip file and extract the zip file, you should see two folders, 'groups' and 'pages'.

1. Copy file 'groups/view.html.php' to folder 'JOOMLA/components/com_easysocial/views/groups/' and overwrite the existing view.html.php file.

2. Copy file 'pages/view.html.php' to folder 'JOOMLA/components/com_easysocial/views/pages/' and overwrite the existing view.html.php file.

Remember to backup the original files first before you overwrite the the customised version.

The customised files will display 'content restricted' message when user do not have access to the group or page.
Please see http://take.ms/OMt6U
Sam
·
Friday, 17 November 2017 19:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
This is not to allow access to groups and pages when their owner refuses to see certain members.
I have customized pages 403, 404 and 500 so it's going very well

Thank you.

Best regards.
Eric
·
Friday, 17 November 2017 21:48
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Saturday, 18 November 2017 00:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post