How to Remove the Login Form

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
nextz77
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Oct 11, 2011 3:54 am
Contact:

How to Remove the Login Form

Post by nextz77 » Tue Oct 11, 2011 4:10 am

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.

User avatar
Partic
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Fri Sep 16, 2005 10:08 pm
Location: Melbourne, Australia
Contact:

Re: How to Remove the Login Form

Post by Partic » Tue Oct 11, 2011 5:36 am

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
Patrick Jackson
Joomla Certified Administrator | Melbourne Australia
https://exam.joomla.org/directory/user/ ... ck-jackson

karlo2423
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon May 14, 2012 8:57 am

Re: How to Remove the Login Form

Post by karlo2423 » Mon May 14, 2012 9:06 am

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

User avatar
Partic
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 107
Joined: Fri Sep 16, 2005 10:08 pm
Location: Melbourne, Australia
Contact:

Re: How to Remove the Login Form

Post by Partic » Mon May 14, 2012 9:47 am

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.
Patrick Jackson
Joomla Certified Administrator | Melbourne Australia
https://exam.joomla.org/directory/user/ ... ck-jackson

lynn372
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Apr 05, 2012 9:03 pm

Re: How to Remove the Login Form

Post by lynn372 » Sun Jun 17, 2012 1:08 am

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.

mhasan1122
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sat Jun 02, 2012 7:40 pm

How to Remove the Login Form

Post by mhasan1122 » Sun Jun 17, 2012 4:13 pm

I am using the default template for Joomla 1.6. How could I remove login / register form.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30815
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: How to Remove the Login Form

Post by Per Yngve Berg » Sun Jun 17, 2012 5:38 pm

Use the Option button in User Manager and turn off Allow new user registration.

lynn372
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Apr 05, 2012 9:03 pm

Re: How to Remove the Login Form

Post by lynn372 » Sun Jun 17, 2012 7:17 pm

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.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30815
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: How to Remove the Login Form

Post by Per Yngve Berg » Sun Jun 17, 2012 7:39 pm

They cannot do anything with the login form without a valid username and password.

You can do a redirect in the .htaccess file.

lynn372
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Apr 05, 2012 9:03 pm

Re: How to Remove the Login Form

Post by lynn372 » Sun Jun 17, 2012 8:00 pm

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]

lynn372
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Apr 05, 2012 9:03 pm

Re: How to Remove the Login Form

Post by lynn372 » Sun Jun 17, 2012 8:01 pm

...I mean it does not work.

TheThingIs
Joomla! Intern
Joomla! Intern
Posts: 93
Joined: Thu Feb 11, 2010 5:59 pm

Re: How to Remove the Login Form

Post by TheThingIs » Wed Jun 20, 2012 1:11 pm

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?

lynn372
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Apr 05, 2012 9:03 pm

Re: How to Remove the Login Form

Post by lynn372 » Sat Jun 23, 2012 5:37 pm

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 ?

Bending Unit 21
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Jul 13, 2009 12:33 pm

Re: How to Remove the Login Form

Post by Bending Unit 21 » Sat Jun 23, 2012 8:26 pm

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.

TheThingIs
Joomla! Intern
Joomla! Intern
Posts: 93
Joined: Thu Feb 11, 2010 5:59 pm

Re: How to Remove the Login Form

Post by TheThingIs » Mon Jun 25, 2012 8:51 am

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.

Bending Unit 21
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Jul 13, 2009 12:33 pm

Re: How to Remove the Login Form

Post by Bending Unit 21 » Sun Jul 01, 2012 4:06 am

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.

ESGEE
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jul 04, 2012 5:30 am

Re: How to Remove the Login Form

Post by ESGEE » Wed Jul 04, 2012 5:35 am

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.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30815
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: How to Remove the Login Form

Post by Per Yngve Berg » Sat Sep 01, 2012 7:23 am

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

Potus001
Joomla! Guru
Joomla! Guru
Posts: 586
Joined: Thu Nov 25, 2010 9:38 am

Re: How to Remove the Login Form

Post by Potus001 » Sat Sep 01, 2012 8:22 am

Edit the Login Form module, scroll down to the Menu Assignment, and select No Pages for Module Assignment.

Nga Kyaw
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Nov 17, 2012 5:23 am

Re: How to Remove the Login Form

Post by Nga Kyaw » Sat Nov 17, 2012 5:44 am

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.

Shaktiva
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Mon May 31, 2010 4:11 pm

Re: How to Remove the Login Form

Post by Shaktiva » Tue Jan 29, 2013 12:04 am

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?


Locked

Return to “Templates for Joomla! 2.5”