Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 24

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 03.08.2004, 17:37   #1 (permalink)
Mamber
 
Join Date: Apr 2004
Posts: 80
mambomaster is on a distinguished road
Default how to hide front end login

I would like to hide the front end login from the end users and give to my clients only some address from where they can login to the front end as admin and edit the site. I think it is too risky to give the chance to everybody to try to login in from the site. Is this possible and how?
mambomaster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 03.08.2004, 18:24   #2 (permalink)
Junior Mamber
 
Join Date: Jul 2004
Posts: 27
tfro71 is on a distinguished road
Send a message via MSN to tfro71
Default Re: how to hide front end login

Login is a module, you can unpublish the module and you're ready
tfro71 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 03.08.2004, 18:34   #3 (permalink)
Baby Mamber
 
Join Date: Aug 2004
Posts: 5
gklassen is on a distinguished road
Default Re: how to hide front end login

I find this works for me. Just change http://mysite in the URL of the redirect (Refresh) to your URL address and save the file as Login.html or whatever you want. It the user goes to http://mysite/login.html instead of http://mysite, it should behave the same way in your website as if you had added a Login mos_component to a menu item and selected that.

Note: if you add a Login menu item of type mos_component, you can copy the link in your test webpage and verify that the Itemid is correct.


Note: Going to http://mysite/administrator will bring you to the Administrator login page. You can unpublish the Administrator link on your site and still get to the Administrator login this way.
------------------------------------------------------------------------

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<META HTTP-EQUIV="Refresh" CONTENT="1;URL=http://mysite/index.php?option=com_login&Itemid=124
">
<title>Login</title>
</head>
<body>
</body>
</html>

Last edited by gklassen; 03.08.2004 at 18:38. Reason: Additional note
gklassen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 03.08.2004, 22:37   #4 (permalink)
Expert Mamber
 
ApSpecialists's Avatar
 
Join Date: Apr 2004
Posts: 393
ApSpecialists is on a distinguished road
Default Re: how to hide front end login

There's a far simpler way to do this... use the built-in Mambo function:

Include a link (text or graphic) to index.php?option=com_login

As in... http://www.condoatsiestakey.com/inde...tion=com_login

The site's in process, so the won't be much in the way of content, but you'll get the idea. if you go to the home page, you'll see a red "+" in the header's upper right.
__________________
If I stop learning, close the lid... I'm dead
Mambo Hosting :: iNET Host Services
The Mambo Directory :: MamboVista
Templates :: Mambo-Corporate
ApSpecialists is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05.07.2005, 08:34   #5 (permalink)
Baby Mamber
 
Join Date: Jul 2005
Posts: 2
someonestolecc is on a distinguished road
Default Re: how to hide front end login

If I use that link I receive the error -

Home
You are not authorized to view this resource.
You need to login.

What other dependencies does this method have?
someonestolecc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05.07.2005, 19:41   #6 (permalink)
Baby Mamber
 
Join Date: Sep 2004
Posts: 10
VeNoMeNoM is on a distinguished road
Default Re: how to hide front end login

hi there!

why don't you restrict the access to the special users group? these are all users above the registered ones afaik.
VeNoMeNoM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05.10.2005, 18:16   #7 (permalink)
Baby Mamber
 
Join Date: Aug 2004
Posts: 1
drsthlm is on a distinguished road
Default Re: how to hide front end login

Quote:
Originally Posted by gklassen
I find this works for me. Just change http://mysite in the URL of the redirect (Refresh) to your URL address and save the file as Login.html or whatever you want. It the user goes to http://mysite/login.html instead of http://mysite, it should behave the same way in your website as if you had added a Login mos_component to a menu item and selected that.

Note: if you add a Login menu item of type mos_component, you can copy the link in your test webpage and verify that the Itemid is correct.


Note: Going to http://mysite/administrator will bring you to the Administrator login page. You can unpublish the Administrator link on your site and still get to the Administrator login this way.
------------------------------------------------------------------------

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<META HTTP-EQUIV="Refresh" CONTENT="1;URL=http://mysite/index.php?option=com_login&Itemid=124
">
<title>Login</title>
</head>
<body>
</body>
</html>
Hi!
Had the same problem, now this code quoted actually contained the solution for me - been searching quite a while...

So if you want it to work - do not use just *index.php?option=com_login* as a link from image, text in footer etc. I've found out that you have to call an Item as well.

In my case the solution was to use the whole phrase as in the quote: *index.php?option=com_login&Itemid=124*. It is possible that you have to play around with the Itemid's (try different numbers, 12, 20, 154) 'til you're satisfied.

Cheers'n thanx!
drsthlm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
One of the reasons people cannot login to mambo using IE muhaha Mambo 4.5 Bugs 48 09.07.2006 20:18
Login and get bounced out prj Mambo 4.5 Bugs 0 31.07.2004 13:56
hiding the login panel kentu Module Development 2 31.07.2004 01:20
Appearance of Login Component ozpass Component 'How Do I' Questions 3 20.07.2004 12:15
Can't login after add/remove/add Yanc newsletter ikitajima Mambo 4.5 Installation and Upgrades 3 30.06.2004 22:09


All times are GMT +2. The time now is 06:27.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.