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)
Some questions/Problems Vote_lcapSome questions/Problems Voting_barSome questions/Problems Vote_rcap 
Mr.Easybb (1587)
Some questions/Problems Vote_lcapSome questions/Problems Voting_barSome questions/Problems Vote_rcap 
Bloodbath (745)
Some questions/Problems Vote_lcapSome questions/Problems Voting_barSome questions/Problems Vote_rcap 
Rukiafan (533)
Some questions/Problems Vote_lcapSome questions/Problems Voting_barSome questions/Problems Vote_rcap 
Dom (513)
Some questions/Problems Vote_lcapSome questions/Problems Voting_barSome questions/Problems Vote_rcap 
puppycheese (446)
Some questions/Problems Vote_lcapSome questions/Problems Voting_barSome questions/Problems Vote_rcap 
pedro (330)
Some questions/Problems Vote_lcapSome questions/Problems Voting_barSome questions/Problems Vote_rcap 
Neymar (301)
Some questions/Problems Vote_lcapSome questions/Problems Voting_barSome questions/Problems Vote_rcap 
Hitsu (281)
Some questions/Problems Vote_lcapSome questions/Problems Voting_barSome questions/Problems Vote_rcap 
Flora (275)
Some questions/Problems Vote_lcapSome questions/Problems Voting_barSome questions/Problems Vote_rcap 


Some questions/Problems

avatarJigoku88
Status : No status yet...

Posts : 14
Join date : 2014-12-09
Wed 10 Dec 2014, 01:06
Hello,

First of all, thanks for this chatbox. It's so better than Forumotion's (Forumactif in France) Chatbox
I attend several problems/errors on this chatbox because i know how to follow tutorials but i'm a crap in coding XD

1=>I have the same problem as this guy : http://www.avacweb.com/t2149-question-for-the-me  (i'm french as well xD) so i would to know the answer if i can do it.

2 => I have this problem : https://2img.net/image.noelshack.com/fichiers/2014/50/1418172315-ecriture-moche.png   And because of that , reading several lines is just...unreadable. So is there a solution in CSS or in the Avac Config to do ? Thanks to Samantha

3 =>Smilies doesn't work. So i found a new code for Smileys and the one to hide the "Smilies" Button. in this topic : http://www.avacweb.com/t1793-problem-smileys-arent-displayed-on-avacweb-chat  (Thanks to _Twisted_Mod_'s for the code). Smileys  work correctly.  and the code to hide Smilies too...At Beginning. After adding new code after the smileys...it just didn't work. So if there's a solution to fix that please.

4 : I found a code to fade the box (thx too) here : http://www.avacweb.com/t1303-plug-in-add-animation-to-opening-closing-the-chat (Thx to LG Forum & Hitsu) : The code works fine but...the button of chatbox stays on Orange (didn't find how to change the colors yet ^^' ) even if i already watched the new message. It doesn't come back to blue. So if there's a solution there too. Thx to Samantha

Important thing too : I'm on PHPBB2
I can give you my javascript code and CSS stylesheet (AWC part) if there are necessary.

Best regards
avatarGuest
Wed 10 Dec 2014, 09:35
Getting #2 answered is relatively simple using this topic: http://www.avacweb.com/t2241-problemin-lines
avatarJigoku88
Status : No status yet...

Posts : 14
Join date : 2014-12-09
Wed 10 Dec 2014, 10:49
Thanks but...

It doesn't work. The problem is IN the Avacweb chat. the problem is not in the chatbox by forumactif. Everything's fine in forumactif.

I tried all the things in the topic you gave me

Edit : Found. It works. Thank you Smile
Just i got already a "#chatbox" Attribute so everything's ok now.

#2 is okay !
avatarGuest
Wed 10 Dec 2014, 12:57
As for #4 I'm not sure if you mean the bottom right CHAT button on your forum or the tabs, precisely ...

For the tabs you could play a little with this code:

Code:
[panda=css]
/**** AWC Active Tab BG Color Override ****/
.achat_tab.selected {background: #FF9900!important;}
/**** END AWC Active Tab BG Color Override ****/

As for the button itself, here's what you COULD do. This is a very complicated example and raw from one of my sites, but you can alter it to your liking. What's most important is that you use "#avacweb_chat_button" selector and the "!important" declaration, the rest is all up to you:

Code:
[panda=css]
/**** AWC CHAT Button Position Font and Color Override ****/
#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 CHAT Button Position Font and Color Override ****/
avatarJigoku88
Status : No status yet...

Posts : 14
Join date : 2014-12-09
Sat 13 Dec 2014, 00:28

Sorry for the delay

Yeah so i mean the bottom right button. not the tabs

For your button, thanks. but yet, it doesn't work on my forum don't know why. There's no other #avacweb_chat_selection, even if i try something with "inspect element" and then copy and paste the button i've done in my CSS stylesheet.
So. It's on my side but i've got no idea what the problem is lol

Thank you for your help.
avatarGuest
Sat 13 Dec 2014, 00:46
OK, I take it you're using the latest AWC version, right? Did you check this little guy right here: http://chat.avacweb.net/avacweb_chat_2.css for any hits on that button of yours? You may find it here, and if you do, you can use the !important in your own CSS. I bet it 'll be the #avacweb_chat_button.newmsg you're aiming for, ikr?
avatarJigoku88
Status : No status yet...

Posts : 14
Join date : 2014-12-09
Sat 13 Dec 2014, 17:51
Everything's good now !

I modified the basic CSS and then reuploaded it on my dropbox and using it perfectly !

4 is done ! Thx !
avatarJigoku88
Status : No status yet...

Posts : 14
Join date : 2014-12-09
Wed 24 Dec 2014, 00:56
An other question :

Some members on my forum say that they automatically disconnect from the chat after a few seconds when they try AWC. Is there a solution for that ?

Thank you for the answers !
avatarNelly Nyos
Status : No status yet...

Posts : 37
Join date : 2014-07-26
Thu 25 Dec 2014, 20:14
Jigoku88 wrote:[quotelink="http://www.avacweb.com/t2257-some-questions-problems#21552"]An other question :

Some members on my forum say that they automatically disconnect from the chat after a few seconds when they try AWC. Is there a solution for that ?

Thank you for the answers !

I precise : It's Only in Firefox
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Fri 26 Dec 2014, 10:23
After a few seconds? That's very strange. I use the chat in Firefox myself sometimes and have never had that issue. Can you give me any more specifics of the situation in which that's happening?
avatarGuest
Fri 26 Dec 2014, 10:44
I've seen that, and in fact I still do. It's because of the ARCHIVE MODE they're in. When the Archive is switched off, they should be able to stay in chat longer. Wink
Archive mode 's hampering, LG. Perhaps this has got something to do with a DOM change, maybe? I thought someone said you were working on that? Hmm... must have been mistaken.
avatarNelly Nyos
Status : No status yet...

Posts : 37
Join date : 2014-07-26
Wed 31 Dec 2014, 00:41
So...;My forum is in phpbb3, and this bug is here since there last update off the chatbox of forumotion (I dont say the utility off this maj bug many name class off div in the chatbox are renamed and many popular javascript chat box are bugged with this update...And Forumotion did not annonciement for this update, It has just learned in a post on the staff of a French forum ), I've the problem in avacweb too
I've have the bug in ARchives: on and ARCHIVES: off
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Thu 01 Jan 2015, 11:26
Hmm okay, yeah I noticed there had been a few changes to the chat by FM but didn't spot this issue. I'll take a look into it and if I find the fix, I'll update all currently available AWC versions so your chat boxes are back to normal.
avatarJigoku88
Status : No status yet...

Posts : 14
Join date : 2014-12-09
Mon 26 Jan 2015, 11:57
Hello !
Me again ! Sorry for bothering you

Hum... My chatbox don't actualize anymore for some of my members, whatever the navigator (Firefox, Chrome, Opera) and... for me it's just works on Chrome on present day. (before all worked)
I've got this problem since few days. I'm not using my own CSS but the one you give with the install.
So am i the only one who has this problem with the Chatbox... or did i missed something?

Thanks for the help.
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Mon 26 Jan 2015, 22:09
Actualise? You mean it doesn't show up? That's a serious issue and there will almost definitely be a descriptive message in the error console that can help us.
avatarJigoku88
Status : No status yet...

Posts : 14
Join date : 2014-12-09
Mon 26 Jan 2015, 22:15
I mean it's just like the "Lecture" button was always off.
I put a message, it actualise. I don't, it didn't.
Where can i find this console ?
BloodbathBloodbath
Status : No status yet...

Posts : 745
Join date : 2013-05-31
Age : 28
Tue 27 Jan 2015, 09:55
I have found the cause of this problem.

AvacWeb Chat uses the "/chatbox_actions.forum?archives=[0|1]&mode=refresh&_=[date]" page to update the chat with new messages.
USUALLY THIS WILL WORK JUST FINE. However, due to some issues caused by FORUMOTION, and NOT AVACWEB CHAT; usually the internal request to the page returns a HTTP Response Status of 200 -- this is the universal standard for "OK", signifying that the request executed perfectly fine and that new content (i.e. new messages) is available. Instead, forumotion will sometimes return a HTTP Response Status of 304 -- "not modified" specifies that the document has not changed. You can look up HTTP headers here.

I am not entirely sure how AWC handles such response statuses but I will look into it and possibly fix this when I am at home. More updates will follow.
avatarGuest
Tue 27 Jan 2015, 10:19
Thanks @Bloodbath. Good to see someone on the case! What we saw happening further in certain tabs is that messages made by the /me command for instance were not cleaned up and were stuck in the queue to go out. Other messages sent between them were cleaned out of view and the lines made by commands were just piling up. Is this also due to this error?

I also reported this little 'bug' in this thread in the first few hours after LG was done with the latest update: http://www.avacweb.com/t2286-keep-getting-logged-out-a-few-sec-after-login It's been annoying to everyone in chat ever since, so like 4 days now. I really felt from the first minute it would have been on the FM side rather than AWC, believe me. If you find the solution to it, please make sure LG integrates this in the new version as well. Thank You! Smile

This bug you found may be at the base of all the FM members experiencing chat box problems in their standard FM chat as well (the refresh issue). Wink
BloodbathBloodbath
Status : No status yet...

Posts : 745
Join date : 2013-05-31
Age : 28
Tue 27 Jan 2015, 10:30
I am reading through minified AWC code right now and here's what I found: if I manually check the HTTP status with an if-clause and manually issue a full refresh, it'll work. It can either be forumotion or AvacWeb Chat at this point, actually, and I will test it a lot more right now. I'll keep you updated.
BloodbathBloodbath
Status : No status yet...

Posts : 745
Join date : 2013-05-31
Age : 28
Tue 27 Jan 2015, 11:06
Update: I have yet to identify the faulty bit of code in AWC's source, but I have created a temporary fix for the issue

I am more and more inclined to believe that it actually is an issue within AWC, but I will work on this more.
Mr.EasybbMr.Easybb
Status : Love this site, that's why I'm back each day again... lol Samantha's co-owner now. Well deserved!

Posts : 1587
Join date : 2013-01-04
Tue 27 Jan 2015, 20:28
Which way are the post I was working on this the other day working on some stuff for it for later uses and I kept getting 304. Then I fixed it somehow I can look it back up if need be
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Wed 28 Jan 2015, 00:52
I don't believe it is a mistake by FM. Im pretty sure they've made this response status change on purpose in an attempt to make their chat a bit more efficient. If there have been no new messages posted then the request sends a not modified status - makes perfect sense really.

However, this should have been combatted in the most recent AWC update I just did. If AWC receives no response data then it will not refresh - because this means there have been no new messages posted so there's no meed to refresh. If AWC does receive response data then it will refresh as normal. I tested this thoroughly (or so I thought) on a test forum so if anyone can provide more details as to the situation in which this is still causing issues it would be helpful, thanks!

If you all put the 'disable_timeout' config option to 1 for now then it should get rid of the problem as a temporary fix.
avatarJigoku88
Status : No status yet...

Posts : 14
Join date : 2014-12-09
Thu 29 Jan 2015, 00:53
Thx for all the help.

But by saying "disable Timeout" config option to 1 .... You mean we all have to tick it in the options of the box ? Or is there a specific code to do in the javascript ?
avatarGuest
Thu 29 Jan 2015, 05:18
Jigoku88 wrote:[quotelink="http://www.avacweb.com/t2257p15-some-questions-problems#21946"]Thx for all the help.

But by saying "disable Timeout" config option to 1 .... You mean we all have to tick it in the options of the box ? Or is there a specific code to do in the javascript ?

@jigoku88 Remember the standard AWC JS config found @ http://chat.avacweb.net/install ?

Code:
[panda=js]    var avacweb_chat_config = {
      version : '1-9-1',
      new_chat_title : 'AvacWeb 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 : {},
      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 CONFIG   

So, just add it somewhere in between there, like this:

Code:
[panda=js]    var avacweb_chat_config = {
      version : '1-9-1',
      new_chat_title : 'AvacWeb 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],
      disable_timeout : 1, //<--------- add this extra line to it
      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 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 CONFIG   

Did you notice line #11? That sould be all. I haven't really been able to test it in a busy chatbox yet, but it seems to be ok after having added it.
avatarJigoku88
Status : No status yet...

Posts : 14
Join date : 2014-12-09
Thu 29 Jan 2015, 09:05
Ok so i have to add it: Thank you again Samantha. You're my guardian angel lol

EDIT : Tested on Opera, doesn't make anything : /
Show you there : https://2img.net/image.noelshack.com/fichiers/2015/05/1422524902-actualisation.png

I will put my code in order to see if there's something wrong in it

Code:
[panda=js]var avacweb_chat_config = {
  version : '1-9-1',
  new_chat_title : 'Serveur Mumble de FO',
  stylesheet : 'http://chat.avacweb.net/avacweb_chat_2.css',
  allow_private_messaging : 0,
  allow_user_resize : 0,
  allow_appear_offline : 0,
  commands: {
me: false,
 kick: {
  run: function(text){
  return true;
  },
  staff: true
 }
},
  custom_placement : null,
  can_open_tabs : [1,2,21,34],
disable_timeout : 1,
  tabs : {
  "RP1" : [],
    "RP2" : [],
    "RP3" : [],
    "LA TAVERNE" : []
 },


  // 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 CONFIG

window.avacweb_chat_translation = {
  'log in' : 'Connexion',
  'log out': 'Déconnexion',
  'chat'  : 'Chat',
  'on'    : 'Allumé',
  'off'    : 'Éteint',
  'close'  : 'Fermé',
  'smilies': 'Smilies',
  'colors' : 'Couleurs',
  'send'  : 'Envoyé',
  'archives' : 'Archives',
  'message': 'Message',
  'refresh': 'Actualiser',
  'you are disconnected. click log in to join the chat.' : 'Cliquez pour rejoindre la communauté.',
  'user options' : 'Options',
  'color' : 'Couleur',
  'bold' : 'Gras',
  'underline' : 'Sous-ligné',
  'strike' : 'Tracé',
  'italic' : 'Italique',
  'private message' : 'Message privé',
  'loading smilies...' : 'Chargement...',
  'this command is not available or does not exist' : 'Cette commande n\'existe pas',
  'user not found' : 'Utilisateur introuvable',
  'view profile' : 'Voir profil',
  'send private message' : 'Envoyer un message privé',
  'kick from chat' : 'Kicker',
  'remove from moderators' : 'Retirer modération',
  'send friend request' : 'Envoyer une demande d\'ami',
  'add to moderators' : 'Ajout de modération',
  'away' : 'Absent',
  'reading' : 'Lecture',
  'start private conversation' : 'Conversation privée',
  'conversation with' : 'Conversation avec',
  'public' : 'HRP',
  'started by' : 'Démarrer par',
  'add a new tab' : 'Ajout d\'un onglet',
  'private message' : 'Message privé',
  'sorry this command is only for staff.' : 'Commande réservée au staff.',
  'no banned users to display.' : 'Aucun utilisateur banni',
  'tab names must be more than 2 characters.' : 'Deux caractères minimums pour le nom.',
  'choose a name for the new tab' : 'Rentrer un nom de chat',
  'newest first' : 'Nouveau en premier',
  'merge messages' : 'Assembler message'
};

$(function(){$('a[href^="/chatbox"]').click(function(event){event.preventDefault();avacweb_chat.settings.toggle('open');;});});
Sponsored content

 • Previous Topic • Next Topic