By Robyn Lingen on Wednesday, 18 November 2015
Posted in Technical Issues
Replies 5
Likes 0
Views 855
Votes 0
Greetings,

I would like to disable the login box from popping up. Is there a setting that allows me to turn that off or do I need to take another approach.

Also, is it possible to allow my members to not have to login at all. I am using EasySocial for an intranet on a private network, so we just want our employees to view all parts of the site without having to login.

Thanks for you replies!
Hello Robyn,

May I know which login box you are referring to? Perhaps, you can provide us some screenshots? About the not allowing users to login, I'm sorry but we don't have the setting to do that because that would defeat the purpose of Social Network component.
·
Wednesday, 18 November 2015 11:24
·
0 Likes
·
0 Votes
·
0 Comments
·
This is a login box that pops up when I go to the site without logging in, or when my session expires. I've attached a screen shot. CSS related to the box is associated with Easy Social. I just ran an upgrade on EasySocial and that's when the box began popping up.
·
Thursday, 19 November 2015 04:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Robyn,

Ah, I see. I'm sorry but it is not possible to remove it because it may breaks other things such as, for example, by default if non-logged in user will not able to join a group because they will see this popup login box. If you remove this, they can join a group without logged in. Here is the code that control the login: http://screencast.com/t/K5yxbJkMw in this file: ../administrator/components/com_easysocial/includes/easysocial.php
·
Thursday, 19 November 2015 11:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your reply. We are using EasySocial for an intranet site that is hosting on an internal network and never sees traffic from outside our network. The login box popping up is something that is just not necessary.

I was able to prevent the login box from popping up by modifying view.ajax.php file in components > Views > Login by changing the line 39 from if (!$this->my->guest) to if (!$this->my->public). Now the form doesn't keep popping up on people but the login forms works as normal on a regular login page.

I realize this is a core file. Is there a way to override this file?

Thanks again for your help.
·
Tuesday, 08 December 2015 07:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Robyn,

I'm sorry but you can't override the core file using the template override. You have to manually replace it when you update your Easysocial in the future.
·
Tuesday, 08 December 2015 11:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post