Add sounds
#1
Hi,

I would like to see a sound added for each new post. A simple chime or bell, or something for whenever a new post is made to alert the users that someone has posted.

I don't know if this is feesible, but it would be a nice feature that could be activated in the user CP panel.
Reply
#2
I don't know how this could be implemented, simply because if you're at the forums you'd still have to "refresh" your browser for the new posts to show, by which time there's icons/images already for showing new posts.
Reply
#3
lufbra Wrote:I don't know how this could be implemented, simply because if you're at the forums you'd still have to "refresh" your browser for the new posts to show, by which time there's icons/images already for showing new posts.
this is correct
Smile
From January 08, 2013:
MyBB Romania - MyBB Community Forums from Romania
Reply
#4
Well it could be accomplished by some ajax, but it could be a nightmare to support and something I would consider bloat.
Reply
#5
I can see that this could be a nice idea - I'm just not sure if it's possible to dynamically play sounds with Javascript (could be done with Flash perhaps).

Maybe someone could try using Javascript to create an EMBED element and see if it works... IDK.
Reply
#6
With refresh page it's easy. Like in vb (Play Sound When Private Message Received).
Without refresh page it's possible only with ajax.
And with ajax... I don't know how to call function for instant play to all users...
From January 08, 2013:
MyBB Romania - MyBB Community Forums from Romania
Reply
#7
ZiNgA BuRgA Wrote:I can see that this could be a nice idea - I'm just not sure if it's possible to dynamically play sounds with Javascript (could be done with Flash perhaps).

Maybe someone could try using Javascript to create an EMBED element and see if it works... IDK.

Just use a javascript interface to a flash player and have fun. If you use jQuery, try this: ( to learn.. checkout the autoplay option)
http://www.malsup.com/jquery/media/
Reply
#8
Asad_Niazi Wrote:Just use a javascript interface to a flash player and have fun. If you use jQuery, try this: ( to learn.. checkout the autoplay option)
http://www.malsup.com/jquery/media/
Every time when I used jQuery, I have problems with my forum (perhaps with quick edit, and collapse boxes).
From January 08, 2013:
MyBB Romania - MyBB Community Forums from Romania
Reply
#9
mybbromania Wrote:
Asad_Niazi Wrote:Just use a javascript interface to a flash player and have fun. If you use jQuery, try this: ( to learn.. checkout the autoplay option)
http://www.malsup.com/jquery/media/
Every time when I used jQuery, I have problems with my forum (perhaps with quick edit, and collapse boxes).

Learn to use jQuery in the compatibility mode (mentioned in their docs) or find plugins for prototype instead of jQuery.
Reply
#10
Asad_Niazi Wrote:Learn to use jQuery in the compatibility mode (mentioned in their docs) or find plugins for prototype instead of jQuery.
btw... I really don't understant why mybb don't use jQuery instead of Prototype.
jQuery is very powerfull... Sad
From January 08, 2013:
MyBB Romania - MyBB Community Forums from Romania
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)