Member
Member
ayad   2011-12-12, 02:13
#1

Hello,
I use the extension register_user v1.4.1 with the theme zpfocus

  1. I set the address field as required in register form. I would like to edit them and add further required field.
    I found the call of printRegistrationForm() but not function itself!
    Please where are the fields to edit?

  2. I set the right to user direct after the registration to upload his images. How can I prevent these Images from being published, till they have been approved?
    I read similar question, maybe there is something new?
    Thank you for any help!

Member
Member
sbillard   2011-12-12, 03:16
#2
  1. So you found the function? Did you read it? That is where the form is loaded, obviously. The standard form itself is in the register_user folder. But of course, you cannot modify that one as it is part of the Zenphoto core.

Instead create a "register_user" folder in the "plugins" folder and place your form there. (You could alternatively put in your theme's folder, but that could get overridden by an update from the theme's autor. I do not know the zpFocus theme so I do not know if it contains a custom version of the form.)

  1. Uncheck the Publish images by default box on the gallery options tab. Do not give your user edit rights on the album (or he can publish the images himself.)
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.