ZenphotoCMS Forum
register_user plugin - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: register_user plugin (/thread-8797.html)



register_user plugin - tunafish - 2011-07-02

Newbie here, trying out all the plugins.
Can somebody shed me e light with the register_user plugin?
On the plugin config page I read:

User registration page:
If this option is set, the visitor login form will include a link to this page.

But there is no such a link on my /zenphoto/zp-core/admin.php page?

I am using the zenpage theme and the script point to the register page.




register_user plugin - sbillard - 2011-07-02

The visitor login form would be the one displayed on the front-end of your theme using the user_login-logout plugin. The link you are quoting gets the admisistrative login form.

On the Zenpage theme the visitor login will be in the right sidebar. The register link will be at the bottom left of the form that is displayed for logging in.




register_user plugin - tunafish - 2011-07-02

Hi, you know what all my zenphoto pages got completely blank!
In Chrome I get the message:

Access to the webpage was denied
You are not authorized to access the webpage at http://172.16.65.1/immoshots/zenphoto/. You may need to sign in.
HTTP Error 403 (Forbidden): The server refused to fulfill the request.

I don't know what happened..
I managed to have the visitor login form show up in the sidebar (I had to enable the register_user plugin, otherwise it did not work. Maybe plugin conflict?)

Anyway now on a fresh install with zenpage theme.
I only have the password field, no username.
When I try to login in with my password, nothing?




register_user plugin - sbillard - 2011-07-02

Sounds like somehow you have .htaccess denying access to your folders from WEB browsers.

As to the logon form, please familiarize yourself with the plugin options.




register_user plugin - tunafish - 2011-07-03

Hi sbillard, thanks for your help.

I think I figured out why I got access completely blocked. It was because I had the [i]failed_access_blocker[/i] plugin active, whoops.
Is that what happens with that plugin?

Anyway, I installed a complete fresh copy of ZP, load the Zenpage theme, goto plugin tab and activate the [i]user_login-out[/i] plugin and than set the [i]Enable login form[/i] to ON (OFF doesn't doesn't display anything anyway).
Now when I go to index.php I see the logout link.
When I log out I get a form with ONLY the password field.
Trying to use my password fails.
Actually that is why after trying +10 times the [i]failed_access_blocker[/i] blocked access and after one hour I could get in again, right?

So what happened with the username field?




register_user plugin - tunafish - 2011-07-03

here is a screenshot btw:

http://www.immoshots.com/uploads/zp/login-out.png




register_user plugin - acrylian - 2011-07-03

Please try the nightly build. The login issue is a known one fixed there.

And yes, that is what the failed access blocker does.




register_user plugin - tunafish - 2011-07-03

Hi acrylian. Thank you very much for pointing out the nightlies!
In case any newbie is reading this post find info and the builds here:
http://www.zenphoto.org/pages/nightly-builds

I can't wait to dive into and get my hands dirty.
Very impressed with ZP so far, kudos to you guys!




register_user plugin - acrylian - 2011-07-03

Thanks, we like to hear that..:-) (Btw, I just realize that we mailed recently)




register_user plugin - tunafish - 2011-07-03

yep it's me
See ya!




register_user plugin - tunafish - 2011-07-03

hum, I just installed the nightly, nada.
Only the password field and login fails:

Zenphoto version 1.4.1 [7628] (Official Build)
Current locale setting: en_US.UTF-8
Current gallery theme: Zenpage
PHP version: 5.3.2
Graphics support: PHP GD library bundled (2.0.34 compatible)
PHP memory limit: 96M (Note: Your server might allocate less!)
MySQL version: 5.1.44
Database name: zenphoto_trunk07
Table prefix: zp_
Spam filter: none
CAPTCHA generator: zenphoto
There is no mail handler configured!

1 active plugin: user_login-out v1.4.1
plugin options: Enable login form: checked




register_user plugin - sbillard - 2011-07-03

You do not get a user field unless you do one of two things.

a/ have a user name associated with your guest passwoed.
b/ check the option to show that field (option found on the gallery tab.)




register_user plugin - tunafish - 2011-07-03

The b option did it! Thanks a lot




register_user plugin - sbillard - 2011-07-03

Just a note: That option really belongs on the security tab. We will move it for 1.4.2