1 AvcWeb Chatbox ? Sun Feb 16, 2014 4:20 am
Skitoritto
Heaven's Guard
Want to suggest for us to add AwcWeb Chatbox button.Because it's easier way for staff to communicate (You can open new "group" in it only visible to defined members).The thing with AwcWeb Chat is we would have to get rid of our "regular" chatbox, because it's going to show something like "Hidden message" every time someone talks in different group or PM's someone.
Here are the Java Script and CSS needed:
Here are the Java Script and CSS needed:
- CSS:
- Code:
.a_chat_pm tr, .a_chat_pm td, .a_chat_tab tr, .a_chat_tab td { display:none!important; }
.a_chat_pm:before, .a_chat_tab:before { content: 'Hidden Content'; font-style: italic; }
- Javascript:
- Code:
var avacweb_chat_config = {
version : '1-8',
new_chat_title : 'AvacWeb Chatbox',
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,
commands : {},
can_open_tabs : [1], //user ids of users who can open new tabs.
tabs : {},
allow_copyrights : 1, //please be kind and allow AWC to place small discreet copyrights and backlink on your forum.
// DO NOT TOUCH ANYTHING BELOW
message_hook:[],user_hook:[],events:{},add_event:function(t,f) {t=/^on/.test(t)?t:'on'+t;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"></script>');
Last edited by Skitoritto on Sun Feb 16, 2014 7:54 am; edited 1 time in total