Create a hidden login page

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

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
medweigh
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Thu Aug 23, 2007 10:42 am

Create a hidden login page

Post by medweigh » Sat Oct 13, 2007 2:28 am

Hi, still feeling my way, but getting there.

My users want to be able to login to the site, but don't want external general public users to see the login form.

I was thinking of giving them a private page that includes the login form, but I can't work out how to do that without having it on the menu somewhere.

How can I achieve this?

(My reason for wanting this is that the users want to log in so that they can edit in place on the site, and they don't want to have to work with the backed administration module to find their articles for editing.

User avatar
Peter Clements
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 172
Joined: Tue Nov 08, 2005 12:58 pm
Location: England
Contact:

Re: Create a hidden login page

Post by Peter Clements » Wed Oct 17, 2007 2:05 pm

You can put the link to the page with the login form on a hidden menu, i.e. one that is not published anywhere on the site, then just give your members the URL/alias of that link.  This is what I've done on a site soon to go live.

I wonder if it's possible to create a directory, say for the sake of argument "login", which is password protected with HTAccess and have your link on the hidden menu to point to something like "login/login-form".  This should force users to have to authenticate before logging in with their Joomla! user name and password.  That might be a bit too much (if it would even work)!

User avatar
Lipton
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Mon Jun 19, 2006 3:32 pm
Location: Germany
Contact:

Re: Create a hidden login page

Post by Lipton » Wed Oct 31, 2007 4:52 pm

I also would like to know how to make that best. When I disabled the front-end login in the Configuration, then I would not be able to login anyhow, right ? If i would have a secret login menu or not ?

Because as long as the front end login is still allowed, people with some Joomla knowledge can easily find out where to get to the login fields, even if there would not be a link that points to login. So its kinda unsecure to keep it enabled. It would be much easier if I could just login into the Back End and would also be automatically logged in as Front End user with Admin priviliges too. That isnt possible, right ?

Lipton

mider
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Mar 09, 2008 1:39 am

Re: Create a hidden login page

Post by mider » Sun Mar 09, 2008 1:43 am

Hi - I am also curious about how to set something like this up. Does anyone have a definitive answer on this? Many thanks,

mider

User avatar
Hackwar
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3788
Joined: Fri Sep 16, 2005 8:41 pm
Location: NRW - Germany
Contact:

Re: Create a hidden login page

Post by Hackwar » Mon Mar 10, 2008 12:19 pm

just use this url
index.php?option=com_user&view=login
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.

Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.

doejohn6969
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sat Jan 14, 2006 8:06 pm

Re: Create a hidden login page

Post by doejohn6969 » Thu Apr 03, 2008 8:35 pm

Hackwar wrote:just use this url
index.php?option=com_user&view=login
I tried that but I get the message
You are not authorised to view this resource.
You need to login.

Crystalysis
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Apr 04, 2008 1:59 pm

Re: Create a hidden login page

Post by Crystalysis » Fri Apr 04, 2008 2:02 pm

What irony...

PastorJon
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Sun Mar 30, 2008 10:30 pm

Re: Create a hidden login page

Post by PastorJon » Fri Apr 04, 2008 2:41 pm

I got this to work.

My login module is enabled (published), but not linked to any menu items (so it doesn't display).

I used my domain manager to create a subdomain (login.domain.com) that points to http://www.domain.com/index.php?option= ... view=login.

Works beautifully... by using a subdomain, you don't have to try to remember the long login address... particularly if you're away from your computer.

mgp396
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Aug 02, 2008 2:10 am

Re: Create a hidden login page

Post by mgp396 » Sat Aug 02, 2008 2:13 am

I tried the above but i get the following error:
You are not authorised to view this resource.
You need to login.
Any ideas?

mgp396
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Aug 02, 2008 2:10 am

Re: Create a hidden login page

Post by mgp396 » Thu Aug 07, 2008 1:13 am

Solution - if you have problems with the above URL, use the following URL:

http://www.domain.com/index.php?option= ... n&Itemid=1

jantub
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Jun 26, 2008 4:51 am

Re: Create a hidden login page

Post by jantub » Thu Aug 07, 2008 1:53 am

Question: If I have a login form on the main page which then redirects (if successfully logged in) to a restricted access area - is that not secure enough?

User avatar
gcoulter
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Nov 29, 2006 12:27 pm
Location: Banbridge, Northern Ireland
Contact:

Re: Create a hidden login page

Post by gcoulter » Fri Aug 15, 2008 11:14 am

Hi

Being trying to do the same, it didn't work initially, got the "you are not allowed to view this resource" message. However went back into the module and on the menu items link, changed it to unassigned. Works now using http://www.mydomain.com/index.php?optio ... view=login

You could also create a page not linked to a menu and use the mambot to insert the login module e.g. {mosloadposition user9} (for version 1.0) into that page. This also gives you the option to put a piece of text above the module. Then create a link with the correct page id at the end.

Graham
Last edited by pe7er on Thu Jan 14, 2010 11:57 pm, edited 1 time in total.
Reason: Manual signature removed. Please use forum signature in profile instead...

Tholomew
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jan 05, 2009 10:40 am

Re: Create a hidden login page

Post by Tholomew » Mon Jan 05, 2009 10:44 am

just use this url
index.php?option=com_user&view=login
Hey I am going to use this option, but in "Manage Modules" I go to the "mod_login" module. "Title" Login form.

And set the "Login Redirection Page" this works when loging in from the home page login section, but doesn't work when using this link.

"index.php?option=com_user&view=login"

Is there another place to set the redirection for this Link?

Hope it all made sense!

Cheers for help

Tholomew
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jan 05, 2009 10:40 am

Re: Create a hidden login page

Post by Tholomew » Fri Jan 09, 2009 2:01 pm

Can anyone help me pls :)

Dutchiexl
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Apr 08, 2009 1:30 pm

Re: Create a hidden login page

Post by Dutchiexl » Wed Apr 08, 2009 2:33 pm

I was looking for the same thing. it is rather easy.

just make folder, mine is www.website.com/members
In this folder I have a index.php. In the index.php I wrote

<?php
header("Location: http://www.website.com/members"); /* Stuur de browser naar www.site.nl */
exit; /* Zorgt ervoor dat de overige code niet wordt uitgevoerd */
?>

et voila

Flashwood59
Joomla! Intern
Joomla! Intern
Posts: 93
Joined: Wed Dec 10, 2008 6:44 pm

Re: Create a hidden login page

Post by Flashwood59 » Thu Nov 12, 2009 8:59 pm

Good Day to All,

Here's what I did so far, which does not work.

Made a new menu named Hidden Menu.
Created menu item login of default login layout Type.
Displayed in Hidden Menu
In module manager - chose mod_login and chose Login Form and selected "none" as the menu assignment
In the parameters of mod_login - Login Redirection Page - login

So when I try to get to the login page by navigation to http://www.mysite.com/index.php/login ,
I get a page that looks like a login form without the insert text boxes or text box description.

URL - http://www.vstudios.ca
Login addy http://www.vstudios.ca/index.php/login

I hope this is not too confusing.


Jeff

Flashwood59
Joomla! Intern
Joomla! Intern
Posts: 93
Joined: Wed Dec 10, 2008 6:44 pm

Re: Create a hidden login page

Post by Flashwood59 » Tue Jan 12, 2010 5:33 pm

OK here's the update. The procedure I followed was correct. My problem was a template css issue. The text boxes were outside the wrapper div. I had to adjust and make new div id's and in order to get the text boxes in the proper place. Once that was done the hidden login worked flawlessly.
The reason to make the new div id's was once the original text boxes id's were moved, it adjusted the size of the editing text box once logged in. It appears in most templates the login and article editing boxes are contained in the same div id.

trevor217
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Mar 14, 2010 7:10 pm

Re: Create a hidden login page

Post by trevor217 » Sun Mar 14, 2010 7:16 pm

I am trying to do this, and everything seems to be working, except one problem.
I have removed the login box from the menus.
I have my domain set to redirect from login.mydomain.com to http://www.mydomain.com/index.php?optio ... view=login and that works correctly

but after someone logs in it redirects them to http://www.mydomain.com/index.php[b]/co ... /index.php[/b]

instead of http://www.mydomain.com/index.php

i cant figure out why

edit: Figured it out, its an issue with search engine friendly URLs, when i enable those it redirects me to locations where my template isnt working correctly. Its not an issue with the login or my redirect.

User avatar
konworld
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Fri Oct 09, 2009 4:58 pm

Re: Create a hidden login page

Post by konworld » Mon Mar 15, 2010 12:23 am

so what was the issue after all, how did you solve it? maybe someone else can be helped by your answer.
DevilWebs Inc.
Kατασκευή Ιστοσελίδων, Ανάπτυξη Ιστοσελίδων & Ανάπτυξη Εφαρμογών - Σέρβις και Υποστήριξη Υπολογιστών
Αργοστόλι, Κεφαλονιά

http://www.devilwebs.gr
info[at]devilwebs.gr
Impossible is Nothing....

trevor217
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Mar 14, 2010 7:10 pm

Re: Create a hidden login page

Post by trevor217 » Mon Mar 15, 2010 4:23 am

I didnt solve it, I just shut off search engine friendly URLs and put it back to default.. it works fine now.

User avatar
snugsites
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Tue Jul 13, 2010 12:05 am
Location: Melbourne, Australia
Contact:

Re: Create a hidden login page

Post by snugsites » Tue Jul 13, 2010 12:22 am

Here is my solution if you use (Search Engine Friendly URLs = Yes and Use Apache mod_rewrite = Yes)

Create Menu Item Type "Default Login Layout"
Title: Logout
Alias: staff
"Access Level:" Registered
"Parameters (System) Page Title" staff
"Parameters (System) Show the Page Title" No

Tell the user to log into the frontend by adding "/staff" to the URL.
Once logged in, they will see a new menu item "Logout".

liferules04
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Jan 02, 2009 11:27 pm
Contact:

Re: Create a hidden login page

Post by liferules04 » Wed Jul 21, 2010 10:30 pm

snugsites wrote:Here is my solution if you use (Search Engine Friendly URLs = Yes and Use Apache mod_rewrite = Yes)

Create Menu Item Type "Default Login Layout"
Title: Logout
Alias: staff
"Access Level:" Registered
"Parameters (System) Page Title" staff
"Parameters (System) Show the Page Title" No

Tell the user to log into the frontend by adding "/staff" to the URL.
Once logged in, they will see a new menu item "Logout".
Wow, this worked INCREDIBLY well. Thanks a lot. ..

User avatar
ROED
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 109
Joined: Wed May 03, 2006 8:27 pm
Location: Copenhagen
Contact:

Re: Create a hidden login page

Post by ROED » Mon Jun 20, 2011 4:17 pm

Any ideas how to accomplis this in Joomla 1.6? I have tried all of the above with out luck :-(
Thanks.

Fishbreath49
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jun 30, 2011 6:02 pm

Re: Create a hidden login page

Post by Fishbreath49 » Thu Jun 30, 2011 6:13 pm

I accomplished a hidden login page on Joomla 1.6 by doing the following:

1.Create a new "Login Form" link on the main menu and put it in an unpublished state.

2.Copy the menu link, in my case it was: "index.php?option=com_users&view=login"

3.Do as Dutchiexl suggests:
Dutchiexl wrote:I was looking for the same thing. it is rather easy.

just make folder, mine is http://www.website.com/members
In this folder I have a index.php. In the index.php I wrote

<?php
header("Location: http://www.website.com/members"); /* Send the browser to http://www.site.nl */
exit; /* Ensures that the remaining code is executed */
?>
4.Where it says: " http://www.website.com/members", just replace "members" with the login form link.

5.Then simply direct users who you want to login to the URL "http://www.website.com/members" and the index.php will direct your users straight to the login page!

Simple as all that.

Granted it's not a truly hidden form and the public could still access it, but it suits my purposes.

Love these forums, thought I'd put my two cents in.

God Bless

terencemonteiro
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Dec 02, 2011 5:41 am

Re: Create a hidden login page

Post by terencemonteiro » Fri Dec 02, 2011 5:46 am

snugsites wrote:Here is my solution if you use (Search Engine Friendly URLs = Yes and Use Apache mod_rewrite = Yes)

Tell the user to log into the frontend by adding "/staff" to the URL.
Once logged in, they will see a new menu item "Logout".
Wow! Works great!!

Kengun
Joomla! Intern
Joomla! Intern
Posts: 80
Joined: Fri Jun 12, 2009 12:38 pm
Location: Lyngdal, Norway
Contact:

Re: Create a hidden login page

Post by Kengun » Mon Dec 12, 2011 6:46 pm

There should be a way that the "Editors" could just go to www.mydomain.com/administrator and login there and just get the "editor rights"

User avatar
bogeholm
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Fri May 05, 2006 12:27 pm
Location: Ringsted

Re: Create a hidden login page

Post by bogeholm » Wed Jan 04, 2012 2:32 pm

Hi,

Thanks - snugsites' solution worked perfectly in Joomla 1.7.3 for me

:-)
If you never try - you never know

laura3gsd
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Sun Aug 07, 2011 5:25 am

Re: Create a hidden login page

Post by laura3gsd » Mon Jan 23, 2012 8:22 pm

PastorJon wrote:I used my domain manager to create a subdomain (login.domain.com) that points to http://www.domain.com/index.php?option= ... view=login.
I found this to be a simple solution. Thank you. I'm using joomla 1.5

I also have a web client who did not want the login to show on their site. Creating a very short subdomain name makes it easier for them to just type in a shorter URL, it redirects them to a login page. The login module is setup (I think by default) to redirect to the home page after logging in and logging out.

So now when they type in
subdomain.domain.com - they are redirected to the path for
domain.com/index.php?option=com_user&view=login

When they need to logout they can just enter the shorter subdomain.domain.com path to get to the login/logout module and click logout.

Cheers all. :)

roicarl
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Sep 18, 2013 11:26 pm

Re: Create a hidden login page

Post by roicarl » Fri Jul 04, 2014 8:42 pm

snugsites wrote:Here is my solution if you use (Search Engine Friendly URLs = Yes and Use Apache mod_rewrite = Yes)

Create Menu Item Type "Default Login Layout"
Title: Logout
Alias: staff
"Access Level:" Registered
"Parameters (System) Page Title" staff
"Parameters (System) Show the Page Title" No

Tell the user to log into the frontend by adding "/staff" to the URL.
Once logged in, they will see a new menu item "Logout".
Snugsites your solution is brilliant!

It works in 3.3.1 too - Here's the changes there:

1. Click on Menus|main menu.
2. Click on NEW
3. Details tab
3.1 Click Select|Users Manager|Login Form
3.2 Access: Registered
3.3 Menu title: Logout
3.4 Alias: staff
4. Options Tab
4.1 Login Description: Hide
5. Page Display Tab
5.1 Browser Page Title: staff

login to the frontend http://www.mydomain.com/index.php/staff


Locked

Return to “Administration 1.5”