Temporary Frontend Login workaround

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

Temporary Frontend Login workaround

Post by Oliver Georgi » Sun 13. Jan 2008, 11:05

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 873 times
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Kleintierpraxis am Georgengarten

culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Temporary Frontend Login workaround

Post by culda_a » Tue 15. Jan 2008, 08:06

is working with 1.3.5 also?
ImagePackging design,labels, catalogs,postcards,

User avatar
Oliver Georgi
Site Admin
Posts: 9550
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: Temporary Frontend Login workaround

Post by Oliver Georgi » Tue 15. Jan 2008, 08:37

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

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Kleintierpraxis am Georgengarten

culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Temporary Frontend Login workaround

Post by culda_a » Wed 16. Jan 2008, 19:26

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: 9550
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: Temporary Frontend Login workaround

Post by Oliver Georgi » Wed 16. Jan 2008, 23:32

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 | Kleintierpraxis am Georgengarten

culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Temporary Frontend Login workaround

Post by culda_a » Thu 17. Jan 2008, 09:02

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: 9550
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: Temporary Frontend Login workaround

Post by Oliver Georgi » Thu 17. Jan 2008, 10:08

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 | Kleintierpraxis am Georgengarten

culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Temporary Frontend Login workaround

Post by culda_a » Thu 17. Jan 2008, 12:05

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: 9550
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: Temporary Frontend Login workaround

Post by Oliver Georgi » Thu 17. Jan 2008, 12:14

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 | Kleintierpraxis am Georgengarten

culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Temporary Frontend Login workaround

Post by culda_a » Thu 17. Jan 2008, 13:47

maybe it will be better some user manual
ImagePackging design,labels, catalogs,postcards,

User avatar
Oliver Georgi
Site Admin
Posts: 9550
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: Temporary Frontend Login workaround

Post by Oliver Georgi » Thu 17. Jan 2008, 14:26

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 | Kleintierpraxis am Georgengarten

walnut
Posts: 52
Joined: Thu 8. Sep 2005, 00:19
Location: Seattle
Contact:

Re: Temporary Frontend Login workaround

Post by walnut » Sun 24. Feb 2008, 06:58

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