Page 1 of 1

Temporary Frontend Login workaround

Posted: Sun 13. Jan 2008, 11:05
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

Re: Temporary Frontend Login workaround

Posted: Tue 15. Jan 2008, 08:06
by culda_a
is working with 1.3.5 also?

Re: Temporary Frontend Login workaround

Posted: Tue 15. Jan 2008, 08:37
by Oliver Georgi
culda_a wrote:is working with 1.3.5 also?
Yes, too.

Oliver

Re: Temporary Frontend Login workaround

Posted: Wed 16. Jan 2008, 19:26
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}

Re: Temporary Frontend Login workaround

Posted: Wed 16. Jan 2008, 23:32
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

Re: Temporary Frontend Login workaround

Posted: Thu 17. Jan 2008, 09:02
by culda_a
Oliver I use 1.3.5 version and under my config.inc.php is like this:

$phpwcms['templates'] = 'template'; //default: 'template'

Re: Temporary Frontend Login workaround

Posted: Thu 17. Jan 2008, 10:08
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;  

Re: Temporary Frontend Login workaround

Posted: Thu 17. Jan 2008, 12:05
by culda_a
is all like that in the confi.inc.php but ... :( the same problem

Re: Temporary Frontend Login workaround

Posted: Thu 17. Jan 2008, 12:14
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

Re: Temporary Frontend Login workaround

Posted: Thu 17. Jan 2008, 13:47
by culda_a
maybe it will be better some user manual

Re: Temporary Frontend Login workaround

Posted: Thu 17. Jan 2008, 14:26
by Oliver Georgi
It's described in readme - just do what I have written there! You cannot place login anywhere! Try to understand!

Oliver

Re: Temporary Frontend Login workaround

Posted: Sun 24. Feb 2008, 06:58
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.