Title notification for DVZ Shoutbox 2.1.x
#1
Based on Sound notification for DVZ Shoutbox 2.1.x, I've done a visual alert.

It uses jQuery Title Alert.


1. upload the jquery.titlealert.js file into jscripts/ directory on your server

.zip   jquery.titlealert.js.zip (Size: 1.94 KB / Downloads: 137)

2. Open the dvz_shoutbox template (Global Templates) and add the following code after {$javascript}
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.titlealert.js"></script>
<script>
dvz_shoutbox.callbacks['update'].push(function(){
   if ($('#shoutbox .entry.new').length) {
     $.titleAlert('Activity on ShoutCast', {requireBlur:true});
   }
});</script>
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#2
thanks for this tutorial Smile working

it is showing that activity on shoutbox , it is possible that alert should be by user name ? like as facebook that abc sent a message
Reply
#3
I'm not sure it's possible, and even if it was, you may have only the last speaker information, I don't thing it's usefull as information.

I sometimes use Mibbit (or other ajax irc chat), and they only notice you of an activity.
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#4
@Crazycat 
Hey the plugin doesn't work for me
I have followed every step but when I create a new thread nothing shows
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)