Skip to:
Content
Pages
Categories
Search
Top
Bottom

Action confirmation messages as pop ups?


  • RosalynRodgers
    Participant

    @rosalynrodgers

    Hey guys,

    Do any of you know if there is a plug-in available for the following, and if not, does anybody have an idea of where I can start to try and do this myself?

    Every time you upload a new avatar or send a private message etc you get a confirmation dialogue box on the screen :

    Message sent successfully!

    1) Firstly, The styling of these messages doesn’t match anything else in my theme so I’d like to change this, I can work this out using inspector.

    2) I’d like these to display as javascript / jQuery pop ups instead of embedding on the page as it throws the formatting off.

    Any takers?

Viewing 1 replies (of 1 total)

  • shanebp
    Moderator

    @shanebp

    The hook is do_action( 'template_notices' ); in various templates.

    In /bp-core/bp-core-functions.php
    The add_action is add_action( 'template_notices', 'bp_core_render_message' );
    The function is function bp_core_render_message()

    You could try removing that add_action and replacing it with a call to a function that creates a pop-up.

Viewing 1 replies (of 1 total)
  • The topic ‘Action confirmation messages as pop ups?’ is closed to new replies.
Skip to toolbar