require pivot login

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

require pivot login

Postby suaide » Wed Mar 10, 2010 2:51 am

Hi all

I am using pivot for almost 5 years and I am upgrading to pivotX. I am able to migrate almost all extensions I wrote to this new framework. However I miss one important extension (at least for me): require_pivot_login. This extension in pivot 1.X, when added to the introduction or body section, checked if the user is logged in as regular user or registered visitor in order to get access to that particular entry. I use this a lot to restrict access to some of my entries. Is there a way to do this in pivotX? Is there an extension for this?

If not, where can I find the necessary information, such as variable names, data structure, etc. in pivotX in order to convert the require_pivot_login extension (if the author allows me)?

Best regards

Alex Suaide
http://www.dfn.if.usp.br/~suaide
suaide
 
Posts: 13
Joined: Wed Mar 10, 2010 2:08 am
Location: University of Sao Paulo, Brazil

Re: require pivot login

Postby hansfn » Wed Mar 10, 2010 10:30 am

We already have a password protection extension - at least if you grab PivotX Latest from http://pivotx.net/files/unstable-development/ I'm planning to extend that extension so it also can use a PivotX account as valid login (making it a drop-in replacement for Require Pivot Login - that I wrote).
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: require pivot login

Postby suaide » Wed Mar 10, 2010 11:45 am

Dear Hansfn

Thanks a lot! I will give it a try for sure.

Best regards
suaide
 
Posts: 13
Joined: Wed Mar 10, 2010 2:08 am
Location: University of Sao Paulo, Brazil

Re: require pivot login

Postby hansfn » Mon Mar 15, 2010 1:44 am

I just updated the Password Protect extension (in revision 2489). I added a setting so users that are already logged into PivotX don't have to give the password (which should make it mostly identical to "Require Pivot Login" as long as the password is unknown). Grab PivotX Latest from http://pivotx.net/files/unstable-development/ if you want to test it.
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: require pivot login

Postby suaide » Tue Mar 16, 2010 6:58 pm

Hi Hansfn

I will definitely try it.

Regards
suaide
 
Posts: 13
Joined: Wed Mar 10, 2010 2:08 am
Location: University of Sao Paulo, Brazil

Re: require pivot login

Postby dataphile » Tue Jul 19, 2011 1:17 pm

Hi Hansfn

Can you enable visitors to register by themselves?

I want to protect the content and allow it to only be seen by registered visitors. How do I create a registered visitor?

Thanks
dataphile
 
Posts: 6
Joined: Mon Jul 18, 2011 5:07 pm

Re: require pivot login

Postby dataphile » Tue Jul 19, 2011 1:34 pm

Sorry, silly question from me.

For the next person who wants to know, use [[ register_as_visitor_link ]]
http://book.pivotx.net/page/app-b#anchor-register95as95visitor_link
dataphile
 
Posts: 6
Joined: Mon Jul 18, 2011 5:07 pm


Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 1 guest

cron