Page 2 of 3
Posted: Thu 26. Apr 2007, 18:10
by Jensensen
sorry, guess at this point you are right.
backend would be for publishers who aren't admins.
as far as I'm concerned with, I'd try to grant access only to/as FE user and once they are logged in, the hidden structre level/pages should appear.
this is the way I understand the login panel...
Posted: Thu 26. Apr 2007, 18:27
by StudioZ
Jensensen wrote:sorry, guess at this point you are right.
backend would be for publishers who aren't admins.
You almost scared me
Glad you have the same understanding as me/us
regarding the frontend login mechanism.
Otherwise, there would be no need for this.
Jensensen wrote:I'd try to grant access only to/as FE user and once they are logged in, the hidden structre level/pages should appear.
this is the way I understand the login panel...
Exactly !
And this is what I am striving for now...
I guess only Oliver will be able to shread some light on this...
Cheers,
Yves
Posted: Thu 26. Apr 2007, 19:05
by Oliver Georgi
To correct login check against "frontend" marked user in backend user administration do this small change:
Open front.func.inc.php and change line 2981 to:
Code: Select all
$sql .= "usr_aktiv=1 AND usr_fe IN (0,2) LIMIT 1";
Other points!!!
FE Login URL is NOT the redirect link AFTER login. This is where users trying to open secured structures are redirected too - so this normally is the page contais login form.
As I told this is just a very simple solution - not the final FE solution. Put your links to LOGIN_IS section of fe_login template.
Oliver
Posted: Fri 27. Apr 2007, 13:40
by Nordlicht
Is or will it be possible to give certain user access to special sites?
E.g. : User A and User B have access to site 0701
and User C to G have access to site 0702
and User H has access to site 0701, 0702 and 0703
Posted: Fri 27. Apr 2007, 14:39
by ShyGuy
I think, what 'Nordlicht' wrote is what 90% of us were waiting for...
---
Posted: Fri 27. Apr 2007, 14:46
by Oliver Georgi
why do you not read carefully what I write! It's not possible at the moment! I have told this very often.
Oliver
Posted: Sun 29. Apr 2007, 11:05
by macangelo
Hi all
the FE login works - thanks everybody for clarifying.
What I don't find out yet is how to redirect a user to a specific page after the login was successful - e.g. to "{SITE}index.php?aid=287"
Where and how in the template code would I have to put it?
Code: Select all
<!--LOGIN_IS_START//-->
<div class="feLoggedIn">
<h3>Nice to see you again.</h3>
<p>You are logged in under {LOGIN}</p>
<form action="{FORM_TARGET}" method="post" name="feLoginForm" id="feLoginForm">
<p class="button">
<input type="submit" value="Logout" name="feLogout" id="feLogout" />
</p>
</form>
</div>
<!--LOGIN_IS_END//-->
Thanks a lot
macangelo
Posted: Sun 29. Apr 2007, 13:32
by Oliver Georgi
This is not recommend at the moment!!!! And there is a simple reason for it!
As I always told - this is just step one of "frontend" permissions. For me redirecting after login makes no sense. I recommend to put links to such access restricted content inside template section "LOGIN_IS". Then there you can also set some javascript based redirection if necessary.
Code: Select all
<!--LOGIN_IS_START//-->
<div class="feLoggedIn">
<h3>Nice to see you again.</h3>
<p>You are logged in under {LOGIN}</p>
<p>Access restricted section now: <a href="index.php?restricted">Members only</a></p>
<script language="javascript" type="text/javascript">
<!--
// OPTIONAL IF YOU STILL WANT TO HAVE
// AUTO-REDIRECT AFTER LOGIN
window.location.href='index.php?restricted';
//-->
</script>
<form action="{FORM_TARGET}" method="post" name="feLoginForm" id="feLoginForm">
<p class="button">
<input type="submit" value="Logout" name="feLogout" id="feLogout" />
</p>
</form>
</div>
<!--LOGIN_IS_END//-->
FE Registration
Posted: Sun 29. Apr 2007, 21:02
by wireless
Is there a registration form for FE?
Posted: Sun 29. Apr 2007, 21:43
by Oliver Georgi
No, not yet. Coming within next days (or weeks).
Oliver
Posted: Mon 30. Apr 2007, 11:14
by update
This FE login is really starting off very cool
claus
Posted: Wed 23. May 2007, 17:13
by TI&OSM
Hello everybody,
I read this thread and I must say it's not quit clear to me.
So I don't understand the difference between the following to user databases;
(you can select these in the Content Part frontend login)
validate login against:
• user profile database
• backend user database
And where can you define them?
Further when you are logged in how can I show the restricted sections?
I really gave my best to understand this in this thread, but without succes.
And how do you define a (article?, content part?) as restricted?
I see I'm not the only one struggling with this so maybe there is someone
who want to give his/her best shot to explain this to me (us).
Many thanks in advance… ; )
Robert [TI&OSM]
Posted: Wed 23. May 2007, 19:05
by Jensensen
Hi Robert,
to the second part of your question:
right now "member login" is rather easy.
First you [x]
Posted: Fri 7. Dec 2007, 10:56
by culda_a
Pls I try to setup the fe login but I don't know how to do it, I have add the content part for FE I have try to register but is not leting me ...and the register form is strange and to long and I don't understand what is there anyway, how can I change the register form ...or better is somebody that can guide me how to set the FE.
Thanks
Posted: Fri 7. Dec 2007, 13:30
by update
registration isn't finshed yet - as far as I know...