Temporary Frontend Login workaround

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Temporary Frontend Login workaround

Post by flip-flop »

A short summary of: (Temporary Frontend Login workaround)
German: http://forum.phpwcms.org/viewtopic.php?p=98614#p98614

Condition in conf.inc.php:

Code: Select all

$phpwcms['allow_ext_init'] = 1; //allow including of custom external scripts at frontend initializ.
$phpwcms['allow_ext_render'] = 1; //allow including of custom external scripts at frontend rendering
Starting situation:

Code: Select all

.L  E  V  E  L
-:  :  :  :  :  :
-0  1  2  3  4  5  <- LEVEL-No.)
-:  :  :  :  :  :
-+ root   :  :  :                        ID=0
-+--+ en  :  :  :                        ID=01
-+--+--+ category_01                     ID=02
-+--+--+ category_02                     ID=03  -> parent category (Login base)
-+--+--+--+ category_02_01               ID=05  {FELOGIN} (Login)
-+--+--+--+--+ category_02_01_01         ID=07  -> access blocked
-+--+--+--+--+ category_02_01_02         ID=08  -> access blocked
-+--+--+--+ category_02_02               ID=06  {FELOGIN} (Login)
-+--+--+--+--+ category_02_02_01         ID=11  -> access blocked
-+--+--+--+--+ category_02_02_02         ID=12  -> access blocked
-+--+--+--+--+--+ category_02_02_02_01   ID=13  -> access blocked
-+--+--+--+ category_02_03               ID=09  {FELOGIN} (Login)
-+--+--+--+--+ category_02_03_01         ID=14  -> access blocked
-+--+--+--+--+ category_02_03_02         ID=15  -> access blocked
-+--+--+ category_03                     ID=04
-+--+--+ category_04                     ID=10
-:  :  :  :  :  :
-0  1  2  3  4  5  <- LEVEL No.
Shall blocked:

Code: Select all

-+--+--+--+--+ category_02_01_01         ID=07
-+--+--+--+--+ category_02_01_02         ID=08

-+--+--+--+--+ category_02_02_01         ID=11
-+--+--+--+--+ category_02_02_02         ID=12
-+--+--+--+--+--+ category_02_02_02_01   ID=13

-+--+--+--+--+ category_02_03_01         ID=14
-+--+--+--+--+ category_02_03_02         ID=15
The login {FELOGIN} is located always at:

Code: Select all

-+--+--+--+ category_02_01               ID=05  {FELOGIN}
-+--+--+--+ category_02_02               ID=06  {FELOGIN}
-+--+--+--+ category_02_03               ID=09  {FELOGIN}
The parent level of the login site(s), at this place called login base, is

Code: Select all

-+--+--+ category_02                     ID=03
FELOGIN_LEVEL_DEPTH refers to the login base therefore the category in FELOGIN_LEVEL_ID. The level counting start at home=0 (herin root) !!!!
---------------------------------
felogin.ini.php
;The parent category login base of the login level is (category_02)
FELOGIN_LEVEL_ID = 3

;so the level depht is (category_02 = Level 2)
FELOGIN_LEVEL_DEPTH = 2


;[Level]
;Name = Password
;----------------
[5]
hansi = hansi123
toni = toni123

[6]
waldi = waldi123
oki = oki123
andi = andi123

[9]
mini = mini123
moni = momi123
;----------------
++ There is one parent login base
+++++ below the respective login categories
+++++++ and among the blocked categories
are located.

All login categories must be in the same level.

The backend settings of the "frontend menu status:" will not be used. This FELOGIN is pulled from the outside over the whole process.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
jhofmann
Posts: 3
Joined: Tue 14. Aug 2007, 15:07
Location: LANGERWEHE (Germany)

Re: Temporary Frontend Login workaround

Post by jhofmann »

Hi @ all!

What about the "Session_FEinit" in the conifg.inc.php?

Code: Select all

$phpwcms['SESSION_FEinit']    = 1 ;
It shoud be like this, right?

This was the problem on my installation!

Jannik
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Temporary Frontend Login workaround

Post by flip-flop »

Hi,

for me the workaround {FELOGIN} doesn´t need the SESSION_FEinit.
SESSION_FEinit is used by the integrated Frontend Login and e.g. the VisualModeIndicator.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply