Like SystemiConnectFri 15 Oct 2021, 04:50
Auto Save MessagesLGforumFri 26 Feb 2021, 13:31
New tutorial questionTheCrowMon 15 Feb 2021, 08:12
Support iOS Emojis (and other platforms)LGforumSun 14 Feb 2021, 01:25
LGforum (2806)
Request: Chatbox lights up when there's a new message Vote_lcapRequest: Chatbox lights up when there's a new message Voting_barRequest: Chatbox lights up when there's a new message Vote_rcap 
Mr.Easybb (1587)
Request: Chatbox lights up when there's a new message Vote_lcapRequest: Chatbox lights up when there's a new message Voting_barRequest: Chatbox lights up when there's a new message Vote_rcap 
Bloodbath (745)
Request: Chatbox lights up when there's a new message Vote_lcapRequest: Chatbox lights up when there's a new message Voting_barRequest: Chatbox lights up when there's a new message Vote_rcap 
Rukiafan (533)
Request: Chatbox lights up when there's a new message Vote_lcapRequest: Chatbox lights up when there's a new message Voting_barRequest: Chatbox lights up when there's a new message Vote_rcap 
Dom (513)
Request: Chatbox lights up when there's a new message Vote_lcapRequest: Chatbox lights up when there's a new message Voting_barRequest: Chatbox lights up when there's a new message Vote_rcap 
puppycheese (446)
Request: Chatbox lights up when there's a new message Vote_lcapRequest: Chatbox lights up when there's a new message Voting_barRequest: Chatbox lights up when there's a new message Vote_rcap 
pedro (330)
Request: Chatbox lights up when there's a new message Vote_lcapRequest: Chatbox lights up when there's a new message Voting_barRequest: Chatbox lights up when there's a new message Vote_rcap 
Neymar (301)
Request: Chatbox lights up when there's a new message Vote_lcapRequest: Chatbox lights up when there's a new message Voting_barRequest: Chatbox lights up when there's a new message Vote_rcap 
Hitsu (281)
Request: Chatbox lights up when there's a new message Vote_lcapRequest: Chatbox lights up when there's a new message Voting_barRequest: Chatbox lights up when there's a new message Vote_rcap 
Flora (275)
Request: Chatbox lights up when there's a new message Vote_lcapRequest: Chatbox lights up when there's a new message Voting_barRequest: Chatbox lights up when there's a new message Vote_rcap 


Request: Chatbox lights up when there's a new message

avatarFineryWorkshop
Status : No status yet...

Posts : 6
Join date : 2015-03-27
Sat 28 Mar 2015, 00:10
Sorry if this is in the wrong section or something, it's my first post xD Anyway, I think it was included in a previous version, but is it possible to have a plugin where the chatbox lights up a color (red for example) when a new message has been entered. Thank you soo much if you can help!
brandon_gbrandon_g
Status : No status yet...

Posts : 81
Join date : 2015-01-13
Age : 26
Location : USA
Sat 28 Mar 2015, 01:50
This already happens, it is supposed to anyway. If you configured it correctly. What forum version do you have?
avatarFineryWorkshop
Status : No status yet...

Posts : 6
Join date : 2015-03-27
Sat 28 Mar 2015, 03:04
phpbb3 and here's the code I have:

Code:

var avacweb_chat_config = {
  version : '2-0-test',
  chat_title : 'Finery Workshop',
  stylesheet : 'http://chat.avacweb.net/awc_2-0.css',
  allow_private_messaging : 1,
  allow_user_resize : 1,
  custom_placement :null,
  commands : {},
  filters : {},
  tabs : {Test:[1,2]},

  allow_copyrights : 0, //please be kind and allow AWC to place small discreet copyrights and backlink on your forum.
  // DO NOT TOUCH ANYTHING BELOW
  events:{},add_event:function(t,f) {t in this.events?this.events[t].push(f):this.events[t]=[f]}};
  document.write('<script type="text/javascript" src="http://chat.avacweb.net/v' + avacweb_chat_config.version + '.js" id="achat_script">
</sc' + 'ript>');

(function(awc){
  awc.add_event('onload', function() {
      this.settings.add('sound', 0, true).add_ui('sound');
      $('body').append('<span id="achat_sound"></span>');
  });
 
  awc.add_event('onnew', function() {
      var sound_file = 'http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3'; //change this URL to your own sound file if you want
      if( this.settings.on('sound') ) {
        document.getElementById('achat_sound').innerHTML = '<embed src="' + sound_file + '" hidden="true" autostart="true" loop="false"/>';
      }
  });
})(avacweb_chat_config);
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Sat 28 Mar 2015, 07:40
Yes this already happens, if you have the chatbox closed and new messages are posted the button will light up.
The only thing that can prevent it is a js error in a plug in or something your css relating to the avacweb chat button.
Sponsored content