Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2011-07-27 13:23:11

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: cbe_frontauth: Connect to (and disconnect from) backend from frontend

Bloke wrote:

I think Zanza (correct me if I’m wrong) is saying that traditionally, when you click a link to obtain access to some protected content and you are faced with a login box, there is almost always a ‘register’ link nearby so somebody who does not yet have an account can sign up for one.

Exactly, Bloke, thanks.

As it stands, with your plugin we can do this:

(code snippet..)

And the /register link would run mem_self_reg code to allow signup.

Yes. That only means that you have to go to another page to sign up (it’s ok, just wanted to be sure) and that you have to use two plugins (three with rvm_privileged, four or five with smd_ combo) to have a decent user management with restricted content. It’s good enough, I was able to use mem_self_register and ign_password_protect some times ago. I’m not sure if it would be better to have a unique plugin rather than a suite, but I have to play around it.

Thank you all for these alternatives.

Offline

#12 2011-07-27 14:30:01

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 344
Website

Re: cbe_frontauth: Connect to (and disconnect from) backend from frontend

Zanza a écrit:

If not, I suppose that inside your tags we could always use rvm_privileged.

It appears that rvm_privileged, with <txp:rvm_if_privileged name="..." level="..."> just replaces the simplest form of <txp:cbe_frontauth_protect> (or …if_connected, or …if_logged).

I see only one reason to implement level control in cbe_frontauth: if you want to automatically display a link for some levels (<txp:cbe_frontauth_protect link="/special-url" linklabel="Your special link" />). It’s rather limited.

What do YOU, people, think about it ? Is it really worth it ? Does someone need it ?
Any other idea ?
Your opinion matters :)

Last edited by CeBe (2011-07-27 14:30:38)

Offline

#13 2011-07-27 15:31:35

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,344
Website

Re: cbe_frontauth: Connect to (and disconnect from) backend from frontend

Hi Claire

It is true that you are partially duplicating rvm_if_privileged but the advantage with your plugin is exactly that!. Those interested in front end logins will only need to install one plugin instead of two.

Having said that, for me rvm_if_privileged does a beautiful job in linking articles to the back end.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#14 2011-07-28 11:17:32

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 344
Website

Re: cbe_frontauth: Connect to (and disconnect from) backend from frontend

Ladies and Gentlemen, c’mon ! And let’s vote :

  1. control for privileges already exists, cbe_frontauth needn’t bother to care about it
  2. it would be cool to have all in one plugin, cbe_frontauth should verifiy privileges too

It’s up to you !

Offline

#15 2011-07-28 11:28:15

datorhaexa
Member
From: Düsseldorf, Germany
Registered: 2005-05-23
Posts: 115
Website

Re: cbe_frontauth: Connect to (and disconnect from) backend from frontend

If the effort is relatively small in comparison to the functional effect (which spares one more plugin install), I’d be for #2.

Offline

#16 2011-07-28 12:57:10

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: cbe_frontauth: Connect to (and disconnect from) backend from frontend

  1. if that would allow to use only one plugin.

Offline

#17 2011-07-29 14:50:09

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 344
Website

Re: cbe_frontauth: Connect to (and disconnect from) backend from frontend

3 voices for name and level control, 0 voices against. No doubt :)

v0.6-beta is released, see original post for details

Offline

#18 2011-07-29 15:49:43

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 752
Website

Re: cbe_frontauth: Connect to (and disconnect from) backend from frontend

Bloke a écrit:

Ahhh, the merger of rvm_privileged and ign_password_protect in a neat package. Bliss!

Claire, is your plugin a perfect ign_password_protect replacement ?

Do you use (or plan to use ) an alternate users table ?

I need to upgrade a part of my school site where all the teachers have a protected access, actually with ign_password_protect.

All the teachers are in the ign_pp alternate table …

Offline

#19 2011-07-29 16:13:19

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 344
Website

Re: cbe_frontauth: Connect to (and disconnect from) backend from frontend

jpdupont a écrit:

Claire, is your plugin a perfect ign_password_protect replacement ?

“Nobody’s perfect” :)
No, it doesn’t completely replace it.

Do you use (or plan to use ) an alternate users table ?

I don’t neither, because as I said earlier :

My point of view is that going further [than just connect to and disconnect from backend while being on frontend] will take us slowly but surely to a more advanced user management. I agree this a logical continuation, but I don’t feel that it should be done by cbe_frontauth.

In fact, I’m clearly convinced that melting things leads to inconsistencies and malfunctions. I won’t take this risk.

(Chacun à sa place et les vaches seront bien gardées. Tu vois l’idée ?)

Stef has just released a plugin that does the job, if you don’t mind migrating users in the regular table.

Offline

#20 2011-07-29 16:29:51

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 752
Website

Re: cbe_frontauth: Connect to (and disconnect from) backend from frontend

Thanks Claire !

I’l try this with steph new plugin …

Offline

Board footer

Powered by FluxBB