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)
Problems during upgrading AWC from 1.8.1 to 1.9.1 Vote_lcapProblems during upgrading AWC from 1.8.1 to 1.9.1 Voting_barProblems during upgrading AWC from 1.8.1 to 1.9.1 Vote_rcap 
Mr.Easybb (1587)
Problems during upgrading AWC from 1.8.1 to 1.9.1 Vote_lcapProblems during upgrading AWC from 1.8.1 to 1.9.1 Voting_barProblems during upgrading AWC from 1.8.1 to 1.9.1 Vote_rcap 
Bloodbath (745)
Problems during upgrading AWC from 1.8.1 to 1.9.1 Vote_lcapProblems during upgrading AWC from 1.8.1 to 1.9.1 Voting_barProblems during upgrading AWC from 1.8.1 to 1.9.1 Vote_rcap 
Rukiafan (533)
Problems during upgrading AWC from 1.8.1 to 1.9.1 Vote_lcapProblems during upgrading AWC from 1.8.1 to 1.9.1 Voting_barProblems during upgrading AWC from 1.8.1 to 1.9.1 Vote_rcap 
Dom (513)
Problems during upgrading AWC from 1.8.1 to 1.9.1 Vote_lcapProblems during upgrading AWC from 1.8.1 to 1.9.1 Voting_barProblems during upgrading AWC from 1.8.1 to 1.9.1 Vote_rcap 
puppycheese (446)
Problems during upgrading AWC from 1.8.1 to 1.9.1 Vote_lcapProblems during upgrading AWC from 1.8.1 to 1.9.1 Voting_barProblems during upgrading AWC from 1.8.1 to 1.9.1 Vote_rcap 
pedro (330)
Problems during upgrading AWC from 1.8.1 to 1.9.1 Vote_lcapProblems during upgrading AWC from 1.8.1 to 1.9.1 Voting_barProblems during upgrading AWC from 1.8.1 to 1.9.1 Vote_rcap 
Neymar (301)
Problems during upgrading AWC from 1.8.1 to 1.9.1 Vote_lcapProblems during upgrading AWC from 1.8.1 to 1.9.1 Voting_barProblems during upgrading AWC from 1.8.1 to 1.9.1 Vote_rcap 
Hitsu (281)
Problems during upgrading AWC from 1.8.1 to 1.9.1 Vote_lcapProblems during upgrading AWC from 1.8.1 to 1.9.1 Voting_barProblems during upgrading AWC from 1.8.1 to 1.9.1 Vote_rcap 
Flora (275)
Problems during upgrading AWC from 1.8.1 to 1.9.1 Vote_lcapProblems during upgrading AWC from 1.8.1 to 1.9.1 Voting_barProblems during upgrading AWC from 1.8.1 to 1.9.1 Vote_rcap 


Problems during upgrading AWC from 1.8.1 to 1.9.1

avatarGuest
Wed 01 Oct 2014, 15:49
Hi all!

I'm having trouble upgrading AWC from 1.8.1 to AWC 1.9.1 at the moment.

