Remove confirmation

Support MB User Profile Remove confirmationResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15972
    MattMatt
    Participant

    I am using the front-end profile on my BuddyPress settings page. For consistency, I would like all confirmation messages to look the same, so I used the rwmb_profile_before_display_confirmation hook to display a BP message when profile settings are updated.

    I now need to remove the confirmation message that is created by MB. If I leave the message blank, I still see the green box. I don't see any hook that would allow me to disable it. Is there a way I can do this?

    Also, is there an easy way to add a css class to the submit button?

    #15974
    Anh TranAnh Tran
    Keymaster

    Hi Matt,

    Thanks for your message. You can disable the confirmation completely by creating an empty file confirmation.php and put it in your theme under mb-user-profile folder (you might need to create it if it doesn't exist).

    In the next version, I'll add a check to not output the empty div if the confirmation is empty.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.