Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

is it possible to leave some parts of the "basic information" empty?

horia_mhoria_m newb
edited April 2011 in Questions
This discussion is related to the AboutMe addon.
the plugin forces me to give a birthdate and a relashionship status. Why? I would like to leave it up to each member what information it would like to show/enter about himself.

Comments

  • I'd like to know as well. I know we can edit the plugin to add or remove fields, but I'd like to know how to make them optional.
  • Sorry guys, must have missed this when I updated the plugin.

    To make fields optional, go to the bottom of default.php and find the "Setup" function. Below this is a list of the tables it creates in the database.

    The TRUE and FALSE that you see determine whether that field is allowed to have an empty value or not. FALSE means that you have to enter the information.

    Change the fields you want to be optional to TRUE.

    I remember there being a reason that I created it this way, though, so I can't guarantee everything will continue working.

    Birthday is a vital bit of information, and should be required in my opinion, that is why I added the functionality to hide the birthday from the public, though it should be alright to disable the requirement.
  • edited November 2011
    this solution not working for me.. i set fields TRUE but plugin not allow me to confirm information anyway
Sign In or Register to comment.