• Hi I want to show the number of notifications and the number of incoming messages to the code I give below.
    How do I add these codes to the code below?

    fep_get_new_message_number()
    
    fep_get_new_message_button()
    echo '<li><i class="fa fa-comment-o" aria-hidden="true"></i><a href="hesabim/?alsp_action=messages">'.esc_html__('Mesajlar', 'classiadspro').'</a></li>';
    							
    							
    • This topic was modified 6 years, 11 months ago by ayazhan19.
    • This topic was modified 6 years, 11 months ago by ayazhan19.
    • This topic was modified 6 years, 11 months ago by ayazhan19.
Viewing 15 replies - 1 through 15 (of 32 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    
    echo '<li><i class="fa fa-comment-o" aria-hidden="true"></i><a href="hesabim/?alsp_action=messages">'.sprintf( esc_html__('Mesajlar%s', 'classiadspro'), fep_get_new_message_button() ).'</a></li>';
    
    Thread Starter ayazhan19

    (@ayazhan19)

    Sorry, the message was not sent when the message was sent, the message was not sent to the message bubble

    Thread Starter ayazhan19

    (@ayazhan19)

    You will be bombarded with messages that indicate the number of messages again with this code.

    echo '<li><i class="fa fa-comment-o" aria-hidden="true"></i><a href="hesabim/?alsp_action=messages">'.esc_html__('Mesajlar %s', 'classiadspro').'</a></li>';

    Plugin Author Shamim Hasan

    (@shamim51)

    I did not understand your question.
    I already updated your code. didn’t that work?

    Thread Starter ayazhan19

    (@ayazhan19)

    Did not you write this code again?

    echo '<li><i class="pacz-icon-check-square-o"></i><a href="'.alsp_dashboardUrl().'">'.esc_html__('Mesajlar', 'classiadspro').'</a></li>';

    Thread Starter ayazhan19

    (@ayazhan19)

    can we add message notification sound? how can we add?

    Plugin Author Shamim Hasan

    (@shamim51)

    Please go to Dashboard > Front End PM > Settings > Misc

    Thread Starter ayazhan19

    (@ayazhan19)

    I want to change the message notification sound?

    Plugin Author Shamim Hasan

    (@shamim51)

    Add following code in your theme’s (child theme’s if any) functions.php

    add_filter( 'fep_filter_notification_script_localize', function( $localize ){
        $localize['sound_url'] = 'sound_absolute_url';
        return $localize;
    });
    

    Change sound_absolute_url with your sound file url

    Thread Starter ayazhan19

    (@ayazhan19)

    Where do we write the URL address?

    Thread Starter ayazhan19

    (@ayazhan19)

    unfortunately not

    Plugin Author Shamim Hasan

    (@shamim51)

    As i do not understand your question properly, i cannot answer well. It is better if you can translate your question from any human translator or your friend who knows English then it will be easy for me to answer your question.

    Thread Starter ayazhan19

    (@ayazhan19)

    message notification sound does not come when message arrives

    Plugin Author Shamim Hasan

    (@shamim51)

    1. Did you add above code? did you changed sound_absolute_url?
    2. Did you check for notification sound in settings page?
    3. Which plugin version you are using?
    4. Which browser version you are using?
    5. Is sound on in your laptop/computer?
    6. Did you gave permission when it asked permission for desktop notification?

    Thread Starter ayazhan19

    (@ayazhan19)

    1. yes I added sound_absolute_url URL instead
    2. Notification sound activated on Settings page
    3. latest version
    4. chrome latest version
    5. there is sound yes
    6. yes allowed

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Help Mi Message Alerts’ is closed to new replies.