Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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)
Offline
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
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
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
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
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
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