• Resolved linkinspy

    (@linkinspy)


    I’d like to display a unique data field on each user’s profile page that I can update in the back-end, but not have it show up on the registration page. For example, on the profile page I’d like to show all of their registration data (email, address, etc.) but then I’d like to have a unique field such as “Home Runs Batted” which I would update in the back-end while they only see the total that I’ve entered on the front-end, again without that specific field showing up when they originally register. Hopefully that makes sense. Is that something that I can possibly accomplish with this plugin?

Viewing 6 replies - 1 through 6 (of 6 total)
  • G

    (@glienhard)

    You can completely hide a field from a user’s profile. Then, using the custom css option, you can hide that field from the registration page. The trick would then be to make it display on the user’s profile page in read-only. One idea would be to create a custom profile page (i.e. not the edit profile page) that just displays the user’s info and make tell it to display that field there.

    I do something similar but I use it for club officers to be displayed on an About Us page. The field displays there but is not available for anyone to edit except the site admin.

    Thread Starter linkinspy

    (@linkinspy)

    Thanks for the response Garry!

    I was planning on creating a custom profile page to only display 2-3 of the fields, plus the extra hidden field. Do you have a line of CSS code that’s effective in hiding a field on the registration form?

    G

    (@glienhard)

    You will need to build your all your fields. Then view the registration form and view it’s source code. Find the ID of the field you want to hide. This is what you put in the custom css in the plugin. Below is an example of mine. Here I’m hiding the field that has the ID of 14.

    #ewd-feup-register-input-14, #ewd-feup-register-14 {
    display: none;
    }

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Thanks for the suggestion Garry!

    Hi Spy,

    You should be able to achieve what you’re after by creating a new custom field and setting “Show in User Profile” to “Yes”. This way it will show on their user profile page. Then you can add some custom CSS to hide that field from the registration form. Each field is given a unique ID, so you can easily isolate it with custom CSS. If you’re having trouble finding the correct CSS to apply, you could provide a link to your register page and we could take a look and maybe make a suggestion.

    G

    (@glienhard)

    Setting the “Show in User Profile” to “Yes” will make the field editable by the user, that is why I suggested to do it the way I did. Maybe I mis-understood but I believe he wants it to be completely read-only to the user. To achieve this, it will need to be done the way I suggested.

    Etoile; This would be something to add to your feature request list. Give admins the ability to make a profile field editable/read-only.

    Thread Starter linkinspy

    (@linkinspy)

    Thanks guys, I appreciate your help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Private Fields’ is closed to new replies.