WordPress.org

Ready to get started?Download WordPress

Forums

Cimy User Extra Fields
[resolved] Issue with 'Can be modified only by admin' fields on prof (6 posts)

  1. Matt Jensen
    Member
    Posted 3 years ago #

    Hi there

    Fantastic plugin, thanks very much for your work.

    I have discovered an issue though with the setting for Cimy Extra User Fields named 'Can be modified only by admin', when the field also has the setting 'Show the field in User's profile'.

    In the HTML output for fields with that setting, the field has the property: 'disabled="disabled'.

    However, if the user uses Firefox's Firebug or Google Chrome's inspector to edit the HTML and remove that property, they can then edit that field. That wouldn't be such a problem, however if the user then saves their profile with an edited value, the database also gets updated...!

    So not ideal. I was thinking that a Cimy UEF with those settings should be output as text only. I guess ideally also the 'backend' would also prevent anyone adding in an input field to the profile HTML and subsequently updating the value.

    Making the output text only would be a good inclusion for an update to the plugin - any comments? (perhaps even I could help do it?).

    Cheers
    Matt

    http://wordpress.org/extend/plugins/cimy-user-extra-fields/

  2. Marco Cimmino
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for reporting this bug, I'll take a look.

  3. Marco Cimmino
    Member
    Plugin Author

    Posted 3 years ago #

    Will be fixed in v2.0.3

  4. Matt Jensen
    Member
    Posted 3 years ago #

    Awesome, thanks Cimmo!!

  5. Marco Cimmino
    Member
    Plugin Author

    Posted 3 years ago #

    I fixed all bugs mentioned by you in the development version, you might want to check it out:
    http://downloads.wordpress.org/plugin/cimy-user-extra-fields.zip

    let me know, thanks
    Marco

  6. Matt Jensen
    Member
    Posted 3 years ago #

    Sweet as, if users edit the HTML to remove the disabled setting it now does NOT save any changes they make to the field - nice one!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic