zpFocus - Link to Registration Form from protected image

Hello,
I have set my images to Protected view. When I select the thumbnail, I am redirected to the login page. How can I change this to go to the registration page instead? Or a least put the option to register on the login page. I can't seem to find the login or registration forms to edit them.
Also, the "I forgot my User ID/Password link" does not seem to function.
Zenphoto version 1.4.4.3s [27a8b787d6] (Official build)
zpFocus_ v1.4.4
Thank-you.

Comments

  • I do not know zpFocus, but if it has a `password.php` script you can modify it to include a link to the registration page. If it does not have such a script, you can copy the one from zp-core folder to the theme folder. You will probably have to style that script, though. It is bare-bones since many themes provide their own styled version.

    What happens with the "I forgot my ... link"? If the user has no e-mail nor pass phrase then the link cannot help him.
  • Hello,
    zpFocus does use the password.php script. Following is a link on a test site to the page that displays when you try to view a protected image. The "I forgot my User ID/Password link" doesn't link to anything when clicked.
    www.advertisement-gallery.com/advertk3/zenphoto/zp-core/full-image.php?a=electronics&i=aquadrops-mints.jpg&q=75&wmk=watermark-text&dsp=Protected%20view.
    Instead I would like the following page displayed when a protected image is accesed if possible.
    www.advertisement-gallery.com/advertk3/zenphoto/page/password
    Do I need to modify something in the full-image.php script?
    Thank-you!
  • For that logon form you would have to modify the full-image.php script. But I advise against that.

    Also, I think the "I forgot my password" link not working is a bug that we need to fix. This path should really be loading the password.php script. That would fix the link and would solve your problem--you would modify the theme password.php script.
Sign In or Register to comment.