LGforum (2804)
Installing Plug Ins Vote_lcapInstalling Plug Ins Voting_barInstalling Plug Ins Vote_rcap 
Mr.Easybb (1586)
Installing Plug Ins Vote_lcapInstalling Plug Ins Voting_barInstalling Plug Ins Vote_rcap 
Bloodbath (745)
Installing Plug Ins Vote_lcapInstalling Plug Ins Voting_barInstalling Plug Ins Vote_rcap 
Rukiafan (533)
Installing Plug Ins Vote_lcapInstalling Plug Ins Voting_barInstalling Plug Ins Vote_rcap 
Dom (513)
Installing Plug Ins Vote_lcapInstalling Plug Ins Voting_barInstalling Plug Ins Vote_rcap 
puppycheese (446)
Installing Plug Ins Vote_lcapInstalling Plug Ins Voting_barInstalling Plug Ins Vote_rcap 
pedro (330)
Installing Plug Ins Vote_lcapInstalling Plug Ins Voting_barInstalling Plug Ins Vote_rcap 
Neymar (301)
Installing Plug Ins Vote_lcapInstalling Plug Ins Voting_barInstalling Plug Ins Vote_rcap 
Hitsu (281)
Installing Plug Ins Vote_lcapInstalling Plug Ins Voting_barInstalling Plug Ins Vote_rcap 
Flora (275)
Installing Plug Ins Vote_lcapInstalling Plug Ins Voting_barInstalling Plug Ins Vote_rcap 


Installing Plug Ins

LGforumLGforum
Status : Working to restore AWC!

Posts : 2804
Join date : 2011-10-05
Age : 27
Location : UK
Mon 25 Mar 2013, 18:47
Installing Plug Ins into your Avacweb Chat is often very simple, depending on the plug in.

More often than not, you'll be provided with the Plug In code, you simply copy and paste this code below your Avacweb Chat Config and save.

For example, here's the default Javascript for Avacweb Chat, if you haven't changed anything, this is what you'll have:
Code:
var avacweb_chat_config = {
  version : '1-7',
  new_chat_title : 'AvacWeb Chatbox',
  light_up_color : 'orange',
  auto_log_in : 'open',
  archives : 1,
  sound_file : 'http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3',
  stylesheet : 'http://chat.avacweb.net/avacweb_chat.css',
  disable_timeout : 0,
  allow_private_messaging : 1,
  allow_user_resize : 1,
  message_hook : [],
  user_hook : [],
  commands : {},
  events : {},
  add_event : function(type, fn) {
      type = /^on/.test(type) ? type : 'on' + type;
      type in this.events ? this.events[type].push(fn) : this.events[type] = [fn];
  }
};
document.write('<script type="text/javascript" src="http://chat.avacweb.net/v' + avacweb_chat_config.version + '.js" id="achat_script"></script>');

Plug In codes simply need to be copy and pasted below that piece of script in the same Javascript file. Multiple plug ins can continue to be pasted below it and no specific order is required.
Code:
Avacweb Chat Config Code

# Plug In
# Plug In
# More Plugs ins...

Some Plug Ins may require you to add some CSS to your forum, in which case they will state so, and will explain how to.

Enjoy the wide variety of plugs in available.

#avacwebchat