Currently, I can't see the chat button at all. What I've done is to start from scratch with a new Java Script, taking the old 1.8.1 "offline" (but it's still there in the list). I added all the old plug-ins and changed the their code to 1.9+ wherever applicable with the plug-in section on AvacWeb as a reference. Before one of the last plug-ins I changed to the 1.9+ version, I saw the colors changed in AWC. I'm not at all happy with that, and also the button on the bottom bar seemed to have changed. Must be CSS, the other thing JS. I cleared all cookies to re-check, but that didn't help either.

Here's what I have at the moment. My AWC 1.9.1 JS:
Code:
// **** AWC 1.9.1 CONFIG ****//
var avacweb_chat_config = {
  version : '1-9-1',
  new_chat_title : 'Game-Xtreme Live Chatbox',
  stylesheet : 'http://chat.avacweb.net/avacweb_chat_2.css',
  allow_private_messaging : 1,
  allow_user_resize : 1,
  allow_appear_offline : 1,
  commands : {},
  custom_placement : null,
  can_open_tabs : [1],
  tabs : {"SRT✰ Clan" : ['Admin', 'Samantha', 'SRT✰TIM', 'SRT✰ちんαωね', 'SRT✰CHRIS'],"MKW Tournaments" : ['Admin', 'Samantha', 'SRT✰SAMMY', 'SRT✰TIM', 'chris.newell.355', 'tim.hatter.64', 'SRT✰ちんαωね'],"Staff Room" : ['Admin', 'Samantha']},
  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 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>');
//**** END OF AWC 1.9.1 CONFIG **** //


//**** HIDE THE MAIN CHATBOX ****//
avacweb_chat_config.add_event('onload', function() {
    avacweb_chat.id('chatbox').style.display = 'block';
});
//**** END HIDE THE MAIN CHATBOX ****//


//**** ANIMATION ON AWC OPEN AND CLOSE ****//
[panda=js]avacweb_chat_config.add_event('onopen', function(e) {
    e.preventDefault();
    $('#avacweb_chat').slideDown();
    avacweb_chat.button.style.backgroundColor = '';
});
avacweb_chat_config.add_event('onclose', function(e) {
    e.preventDefault();
    $('#avacweb_chat').slideUp();
});
//**** END ANIMATION ON AWC OPEN AND CLOSE ****//


//**** ADD SOUND TO AWC ****//
[panda=js](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);
//**** END ADD SOUND TO AWC ****//


//**** WELCOME MESSAGE ****//
avacweb_chat_config.add_event('onlogin', function(e) {
  if( !this.cookie('intro') ) { //using avacweb_chat's built in cookie function.
      this.popup('Hi, welcome to Game-Xtreme\'s ChatBox. You can check out a list of the chatbox commands by typing /cmd into the message box.
        Enjoy!');
      this.cookie('intro', true);
  }
});
//**** END WELCOME MESSAGE ****//


//**** CONFIRM LOGOUT ****//
avacweb_chat_config.add_event('onlogout', function(e) {
    if( !this.skip_confirm && !confirm('Are you sure you want to log out?') ) {
        e.preventDefault();
    }
    document.getElementById('achat_sound').innerHTML = '<embed src="http://www.mariomayhem.com/downloads/sounds/super_mario_bros/smb_gameover.wav" hidden="true" autostart="true" loop="false" />';
    this.skip_confirm = false;
    if( avacweb_chat.settings.on('open') ) avacweb_chat.settings.toggle('open');
});
//**** END CONFIRM LOGOUT ****//


//**** REPLACE THE ADD SYMBOL ****//
avacweb_chat_config.message_hook.push(function(row, username, user_id, user) {
  user.innerHTML = user.innerHTML.replace(/@(?=\W)/, '✰ '); //perform @ replacement
});
avacweb_chat_config.user_hook.push(function(row, username, user_id) {
  var u = row.getElementsByTagName('a')[0];
  if(u) u.innerHTML = u.innerHTML.replace(/@(?=\W)/, '✰ '); //perform @ replacement
});
//**** END REPLACE THE ADD SYMBOL ****//


//**** CHANGE AWAY COLOR ****//
(function(awc){
                 
  awc.add_event('onload', function() {
      avacweb_chat.away_list = {};
  });
                 
  awc.user_hook.push(function(row, username, userid) {
      var away_list = $('.away', avacweb_chat.id('chatbox_members'))[0], id = 'u' + userid;
      if(away_list && away_list.nextSibling.innerHTML.indexOf(row.innerHTML) !== -1) {
        avacweb_chat.away_list[id] = 1;
        row.getElementsByTagName('a')[0].className = 'away-user';
      }
      else {
        delete avacweb_chat.away_list[id];
      }
  });
                 
  awc.message_hook.push(function(row, username, uid) {
      if('u' + uid in avacweb_chat.away_list) {
        row.getElementsByTagName('a')[0].className = 'away-user';
      }
  });
               
})(avacweb_chat_config);
//**** END CHANGE AWAY COLOR ****//


//**** CHANGE RIGHT CLICK TO LEFT CLICK FOR USER MENU **** //
avacweb_chat_config.user_hook.push(function(row) {
  var l = row.getElementsByTagName('a')[0];
  if(l) {
      l.setAttribute('onclick', 'if(event) event.preventDefault(); ' + l.getAttribute('oncontextmenu'));
      l.removeAttribute('oncontextmenu');
  }
});
//**** CHANGE RIGHT CLICK TO LEFT CLICK FOR USER MENU ****//


//**** READING MODE NOTIFY ****//
avacweb_chat_config.add_event('onsettingchange', function(e) {
    if(e.data === 'reading') {
        this.send_message('/me ' + this.t( this.settings.on('reading') ? 'has entered reading mode' : 'has exited reading mode' ) );
    }
});
//**** END READING MODE NOTIFY ****//


//**** MEMBER LIST TOGGLER ****//
avacweb_chat_config.add_event('onload', function () {
  $(avacweb_chat.id('achat_color_button')).after('<div class="achat_button" id="toggle_members">Close List</div>');
var members = $(avacweb_chat.id('chatbox_members'));
var chatbox = $(avacweb_chat.id('chatbox'));
var toggle = $(avacweb_chat.id('toggle_members'));
toggle.toggle(function() {
  members.stop().animate({left:-181},1000);
      chatbox.stop().animate({left:0},1000);
          toggle.html('Open List');
  },
  function() {
    members.stop().animate({left:0},1000);
      chatbox.stop().animate({left:181},1000);
        toggle.html('Close List');
  });
});
//**** END MEMBER LIST TOGGLER ****//


//**** WORD CENSOR ****//
[panda=js]avacweb_chat_config.message_hook.push(function(row, username, user_id, user, msg) {
    var censored = ['idiot', 'stupid', 'loser']; //add more words here
    msg.innerHTML = msg.innerHTML.replace(RegExp('\\b(' + censored.join('|') + ')\\b', 'gi'), '[CENSORED]');
});
//**** END WORD CENSOR ****//


//**** STOP SPAMMING ****//
avacweb_chat_config.add_event('onsend', function(e) {
    if(!avacweb_chat.spam_check) {
        avacweb_chat.spam_check = [];
    }
    var message = e.data, i = 0, x, spam_limit = 5;
    if( avacweb_chat.spam_check.push(message) > spam_limit ) {
        avacweb_chat.spam_check.shift();
    }
    for( ; (message === avacweb_chat.spam_check[i++]); );
    if(i > spam_limit) {
        avacweb_chat.skip_confirm = true;
        avacweb_chat.login(1); //log the user out.
    }
});
//**** END OF STOP SPAMMING ****//


//**** POKE SYSTEM ****//
[panda=js](function(awc) {
  ('Avacweb chat Plug in Poke System');
 
  //add the poke command.
  awc.commands.poke = {
      description: '/poke username - Poke a user in the chatbox to get their attention.',
      run : function(msg) {
        var uid = avacweb_chat.get_user_data(msg).id;
        if(!uid) {
            avacweb_chat.popup(msg + ' ' + avacweb_chat.t('is not in the chat'));
            return false;
        }
       
        return '[table class="achat_poke" rel="' + uid + '"][tr][td][/td][/tr][/table]';
      }
  };
 
  awc.message_hook.push(function(row, username, user_id) {
      var poke = $('.achat_poke', row)[0]
      , ac = avacweb_chat;
     
      if(poke) {
        var poker = parseInt(user_id)
        , poked = parseInt(poke.getAttribute('rel'))
        , time = $('.date-and-time', row)[0].innerHTML;
       
        if(!ac.user('id') || !poker || !poked) {
            return row.innerHTML = '';
        }
       
        //if we are being poked...
        if(poked === ac.user('id')) {
            if( !ac.pokes[time] ) {
              ac.pokes[time] = 1;
              document.title = username + ' ' + ac.t('Poked You') + '!';
              $('body').append('<embed src="http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3" hidden="true" autostart="true" loop="false" />');
             
              //save the pokes.
              JSON && ac.cookie('pokes', JSON.stringify(ac.pokes), 0);
            }
            row.innerHTML = '<span class="poke">' + username + ' ' + ac.t('Poked You') + '!</span>' + time;
        }
        else if(poker === ac.user('id')) {
            row.innerHTML = '<span class="poke">' + ac.t('You poked') + ' ' + ac.get_user_data(poked).name + '.</span>' + time;
        }
        else {
            row.innerHTML = '';
            row.style.display = 'none';
        }
      }
  });
 
  //load the pokes.
  awc.add_event('onload', function() {
      avacweb_chat.pokes = {};
      avacweb_chat.original_title = document.title;
     
      var cookie = avacweb_chat.cookie('pokes');
      if(cookie && JSON) {
        avacweb_chat.pokes = JSON.parse(cookie);
      }
  });
 
  awc.add_event('onsend', function() {
      document.title = this.original_title;
  });
 
})(avacweb_chat_config);
//**** END POKE SYSTEM ****//


//**** SYSTEM AND WARNING MESSAGE ****//
avacweb_chat_config.commands.system = {
    description : '/system message - post a system message',
    run : function(text) {
        if(text && text.length) {
            return '[table class="system-message"][tr][td]' + text + '[/td][/tr][/table]';
        }
        return false;
    }
};
avacweb_chat_config.commands.warning = {
    description : '/warning message - post a warning message',
    run : function(text) {
        if(text && text.length) {
            return '[table class="warning-message"][tr][td]' + text + '[/td][/tr][/table]';
        }
        return false;
    }
};
avacweb_chat_config.message_hook.push(function(row) {
    var m = $('.system-message, .warning-message', row)[0];
    if(m) {
        var msg = m.getElementsByTagName('td')[0].innerHTML;
        row.innerHTML = '<div class="' + m.className + '">' + msg + '</div>';
    }
});
//**** END SYSTEM AND WARNING MESSAGE ****//


//**** PLUGIN YTVIDS ****//
avacweb_chat_config.message_hook.push(function(row, username, user_id, user, msg) { 
  var video = msg.children;
  var regex= /embed|object/i;
  for(var i =0; i<video.length;i++){
    if(video[i].nodeType !== 1) continue;
    if(regex.test(video[i].tagName)){
    avacweb_chat.toggle_setting('reading');
    cancelReading();
    }
  }
  function cancelReading(){
      avacweb_chat.id('chatbox').addEventListener('scroll', toggleSetting ,false);
  }
  function toggleSetting(){
  avacweb_chat.toggle_setting('reading');
  avacweb_chat.id('chatbox').removeEventListener('scroll', toggleSetting,false);
  }
});
//**** PLUGIN YTVIDS ****//

//**** PREVENT EXTERNAL LINKS IN AWC ****//
avacweb_chat_config.message_hook.push(function(row, username, user_id, usr, msg) {
  var links = msg.getElementsByTagName('a'), whitelist = [location.hostname, 'youtube', 'twitter', 'facebook', 'tinypic', 'photobucket'];
  for(var i = 0, l; (l = links[i++]); ) {
      if(l.href.charAt(0) !== '/' && !l.href.match(RegExp('(' + whitelist.join('|') + ')', 'i'))) {
        l.href = '/';
        l.innerHTML = '[External links are banned in the chatbox]';
      }
  }
});
//**** END PREVENT EXTERNAL LINKS IN AWC ****//

And my CSS:
Code:
[panda=css]
    .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;
    }

/**** HIDE TOP RIGHT SEARCH BAR AND WIDGETS IN GUEST VIEW ****/
p.nomargin{display:none;}
/**** END HIDE TOP RIGHT SEARCH BAR AND WIDGETS IN GUEST VIEW ****/

/**** H3 FORUM MARGIN ****/
.dterm div{margin:0px 0px 0px 75px!important;}
/**** END H3 FORUM MARGIN ****/

/**** RESIZE AND CENTER YOUTUBE VIDEOS IN POSTS ****/
.post .postbody .content.clearfix div embed {display:block !important;margin:0 auto !important;width:850px !important;height:600px !important;}
/**** END RESIZE AND CENTER YOUTUBE VIDEOS IN POSTS ****/

/**** PORTAL BACKGROUND (JS) ****/
.portalBody { background-color:#000 !important; }
.portalBody .navbar, .portalBody .module { background:none; }
.portalBody span.corners-bottom, .portalBody span.corners-top  { display:none; }
/**** END PORTAL BACKGROUND (JS) ****/

/**** HIDE ROUND CORNERS TOP AND BOTTOM ****/
span.corners-bottom, span.corners-top { display:none; }
/**** END HIDE ROUND CORNERS TOP AND BOTTOM ****/

/**** CORNERS AROUND SIDEBAR ****/
/#left .module {border: 1px solid #368AD2;border-radius: 8px;}/
/#left .module .corners-bottom, #left .module .corners-top { display: none }/
/#right .module {border: 1px solid #368AD2;border-radius: 8px;}/
/#right .module .corners-bottom, #right .module .corners-top { display: none }/
/**** END CORNERS AROUND SIDEBAR ****/

/**** FIX TOOLBAR WIDTH ON MOBILE DEVICES ****/
@media screen and (max-device-width: 480px) {#fa_toolbar {width:117%;}}
/**** END FIX TOOLBAR WIDTH ON MOBILE DEVICES ****/

/**** RESIZE BANNER ****/
#logo img {width:77% !important;}
/**** END RESIZE BANNER ****/

/**** UNREAD POSTS COLOR ****/
dl.icon[style*="i_folder_new"] {background-color: #FFB007!important}
dl.icon[style*="vgc_so12.png"] {background-color: #FFB007!important}
/**** END UNREAD POSTS COLOR ****/

/**** AWC OVERRIDES ****/
/**** AWC Active Tab BG Color Override ****/
.achat_tab.selected {background: #FF9900!important;}
/**** END AWC Active Tab BG Color Override ****/
/**** AWC New Message Color Override ****/
.achat_tab.new {background: #00CC00!important;}
/**** END AWC New Message Color Override ****/
/**** AWC Fixed Position Override ****/
/#avacweb_chat {position: fixed;bottom: 21px!important;right: 199px!important;height: 41%!important;width: 75%!important;z-index: 999;}/
/**** END AWC Fixed Position Override ****/
#chatbox_header, #chatbox_footer {background: #368AD2!important;box-shadow: inset 0 10px 10px #2787EE;-moz-box-shadow: inset 0 10px 10px #2787EE;-webkit-box-shadow: inset 0 10px 10px #2787EE;text-shadow: 0 1px blue;font-weight: bold;}
#avacweb_chat_button {position: fixed;bottom: 0px !important;background: #368AD2 !important;font-size: 1.3em;font-family: Verdana;font-weight: bold;z-index: 999;width: 200px !important;right: 0px !important;padding: 0px !important;border-right:none !important;border-top:none !important; border-bottom:none !important;height: 20px;box-shadow: inset 0px -10px 20px #368AD2 !important;background: #368AD2 !important;cursor: pointer;float: left;padding: 2px 5px;text-align: center;width: 200px;font-family: Verdana;font-weight: bold;color: white !important;text-transform: uppercase;border-left: 1px solid white !important;text-shadow: 1px 0px black !important;border-radius:0px !important;}
/**** END AWC OVERRIDES ****/

/**** AWC HIDE FULL CHATBOX ****/
body.chatbox {visibility: hidden;}
#chatbox {display: none;}
p.page-bottom + .h3, p.page-bottom + .h3 + div.page-bottom, #chatbox_popup {display: none;}
/**** END AWC HIDE FULL CHATBOX ****/

/**** AWC PM SECRET ****/
.a_chat_pm tr, .a_chat_pm td {display:none!important;}
.a_chat_pm:before {content: 'Hidden Content'; font-style: italic;}
/**** END AWC PM SECRET ****/

/**** AWC IN CHAT FONT SIZE ****/
div.chatbox_row_1, div.chatbox_row_2 {font-size: 1.0em;}
/div.chatbox_row_1, div.chatbox_row_2 {font-size: 1.2em;}/
/**** END AWC IN CHAT FONT SIZE ****/

/**** AWC SYSTEM WARNING MESSAGE ****/
.system-message, .warning-message {font-weight: bold;border: 1px solid #AAA;padding: 3px 5px;border-radius: 3px;-moz-border-radius: 3px;-webkit-border-radius: 3px;color: #666;background: #DDD;text-shadow: 0 1px white;}
.warning-message {border: 1px solid rgb(228, 130, 130);color: rgb(196, 14, 14);background: rgb(245, 174, 174);}
/**** END AWC SYSTEM WARNING MESSAGE ****/

/**** AWC FORUM OVERLAY ****/
/#awc-overlay {-moz-opacity: 0.5;-webkit-opacity: 0.5;background: #FFF;filter: alpha(opacity=50);min-height: 100%;left: 0;opacity: 0.5;position: fixed;top: 0;width: 100%;z-index: 999;}/
/**** END AWC FORUM OVERLAY ****/

/**** CUSTOM SONIC CURSOR ****/
body{cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonicc10.gif), auto;}
a:hover, a {cursor: url(http://i14.servimg.com/u/f14/17/68/63/00/sonic10.gif), pointer;}
/**** END CUSTOM SONIC CURSOR ****/

/**** FIXED ANNOUNCEMENTS ****/
div #fa_ticker_container {background: none repeat scroll 0 0 #000000;left: 0;margin: 0 !important;padding: 0;position: fixed !important;top: 0;z-index: 3;}
/**** END FIXED ANNOUNCEMENTS ****/

/**** TOGGLE QUICK REPLY BUTTON ****/
#quick_reply {display: none;}
/**** END TOGGLE QUICK REPLY BUTTON ****/

/**** PEOPLE VIEWING TOPICS STYLE ****/
.row:hover .LG-viewing {display: inline;}
.LG-viewing {visibility: hidden;}
.row:hover .LG-viewing {visibility: visible;}
/**** END PEOPLE VIEWING TOPICS STYLE ****/

/**** LG TOPIC LIKE STYLING ****/
.LGlike {background: #105289;padding: 3px;border-radius: 4px;color: #fff;font-size: 10px;font-weight: bold;text-shadow: -1px 0.5px #888;box-shadow: 1px 1px 1px #888;cursor: pointer;margin-right: 4px;}
/**** END LG TOPIC LIKE STYLING ****/

/**** AWC LIKE SYSTEM ****/
.LGlike {background: #105289;padding: 3px;border-radius: 4px;color: #fff;font-size: 10px;font-weight: bold;text-shadow: -1px 0.5px #888;box-shadow: 1px 1px 1px #888;cursor: pointer;margin-right: 4px;}
.LGvote { margin: 0 5px; }
.LGnovote {filter:Alpha(opacity=50);opacity: 0.5;cursor: default;box-shadow: none;text-shadow: none;}
/**** END AWC LIKE SYSTEM ****/

/**** HOVERING NAVIGATION BAR ****/
ul.linklist li a img {}
ul.linklist li a img:hover {position: relative;top: -2px;}
/**** END HOVERING NAVIGATION BAR ****/

/**** NAVBAR LINKS ON BANNER ****/
/.mainmenu{position:relative; top:-38px;}/
/**** END NAVBAR LINKS ON BANNER ****/

/**** NEW PM POP-UP ****/
#newPM {position: fixed;top: 5%;left: 10%;padding: 10px;font-size: 1.2em;background: #EEE;border: 1px solid #CCC;color: #666;text-shadow: 0px 1px #FFF;box-shadow: 5px 5px 15px #888;-moz-box-shadow: 5px 5px 15px #888;-webkit-box-shadow: 5px 5px 15px #888;}
/**** END NEW PM POP-UP ****/

/**** AUTOSAVE MSSG ****/
#saved_note {position: fixed;bottom: 10px;right: 10px;padding: 5px 10px;border: 1px solid;color: #c05;background: #E1EBF2;}
/**** END AUTOSAVE MSSG ****/

/**** LOGIN ICONS ****/
/.user_login_form input[type="password"], .user_login_form input[type="text"] {border: 1px solid #DDD;padding: 5px;border-radius: 0px!important;cursor: text;top: 0px;}/
/.user_login_form input[type="text"] {background: url(http://i.imgur.com/rzOu1.png)no-repeat;padding-left: 20px;}/
/.user_login_form input[type="password"] {background: white url(http://i.imgur.com/dlS8w.png)no-repeat;padding-left: 20px;}/
/#username {border: 1px solid #DDD;padding: 5px;border-radius: 0px!important;cursor: text;top: 0px;padding-left: 20px;background: white url(http://i.imgur.com/rzOu1.png)no-repeat!important;}/
/#password {border: 1px solid #DDD;padding: 5px;border-radius: 0px!important;cursor: text;top: 0px;background: white url(http://i.imgur.com/dlS8w.png)no-repeat;padding-left: 20px;}/
/**** END LOGIN ICONS ****/

/**** WALL AND FR MSSG NOTIFICATION ****/
#LGvms, #LGfrs {position: fixed;top: 20px;right: 20px;background: #137ADA;padding: 20px 40px;border: 1px solid #1652EC;font-size: 1.3em;border-radius: 3px;-moz-border-radius: 3px;-webkit-border-radius: 3px;box-shadow: inset 0 20px 20px #4392E7, -1px 5px 25px #193466;-moz-box-shadow: inset 0 20px 20px #4392E7, -1px 5px 25px #193466;-webkit-box-shadow: inset 0 20px 20px #4392E7, -1px 5px 25px #193466;}
#LGvms a, #LGfrs a {color: white;text-shadow: 0 1px blue;font-weight: bold;text-decoration: none;}
/**** END WALL AND FR MSSG NOTIFICATION ****/

/**** DIONs RECENT TOPICS WALL ****/
#rtopic {width:1180px;margin:12px auto;padding:0 4px 3px;background:#368AD2;font-family:Verdana;font-size:10px;font-weight:bold;text-align:left;border-radius:6px;}
#rtitle {height:25px;line-height:25px;color:#000000;font-size:12px;}
#rtable {width:100%;border-collapse:collapse;}
#rtable th {padding:2px 0;background:#000000;border:1px solid #000000;}
#rtable td {padding:2px;background:#000000;border:1px solid #000000;font-family:Verdana;}
.ddto {width:69%;}
.ddau {width:auto;}
/**** END DIONs RECENT TOPICS WALL ****/

/**** PREVIEW TOPICS ****/
.popupWrapper {background-color: rgba(70, 70, 70, 0.6);border-radius: 4px 4px 4px 4px;box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7);left: 300px;margin: 0 auto !important;max-height: 400px;max-width: 700px;overflow: auto;padding: 4px;position: fixed !important;top: 200px;}
/**** END PREVIEW TOPICS ****/

/**** QUICK VM ****/
#LGquickvm_form {padding: 5px;margin: 10px auto;max-width: 90%;background: #E1EBF2;border: 1px solid #98CBF5;border-radius: 3px;-moz-border-radius: 3px;-webkit-border-radius: 3px;box-shadow: 0 0 5px #A7BEF1;-moz-box-shadow: 0 0 5px #A7BEF1;-webkit-box-shadow: 0 0 5px #A7BEF1;}
#LGquickvm_bb {background: #D0E1F1;padding: 5px;margin-bottom: 5px;box-shadow: inset 0 0 8px #8BC1EC;-moz-box-shadow: inset 0 0 8px #8BC1EC;-webkit-box-shadow: inset 0 0 8px #8BC1EC;border-radius: 3px;-moz-border-radius: 3px;-webkit-border-radius: 3px;}
#LGquickvm_bb span {padding: 3px 10px;margin: 0 2px;display: inline-block;border: 1px solid #8CBFD3;border-radius: 3px;-moz-border-radius: 3px;-webkit-border-radius: 3px;font-size: 1.2em;color: #3C6ED8;text-shadow: 0 1px white;cursor: pointer;}
#LGquickvm_bb span:hover {box-shadow: inset 0 0 10px white;-moz-box-shadow: inset 0 0 10px white;-webkit-box-shadow: inset 0 0 10px white;}
#LGquickvm_message {width: 99%;height: 85px;border: 1px solid #CCC;border-radius: 3px;color: #666;-moz-border-radius: 3px;-webkit-border-radius: 3px;}
#LGquickvm_main {text-align: center;}
#LGquickvm_foot {height: 25px;}
#LGquickvm_foot span {background: #4C95E4;font-weight: bold;cursor: pointer;text-shadow: 0 1px #3557C2;border: 1px solid #477BC9;border-radius: 3px;-moz-box-shadow: inset 0 10px 10px #68B0E2;-webkit-box-shadow: inset 0 10px 10px #68B0E2;box-shadow: inset 0 10px 10px #68B0E2;-moz-box-shadow: inset 0 10px 10px #68B0E2;-webkit-box-shadow: inset 0 10px 10px #68B0E2;color: white;padding: 5px;margin: 3px;}
#LGquickvm_send {float: right;}
#LGquickvm_advanced {float: left;}
#LGquickvm_foot span:hover {text-shadow: none;box-shadow: none;-moz-box-shadow: none;-webkit-box-shadow: none;}
#LGquickvm_rubbish {display:none;}
/**** END QUICK VM ****/

/**** MOD CONTROLS BY EASYBB ****/
#mod_controls{margin-bottom: 10px;float:left;}
#tool_wrapper{position: absolute;border: 3px solid #414641;border-radius: 5px;background: #548B54;width: 200px;height: 90px;margin-left: 25%;margin-top:5px;}
#tool_wrapper .aa {padding-left:10px;}
#tool_wrapper .bb {padding-left:2px;}
#tool_wrapper .bb input,#tool_wrapper .aa input{width:160px;}
#tool_wrapper div{text-align:Center;}
/**** END MOD CONTROLS BY EASYBB ****/

/**** REQUIRED STYLES FOR TOOL TIP ****/
#aToolTip {position: absolute;display: none;z-index: 999;}
#aToolTip .aToolTipContent {position:relative;margin:0;padding:0;}
/**** END REQUIRED STYLES FOR TOOL TIP ****/

/**** DEFAULT TOOL TIP THEMES ****/
.defaultTheme {border:2px solid #444;background:#555;color:#fff;margin:0;padding:6px 12px;-moz-border-radius: 12px 12px 12px 0;-webkit-border-radius: 12px 12px 12px 0;-khtml-border-radius: 12px 12px 12px 0;border-radius: 12px 12px 12px 0;-moz-box-shadow: 2px 2px 5px #111;/* for Firefox 3.5+ */-webkit-box-shadow: 2px 2px 5px #111;/* for Safari and Chrome */box-shadow: 2px 2px 5px #111; /* for Safari and Chrome */}
.defaultTheme #aToolTipCloseBtn {display:block;height:18px;width:18px;background:url(../images/closeBtn.png) no-repeat;text-indent:-9999px;outline:none;position:absolute;top:-20px;right:-30px;margin:2px;padding:4px;}
/**** END DEFAULT TOOL TIP THEMES ****/

/**** NAVIGATION BOTTOM BAR ****/
#nav_bott {position: fixed;left: 0px;bottom: 0px;margin: 0px;padding: 0px;box-shadow: inset 0px -10px 20px #368AD2;background: #368AD2;width: 100%;height: 20px;z-index:997;}
.buttons {height: 20px;box-shadow: inset 0px -10px 20px #368AD2;background: #368AD2;cursor: pointer;float: left;padding: 2px 5px;text-align: center;width: 200px;font-family: Verdana;font-weight: bold;color: white;text-transform: uppercase;border-right: 1px solid white;text-shadow: 1px 0px black;z-index:998;}
.buttons:hover{background: #FFA007;box-shadow:none;}
.right{float:right !important;border-left:1px solid #fff;border-right:0px !important;}
.bottompop {z-index: 998;position: absolute;width: 300px;height: auto;overflow:hidden;border-top-right-radius: 4px;border-top-left-radius: 4px;border: 2px solid black;background: white;bottom: 25px;box-shadow: 0px 0px 13px black;}
.searchform {text-align: center;padding-top: 0;}
form .search{width: 260px;height: 30px;border: 1px solid #BEBEBE;box-shadow: inset 4px 4px 8px rgba(167, 167, 167, 0.68);margin-top: 12px;}
.gosearch{border: 1px solid #999;background: #C9C9C9;padding: 2px 16px;border-radius: 4px;box-shadow: inset 0px -12px 10px #949494;font-size: 14px;text-transform: uppercase;}
#userpopup{left:5px;display:none;}
#searchpopup{display:none;left:640px;}
#userpopup ul li{float:left;margin: 3px 0;text-align: left;white-space: nowrap;width: 50%;}
#userpopup ul {list-style-type:none;float:right;}
#prefspopup{left:420px;overflow:visible;bottom:-300px;}
#notifspopup{left:210px;display:none;text-align:center;}
.status{margin-left:60px;}
.popinp{width: 220px;margin-right: 10px;margin-top: 5px;height: 25px;margin-top: 12px;}
#user_avatar img{width:50px;height:50px;float:left;padding:5px;}
#submit{width: 50px;padding: 4px;text-align: center;display: block;background: #BBB;margin: 2px 0px;border: 1px solid #99A9FA;border-radius: 3px;box-shadow: inset 0px -10px 20px #707070;float:left;}
.notifbutt{background: #0FA752;width: 200px;display: block;height: 25px;border-radius: 3px;box-shadow: inset 0px -10px 20px #027723;border: 2px solid #000AFF;margin:5px auto;}
.statmess{float: left;width: 160px;padding: 8px 10px;display:none;}
#error{color:#ff0000;}
#statsuccess{color:#00ff00;}
/**** END NAVIGATION BOTTOM BAR ****/

Could anyone please help me with this? Thanks in advance. If you need an account, please PM me.

EDIT: I'll be back lateron tonight (couple of hours). I'm living in the Paris time zone. This is 'rush hour' for me at home Wink TY!
avatarGuest
Wed 01 Oct 2014, 23:57
Update:

Ok, I managed to solve some of the issues and I'm able to enter the chatbox now, so that's fixed. I can see differences in colors between IE and FireFox (in Chrome it does the same as in FireFox). IE shows the colors as they were before and I'd like to see them restored in the other browsers (yes I cleared cookies in both browsers). Also, hovering over the chat button showed an orange color before, and now it doesn't do that any longer.

IE: https://2img.net/h/oi58.tinypic.com/ezmvrb.jpg
FireFox: https://2img.net/h/oi57.tinypic.com/1rt308.jpg

Sound in chat is not working.
When a user "Appears offline" I expected the "Change Away Color" would kick in, but instead it made the user disappear from the list, both in IE as well as in FireFox.

FYI, there are several plug-in codes which hold [panda=js] within the code. I found this to be incorrect. Maybe someone can moderate that; it confused me.
avatarGuest
Thu 02 Oct 2014, 19:24
Update:

I solved the issue with sound. It seemed to be a missing plug-in in FireFox itself. I found a FireFox notification totally at the bottom left side of my homepage when I was logged into chat. I found out the "Windows Media Player Plug-in" was missing. I had to install it manually following procedures on:

https://support.mozilla.org/en-US/kb/play-windows-media-files-in-firefox

Also, FireFox wanted to use QuickTime next to play the sound. I had to go to:

http://www.apple.com/quicktime/download/


and install it before I finally was able to hear sound.
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Fri 03 Oct 2014, 10:22
Just sounds like css issues, make sure all have !important; declarations after them to make IE obey you lol.

[panda=js] is a bbcode for posts in avacweb, they aren't part of the code so you should remove that, I don't know why it would be in your code if you copied straight from the code boxes.

And yes when a user appears offline - they aren't in the online list at all. That's what appearing offline is, looking like your offline lol and offline in that chat is not in the online list.
avatarGuest
Fri 03 Oct 2014, 13:11
LGforum wrote:[quotelink="http://www.avacweb.com/t2198-problems-during-upgrading-awc-from-181-to-191#21084"]Just sounds like css issues, make sure all have !important; declarations after them to make IE obey you lol.

[panda=js] is a bbcode for posts in avacweb, they aren't part of the code so you should remove that, I don't know why it would be in your code if you copied straight from the code boxes.

And yes when a user appears offline - they aren't in the online list at all. That's what appearing offline is, looking like your offline lol and offline in that chat is not in the online list.

Right! So, first of all, thanks for all the good "lols-'n-laughs" I've given you. You're welcome! Wink lol TGIF!

Now, back to business. First of all, I guess you're right my only problems left are CSS related. I'll be looking into that this weekend and try to share my new CSS on an external webhost, awaiting your decision to share CSS files on your AWC server. There's difference in layout between IE and FireFox though. lol

AWC Mobile:
It seems AWC on mobile devices, like my brick, runs way out of boundaries when opened. I have to scroll half a mile down to be able to see the SEND button and I can see only half of the whole chatbox; the left side is off screen and I can't scroll there. This is bad, since > 65% of the users are mobile users. lol

Away:
In prior versions I remember people could chose the "Away" status from the user list. It has been replaced by a command (/away), which is not working on my board. Either nothing happens, or "the command does not exist" box appears. lol

Question 1: Is it my board or is it the command not working properly?

Appear Offline:
People can now stay hidden in chat which sounds like a spy gadget or stalk gadget to me. I just know they're gonna like it (and use it in inappropriate ways)! lol

Question 2: How can I disable this feature for regular members?

Inactivity:
I noticed the "Away" status does not kick in after a certain length of inactivity. Instead, members are just being kicked off chat without prior notice (maybe while reading). lol

Question 3: I don't want members to be kicked off chat if they didn't choose to. How can I cancel automation? If this can't be done, wouldn't it be more nice to let them know in a pop-up or countdown box what they're about to face?

Question 4: How can I set the time-out? I think a couple of minutes of inactivity in chat is rather normal to most of us. I want to be able to set the time-out myself on my board.

BBCodes in Plug-Ins:
And last but not least, lol ...

[panda=js] is a bbcode for posts in avacweb, they aren't part of the code so you should remove that, I don't know why it would be in your code if you copied straight from the code boxes.

Thanks for correcting the plug-ins. Smile lol
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Fri 03 Oct 2014, 21:41
Question 1 answer:
The away feature is removed when the appear offline feature is enabled. The fake-offline status replaces the away feature in the script. So they can't both exist. To have the away command or button, the away feature must exist, and for the away feature to exist, the appear offline feature must not. Which leads us on to question 2.

Question 2 Answer:
You can disable it in your AWC config.

Question 3:
Disabling the timeout has been an option in the config since the first release of AWC. I don't think I've removed it so it should still be in the config options. If I have removed it I apologise.

Question 4:
You can't unfortunately. This is set by FM and AWC can't effect it. It's either on or off.

This post will help understand the appear offline option: http://www.avacweb.com/t532-avacweb-chat#19958
And the AWC site in general should help you understand the config and its features.
Sponsored content