Alternate Frontend Login Solution

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Pappnase

Post by Pappnase »

dbaron wrote:yes, I upload all the files, and setup the dologincheck.php like that:
$areaVar['defaultLoginPage'] = 'index.php?login';
$areaVar['LoginPageLevelID'] = 9;


// Bereich: Sektion 1
$areaVar['sektion1']['login'] = 'toto';
$areaVar['sektion1']['pass'] = '****';
$areaVar['sektion1']['page'] = 'index.php?sektion1';
$areaVar['sektion1']['LevelID'] = 14;
ID 9 because my login have this ID
ID 14 because sektion1 have this ID

So, the problem should be me, right ? :D
hello

did you habe also the sektion1 structurelevel!?
User avatar
dbaron
Posts: 74
Joined: Tue 25. Jan 2005, 11:53
Location: France

Post by dbaron »

yes, under login (is it a problem under login?) with the same name like in the script: sektion1
SatMAX
Posts: 11
Joined: Sun 11. Sep 2005, 10:54

Post by SatMAX »

ok, i used tho wrog folders...

now, i have no access to my restricted area, but i have no logon screen. The main page will be displayed when i choose a restricted area...
But the URL is correct displayd: http://web185.login-3.hoststar.at/porta ... .php?login

Must i create a login site?

i am use the following settings:

$areaVar['defaultLoginPage'] = 'index.php?login';
$areaVar['LoginPageLevelID'] = 9;


How can i get the corrrect LoginPageLevelID?
Pappnase

Post by Pappnase »

hello

move the mouse over this symbol!

Image
User avatar
dbaron
Posts: 74
Joined: Tue 25. Jan 2005, 11:53
Location: France

Post by dbaron »

me too I do exactly like that, but nothing works
SatMAX
Posts: 11
Joined: Sun 11. Sep 2005, 10:54

Post by SatMAX »

Pappnase wrote:hello

move the mouse over this symbol!

Image
nothing...
Pappnase

Post by Pappnase »

:-(

shame on me!
looks i make an error while zip the file!

so please do download the file again!!! :oops: :oops: :oops: :oops:
User avatar
dbaron
Posts: 74
Joined: Tue 25. Jan 2005, 11:53
Location: France

Post by dbaron »

Stil have problem, cause with a right click, only folder are unzip :(
Pappnase

Post by Pappnase »

:twisted: :twisted: :twisted:

so i create it one more time and upload it again!

:cry: :cry: :cry:

http://www.phpwcms-docu.de/download/FE_Login.zip
User avatar
dbaron
Posts: 74
Joined: Tue 25. Jan 2005, 11:53
Location: France

Post by dbaron »

The file is ok now, but (and I don't want to be unpleasant) it doesn't work better :shock:
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

if you use index.php?login or login.phtml you will also need a structure level having the alias "login" that does not result in an article listing!!! Or use a direct link to a special article like index.php?id=1,2,...

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
SatMAX
Posts: 11
Joined: Sun 11. Sep 2005, 10:54

Post by SatMAX »

OK, 'login' is a page alias. this part does now work. When the user click to login protected page, he was reroutet to a page ALIAS 'login'.

sample:
http://web185.login-3.hoststar.at/porta ... ,0,0,1,0,0

then click 'Multi-Dispo-Trans'

But, how must i config the page 'login' so the user can make a login?

Sorry, but i am a total newbie in wcms and php.

Best regards
Markus
User avatar
dbaron
Posts: 74
Joined: Tue 25. Jan 2005, 11:53
Location: France

Post by dbaron »

Me too I do exactly the same, and no good result, no login page, and the pages are not protected.

I don't understand what is wong :cry:
hendrik250874
Posts: 32
Joined: Mon 16. Feb 2004, 13:10
Location: Belgium
Contact:

What is it ?

Post by hendrik250874 »

In the beginning of this thread we had to change some files and later came the zipfile. Will I need to undo the other changes or can I leave them as is ?

Am I correct if I say that with the last solution the access can not be granted by using the backoffice, but only by the filling out the file in the zip ?
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I have splitted this thread because it were total different concepts of Frontend Login. The one decsribed here is absolutely separated from the started FE login development. The solution here is working for every release phpwcms - older have to enable sessions.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply