Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2008-02-06 17:52:05

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: rvm_privileged v0.4

Oops, download version 0.2 of my plugin (see opening post). I forgot to parse the output of the if_privileged container. That’s fixed now.

Last edited by ruud (2008-02-06 17:54:06)

Offline

#26 2008-02-06 18:46:51

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: rvm_privileged v0.4

ruud wrote:

Oops, download version 0.2 of my plugin (see opening post). I forgot to parse the output of the if_privileged container. That’s fixed now.

Thanks! This works perfectly!

Offline

#27 2008-02-06 20:21:11

mapu
Member
From: Munich, Germany
Registered: 2004-03-16
Posts: 141

Re: rvm_privileged v0.4

With TXP 4.0.6 and this plugin a dream comes true for me :)

Offline

#28 2008-02-06 22:22:43

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: rvm_privileged v0.4

Share your dream, mapu!

I haven’t tested this one yet, but I’m thinking about this: to create a section that’s only accesible by privileged users (that is, logged in on the admin side) to preview drafts articles (using <txp:article status="1" />) in the context of the site, so authors can easily view how the article is going to be seen once it has been published.

Last edited by maniqui (2008-03-28 19:44:16)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#29 2008-02-11 19:01:03

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: rvm_privileged v0.4

I want to implement a minimalist login/logoff feature. It’s probably beyond the scope of this plugin, but I was hoping for some pointers on how it might be done at the most basic level.

Thanks,
Shige

Offline

#30 2008-02-11 19:33:42

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: rvm_privileged v0.4

logoff is equivalent to deleting the txp_login_public cookie.
login requires you to check username/password against the txp_user table and setting the txp_login_public cookie.
Look at the ‘/textpattern/include/txp_auth.php’ file for inspiration ;)

Offline

#31 2008-02-11 20:59:52

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: rvm_privileged v0.4

ruud wrote:

logoff is equivalent to deleting the txp_login_public cookie.
login requires you to check username/password against the txp_user table and setting the txp_login_public cookie.
Look at the ‘/textpattern/include/txp_auth.php’ file for inspiration ;)

Thanks for the advice!

Offline

#32 2008-02-28 10:59:01

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: rvm_privileged v0.4

ruud wrote:

Robin, can you open a separate topic for this, since it’s not related to this plugin.

Hmm but it only stops displaying when it’s wrapped in this plugins tag. So isn’t a problem with the plugin.

Offline

#33 2008-02-28 12:20:45

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: rvm_privileged v0.4

Robin, have you tried the most recent version of my plugin. The earlier versions didn’t parse the contained TXP tags.

Offline

#34 2008-03-03 16:41:28

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: rvm_privileged v0.4

Is there a known work-around to using this with asy_dashboard?

When the user first logs in the Dashboard gives a 503 error inside the admin section. Reloading will fix it.

Thanks,
Shige

Offline

#35 2008-03-03 17:52:52

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: rvm_privileged v0.4

Shige, that’s not caused by rvm_privileged, but by rvm_maintenance. I’ve just updated that to version 0.4 which should fix the problem with asy_dashboard.

Offline

#36 2008-03-03 17:54:59

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: rvm_privileged v0.4

Fixed it. Thank you

Offline

Board footer

Powered by FluxBB