BuddyDev

Search

[Resolved] BuddyPress Live Notification plugin

  • Participant
    Level: Enlightened
    Posts: 33
    Vlad on #41382

    Hey,
    A question about the BuddyPress Live Notification plugin.
    Thanks for the great plugin!
    The message is shown for only a few seconds.
    You can make the message close only when the user clicks.

    Thanks for any help.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2908
    Ravi on #41387

    Hello Vlad,

    Thank you for posting. Please try the following code:

    
    add_filter( 'bpln_get_js_settings', function ( $settings ) {
    	// Timeout in settings. Popup hide after number of seconds.
    	$settings['timeout'] = 60;
    
    	return $settings;
    } );
    
    add_action( 'bp_enqueue_scripts', function () {
    	wp_add_inline_style( 'achtung_css', '.achtung .ui-icon.achtung-close-button{overflow:visible !important;}.achtung .ui-icon.achtung-close-button-hover{color:#fff !important;}' );
    }, 11 );
    
    

    Please let me know if it fixes the issue or not.

    Regards
    Ravi

  • Participant
    Level: Enlightened
    Posts: 33
    Vlad on #41389

    Ravi you are super
    everything works fine,
    but why does it show 2 windows

  • Participant
    Level: Enlightened
    Posts: 33
    Vlad on #41390

    realized it depends on the number of messages

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2908
    Ravi on #41393

    Hello Vlad,

    Thank you for the acknowledgement. I am glad that I could help.

    Regards
    Ravi

The topic ‘ [Resolved] BuddyPress Live Notification plugin’ is closed to new replies.

This topic is: resolved