Hi, I have a question about this module:

I have everything working flawlessly but I am trying to figure out something... Is there a way to create a page, or a block where you enter a password - and upon confirmation, you are taken to the corresponding page?

For example; If I have 3 pages, all with different access passwords... I would go to 1 page and enter the password I have. Depending on which password I enter - I get redirected to that page.
I have 3 levels of "membership" but I don't want my members to know there are 3 levels, I just want them to enter the password.

Does this make sense? I am hoping to create a page, and also a node for this type of input.

Maybe if not this module, there is another one that would work a bit better?

Thanks for your help!

Comments

kvoltz’s picture

Priority: Normal » Critical

any one have any ideas here?

kvoltz’s picture

Hi everyone,

Can someone please give me a bit of direction here? If this module can't do what I am looking for - does anyone have any idea of one that will?

I appreciate the help.

mtolmacs’s picture

This module does not and probably will not support such behaviour.

kvoltz’s picture

Thanks, do you have any suggestions as to how I might go about doing this?

kvoltz’s picture

O.K.,

Asking for help doesn't seem to be getting me very far.

How much would it cost me to have something like this done?

mtolmacs’s picture

I'm certain I can't help. If anybody feels like, go ahead.

I'm not planning to merge such a functionality into this module though.

kvoltz’s picture

Gotcha, I wouldn't be able to pay you to do something like this then?

can anyone do this?

AlexisWilke’s picture

This might be something we could work out with the Rules module now that it exists. But we'd need some Rules module support.

Now even with Rules, what you're asking is if password 1 is entered, go to page 1, ..., password N go to page N. I don't see how that would work here because we don't do it this way right now. i.e. if you go to page N, you need to enter password N. That's the other way around. 8-)

Yet, with a flag in the settings that could be possible (i.e. the module could ask for a password, and if you unlock page N, go there... but what happens if 2 nodes have the same password?!)

Thank you.
Alexis Wilke

AlexisWilke’s picture

Assigned: Unassigned » AlexisWilke
Status: Active » Fixed

I'm sure that's a bit late, but there is a version that works with this feature. Unfortunately, it isn't perfect. I'm not too sure what we'd need to do to make it so (maybe the idea of using a block where you'd always be able to enter a password.)

The newest version will let you go to this path:

.../protected-nodes?protected_pages=1,2,3

this will ask for the password of page 1, 2, or 3. It is assumed that each page has a different password.

Entering one of the password will send you to the corresponding page.

Going back to the same URL automatically sends you to the page you unlocked before.

The documentation (to be) will explain this in more details.

Thank you.
Alexis Wilke

See
http://drupalcode.org/project/protected_node.git/commit/ad146ff

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.