Fork me on GitHub

Zikula 1.2.1 & Profile 1.5 Beta3 - New User Avatar required - Not listed in New User Registration  Bottom

  • In the "User registration form settings" located in the "User account panel settings" There is a option "Avatar" that can be added to "Personal info items to include in user registration form". After checking this I go back in as a new user registration and "Avatar" is no where to be found. This is a problem if Avatar is a "Required" option for New users. if it is selected as a "Required" option and it's not in the New User Registration form then they will not be able to register.

    Is there something I'm missing?



    edited by: mesteele101, datetimebrief
  • Just an idea off the top of my head, but do you need to have the Avatars module installed for that?
  • If the Avatar module is installed, you have to choose/upload the new image with this module.
    If the Avatar module isn't installed, you can choose an image in a dropdown.

    I think that you should remove the "required" attribute, if you want to use the Avatar module.
  • I have the Avatar module installed and it is working in the "Edit Personal Info". I have selected "Avatar" in the "Users -> Account Panel Manager -> User Account Panel Settings", and it states:

    Code

    The personal info items that you activate below will be displayed in the user registration form if the 'Users' module is configured to display personal info items during user registration, and if the 'Profile' module is specified in the 'General settings manager' as the module to provide the site's user profile management functionality. Personal info items that are configured as 'Required' will always be displayed in the user registration form. The list below only includes properties that are not 'Required' items.

    According to the above by selecting any item in there, that item will be displayed in the "User registration form". I'm guessing that it means the New User Registration Form. However after selecting "Avatar" it doesn't show up.

    The reason I would like to see that item in the New User Registration form is that when a user registers and goes into the forum it shows an error loading their Avatar "X username's Avatar". Maybe Zikula should assign a blank avatar by default for a New User?

    On a note; You can't select Avatar as a "Required" item in the "Personal info item list". By not showing up in the "New user registration form" and being a "Required" item the user gets an error message when it validates the New user information and tells them something like "required item (Avatar) needs to be set", and they can't complete the registration.

    It's possible that I'm doing something wrong to get the "Avatar" option in the "New user registration form"?



    edited by: mesteele101, datetimebrief
  • Again, I'm talking off the top of my head, but check see whether the Avatar module requires to be hooked to the Profile module to function properly...
  • Avatar 2.2 has a hook "Activate Profile for Avatar"
    Profile 1.5 Beta3 has a hook "Activate Profile for Account panel manager"

    I have selected both of these and when I go into my New User Registration it still does not list Avatar.

    I can go in and deactivate the Avatar 2.2 module. It now has the built in Avatar in the "Edit Personal Info", and it is still listed in the "Users -> Account Panel Manager -> User Account Panel Settings" as one to list in the user registration form.

    I logoff and logon as a new user to register and it fails to display the built in Avatar option in the New User Registration.
  • Offtopic: Please ignore the hooks. AFAIK you can delete them in the database. But that has nothing to do with your problem.
  • I'm not sure where the problem occures; Zikula or the Profile module? I don't think any of the hook options are valid. Not even sure why they are in there. It just makes it confusing when configuring the modules.

    Apparently Zikula and the Profile module just doesn't play well together.
  • Quote

    Apparently Zikula and the Profile module just doesn't play well together.

    Mateo has done a lot of work to improve this in the next version of each.
  • I pulled the SVN version and it has major problems displaying anything in the members list, all blank. I'm guessing that the latest that Mateo is working on is not being made available :(
  • Yes, I had already created a ticket several days ago. How did the way, too icon_smile And I've seen that you have reported it too. But such is life. You use here the development versions, and then you'll just have to live with errors. We have to wait.
  • Thanks...

    Hopfully this is fixed in testing, but who is testing? Hopfully it comes out of internal testing before it makes it out into the general release.

    I'm only running this on my development site in testing so it's not a problem with the live site.

This list is based on users active over the last 60 minutes.