Temporary Frontend Login workaround

Read me first before posting anywhere!
Post Reply
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Temporary Frontend Login workaround

Post by Oliver Georgi »

Hi,

for sure I know you are waiting for the new release since long time including long-awaited permissions and so on.

And yes, I am working on it and as I told flip-flop yesterday: I need it myself for coming projects.

But I also know that there are many of you waiting for a fast and simple simple solution to limit access to special sections of your site, e.g. login area for customers or other user groups. I have no backend-ready thing for you right now but here is a very generic frontend_init/frontend_render script package.

Try it, I have it tested in current development release only but it should work in 1.3.3 too. Documentation is included.

Oliver
Attachments
20080113_FELogin.zip
Generic Frontend Login (FELOGIN) script package.
(6.48 KiB) Downloaded 1193 times
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Temporary Frontend Login workaround

Post by culda_a »

is working with 1.3.5 also?
ImagePackging design,labels, catalogs,postcards,
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Temporary Frontend Login workaround

Post by Oliver Georgi »

culda_a wrote:is working with 1.3.5 also?
Yes, too.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Temporary Frontend Login workaround

Post by culda_a »

I have try with 1.3.5 and is not working I have copy the Template in the root folder and I have put the RT {FELOGIN} in a article (html cnt) and when I go to frontend it show me only the RT like this {FELOGIN}
ImagePackging design,labels, catalogs,postcards,
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Temporary Frontend Login workaround

Post by Oliver Georgi »

template = the folder you have defined under $phpwcms['templates'] in conf.inc.php. In older releases it was named phpwcms_templates.

But keep the structure!

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Temporary Frontend Login workaround

Post by culda_a »

Oliver I use 1.3.5 version and under my config.inc.php is like this:

$phpwcms['templates'] = 'template'; //default: 'template'
ImagePackging design,labels, catalogs,postcards,
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Temporary Frontend Login workaround

Post by Oliver Georgi »

Then it will work if you keep the structure and put anything inside template folder to the same named place - but you have to enable frontend_render and frontend_init in conf.inc.php too:

Code: Select all

$phpwcms['allow_ext_init']    = 1;   
$phpwcms['allow_ext_render']  = 1;  
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Temporary Frontend Login workaround

Post by culda_a »

is all like that in the confi.inc.php but ... :( the same problem
ImagePackging design,labels, catalogs,postcards,
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Temporary Frontend Login workaround

Post by Oliver Georgi »

then I cannot help...

But remember, you cannot use the script if you do not have set correct sections [ID] and level depth/ID defined in felogin.ini.php!!!

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Temporary Frontend Login workaround

Post by culda_a »

maybe it will be better some user manual
ImagePackging design,labels, catalogs,postcards,
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Temporary Frontend Login workaround

Post by Oliver Georgi »

It's described in readme - just do what I have written there! You cannot place login anywhere! Try to understand!

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
walnut
Posts: 52
Joined: Thu 8. Sep 2005, 00:19
Location: Seattle
Contact:

Re: Temporary Frontend Login workaround

Post by walnut »

I am having the same problem. Everything appears to be set up exactly as described in the Readme but it does not work. Has anyone any other suggestions? I am running 1.3.5.
Post Reply