Support » Plugin: BP Better Messages » Notification sound

  • Resolved Shashi Kumar

    (@mastershas)


    The message notification sound (beep) plays after each reload of the website page. Would you please tell how to fix this issue.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author wordplus

    (@wordplus)

    Hi there!

    Sorry, I missed this message!
    Is issue persists still?

    Thread Starter Shashi Kumar

    (@mastershas)

    Yes I checked it. The issue is still existing

    I’m just an observer whom tested the plugin. Not a
    Javascript pro or anything but looking into the code located
    in
    folder path:
    bp-better-messages->assets->js->bp-messages.js

    You’ll see:

    $('<audio id="bp-messages-notification" style="display:none;">'
              + '<source src="' + notification + '.mp3" />'
              + '<source src="' + notification + '.ogg" />'
              + '<embed src="' + notification + '.mp3" hidden="true" autostart="false" loop="false" />'
              + '</audio>'
            ).appendTo('body');

    I tried changing the body to a specific div related to the
    individual page or even the message thread itself.
    Maybe the plugin author could better clarify but it stopped
    the alert when changing pages and kept it to messaging.

    one class was for the page itself:

    .appendTo('.bp-messages');

    The other class which I settled on is found in the thread:

    .appendTo('.messages-stack');

    Plugin Author wordplus

    (@wordplus)

    @dono12, you should not change it to plugin container, because it will be removed from page on change thread screen.

    What are you trying to achieve by doing this?

    So I’m guessing the answer is:

    .appendTo(‘.bp-messages’);

    What I’m trying to achieve is the original question proposed:

    The message notification sound (beep) plays after each reload of the website page. Would you please tell how to fix this issue.

    Bumping this to see if this was resolved, I am having this issue and would like to remove the sound.

    Plugin Author wordplus

    (@wordplus)

    Hi there!

    Can you send me the link where I can reproduce it?

    Thanks!

    Sure, go to http://www.ptnu.com.au and login as this user

    Email: jack@test.com
    Password: test1212

    Every page refresh, no matter whether buddypress or not results in the sound being played.

    Plugin Author wordplus

    (@wordplus)

    Thanks for the info!

    I just tested and it seems to work find for me with lastest Chrome.

    Can you answer additionally, so I can test it better:
    1. Which browser (with version) do you using?
    2. Which OS?

    Thanks!

    Ok I just tested with Chrome and also didnt have this issue, I normally use Microsoft Edge to test the website out and thats where the sound was happening.

    1. Microsoft Edge 41.16299.15.0
    2. Windows 10

    Plugin Author wordplus

    (@wordplus)

    Found the problem!

    Releasing fix in few minutes!

    Thanks!

    Awesome, thankyou!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Notification sound’ is closed to new replies.