Page 1 of 1

How to Remove the Login Form

Posted: Tue Oct 11, 2011 4:10 am
by nextz77
I am installing Joomla 1.6 and using the default template. How can I remove login / register form and Site Login & Site Administrator login link on the navigation sides?. I don’t want people to register or login to the site.

Re: How to Remove the Login Form

Posted: Tue Oct 11, 2011 5:36 am
by Partic
Welcome to the forums!

The simple thing that you need to do is unpublish the Login Form in the Module Manager:
- Log into Administrator
- Go to Extensions > Module Manager
- Click on the tick in the status column next to "Login Form" module.
- The login form is now unpublished.

Not sure where you have the Site Login and Site Administrator links appearing, but it is likely that they are in a menu, so in the backend:
- Menus > Main Menu (or other menus)
- Unpublish menu items

Also, if the menu items are in a menu that is part of the sample data in Joomla, you can unpublish the menu in the same way you unpublished the Login Form module above.

To then completely disable registrations, you should also:
- Go to Users > User Manager
- Click on Options
- Change the value for "Allow User Registration" to No
- Click Save & Close
This then prevents people registering by knowing what the component URL is for the user signup.

Final tip, upgrade Joomla 1.6 to Joomla 1.7.1 which is the latest version.
- Backup your site (especially if it's a production site) not that anything will go wrong with the update (Install akeeba backup to perform the backup)
- Go to Extensions > Extension Manager
- Click on "Update" on the left
- On the top right, click on "Find Updates"
- Joomla 1.7.1 update should appear in the update list
- Select any available updates
- Click on "Update" on the top right toolbar
- Joomla will then update to Joomla 1.7.1

Re: How to Remove the Login Form

Posted: Mon May 14, 2012 9:06 am
by karlo2423
Hello, I am new to joomla and I am having trouble removing the login form in my homepage. I am using Joomla! 2.5. The login form extension for the site is protected and i can't do anything about it considering I am a superuser. I tried unpublishing the login found in the menus but still with no luck.

Any help would be greatly appreciated. Thank you very much. :D

*Nevermind I solve the problem :D

Re: How to Remove the Login Form

Posted: Mon May 14, 2012 9:47 am
by Partic
And for those playing along at home, Karlo would have gone to the module manager and unpublished the login module.

Unpublishing it from the menu was also a good idea.

The locked out area was in the manage extensions page - the login module itself is a core part of joomladay, so it can't be uninstalled - only instances of it can be removed ie in the module manager - deleting the module deleted the instance but not the files for the module.

Re: How to Remove the Login Form

Posted: Sun Jun 17, 2012 1:08 am
by lynn372
I have done the following in my Joomla 2.5 but the login still can't disappear:
1.) unpublished the Login Form in the Module Manager
2.) unpublished Site Login and Site Administrator in Menus > Main Menu (or other menus)
3.) completely disable registrations via User Manager and change the value for "Allow User Registration" to No

I want the 1st page in my URL to be the HOME page but the Login Form still appearing.
Pls help.
Thanks.

How to Remove the Login Form

Posted: Sun Jun 17, 2012 4:13 pm
by mhasan1122
I am using the default template for Joomla 1.6. How could I remove login / register form.

Re: How to Remove the Login Form

Posted: Sun Jun 17, 2012 5:38 pm
by Per Yngve Berg
Use the Option button in User Manager and turn off Allow new user registration.

Re: How to Remove the Login Form

Posted: Sun Jun 17, 2012 7:17 pm
by lynn372
I have done this step. Allow User Registration has been toggled to "No".
With www.integragrp.com.sg typed in, the site still directing me to http://www.integragrp.com.sg/component/ ... view=login even I have done all the steps mentioned.

I'm using Joomla!2.5.4.

Please help.
Thank you.

Re: How to Remove the Login Form

Posted: Sun Jun 17, 2012 7:39 pm
by Per Yngve Berg
They cannot do anything with the login form without a valid username and password.

You can do a redirect in the .htaccess file.

Re: How to Remove the Login Form

Posted: Sun Jun 17, 2012 8:00 pm
by lynn372
Thanks.
Any idea how can I redirect ?

I tried mu luck by adding "##" to the following statement in the .htaccess but it does work.
## RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]

Re: How to Remove the Login Form

Posted: Sun Jun 17, 2012 8:01 pm
by lynn372
...I mean it does not work.

Re: How to Remove the Login Form

Posted: Wed Jun 20, 2012 1:11 pm
by TheThingIs
What is your Home Menu Item Type? Link? Do you still have the "Login Form" assigned to it in the Module Assignment tab?

Also, by any chance, do You have Virtuemart or other extensions installed and requesting registration/login?

Re: How to Remove the Login Form

Posted: Sat Jun 23, 2012 5:37 pm
by lynn372
My Home Menu Item Type is "Menu Item Alias".
In the Module Assignment tab, "Login Form" display is "No" meaning not assigned.

The only extensions that I have installed is bfForms. The form created has Login Name and Login Email fields which is supposed to auto-filled in. Will this affect removal of the login form ?

Re: How to Remove the Login Form

Posted: Sat Jun 23, 2012 8:26 pm
by Bending Unit 21
I have a similar problem. I am using Joomla 2.5.6.

Basically, i want to prevent people from accessing "index.php?option=com_users&lang=en&view=login" and the login form showing up.

I already tried redirecting the path in sh404SEF to a 404 page, but it doesn't work. It still goes to the login form. i am paranoid about form fields, so i just don't want people being able to directly access this login form. What i want is if a snoop tried to access the login form via that path, it will show a 404 error instead.

Re: How to Remove the Login Form

Posted: Mon Jun 25, 2012 8:51 am
by TheThingIs
lynn372 wrote:My Home Menu Item Type is "Menu Item Alias".
That means it is a menu to a link, see the Menu Link property.. is it linking to the login form? Just change the menu item type to Feautered article, such as a home page article should solve it.
lynn372 wrote:In the Module Assignment tab, "Login Form" display is "No" meaning not assigned.
good
lynn372 wrote:The only extensions that I have installed is bfForms. The form created has Login Name and Login Email fields which is supposed to auto-filled in. Will this affect removal of the login form ?
It might also be the problem, although I do not know the specific extension, try to disable it.

Re: How to Remove the Login Form

Posted: Sun Jul 01, 2012 4:06 am
by Bending Unit 21
lynn372 wrote:Thanks.
Any idea how can I redirect ?

I tried mu luck by adding "##" to the following statement in the .htaccess but it does work.
## RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
I solved my own problem. I used this directive in htaccess:

RedirectPermanent /Log-in/ http://www.yourdomain.com/error.htm

The "/Log-in" is a SEF URL generated by sh404SEF for "index.php?option=com_users&lang=en&view=login". When someone tries to access the login form by calling this path, it gets redirected to "error.htm" which is a non-existent page, resulting to sh404SEF component publishing the default 404 page instead.

Re: How to Remove the Login Form

Posted: Wed Jul 04, 2012 5:35 am
by ESGEE
Pulling my hair out with this one.

Having disabled mod_login in Module Manager (administrator), the login form is still appearing on the home page (no other pages). I've looked at whether it is possible to change the menu assignment for this disabled module, but there is no option to do this in Joomla 1.5.23.

Any ideas what to do to get around this hurdle. I've been delayed 7 days going live with my site because of this anomly.

Re: How to Remove the Login Form

Posted: Sat Sep 01, 2012 7:23 am
by Per Yngve Berg
To clear things up. Disabling the Login Module does not have any impact on the Login Form in the Users Component (com_users).

You can do an override of the form in your template with one that only contains a redirect.

http://docs.joomla.org/How_to_override_ ... omla!_core

Re: How to Remove the Login Form

Posted: Sat Sep 01, 2012 8:22 am
by Potus001
Edit the Login Form module, scroll down to the Menu Assignment, and select No Pages for Module Assignment.

Re: How to Remove the Login Form

Posted: Sat Nov 17, 2012 5:44 am
by Nga Kyaw
I have got same problem. I am using Joomla 2.5.7. When I access http://www.mysite.com/index.php/compone ... view=login and the login form appear, although I changed the value for "Allow User Registration" to No, unpublished the Login Form in the Module Manager and unpublished Site Login and Site Administrator in Menus. Login form appear on article content and not on module. Pls help me.

Re: How to Remove the Login Form

Posted: Tue Jan 29, 2013 12:04 am
by Shaktiva
Hi,

I have two login modules, one I created, one of Joomla-users.
Unless I can change the placement of the Joomla core module, it needs to go.
Any suggestions?