The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

FM Chat Box Codings

View previous topic View next topic Go down

Solved FM Chat Box Codings

Post by Devan on March 10th 2013, 3:15 am

I checked and the official topic for the fm pop up chat is unviewable therefore I am requesting a pop up chat box. I have tried avac and it does not seem to work. I would not mind if someone can provide me with the latest fm chat. Thank You


Last edited by Devan on March 11th 2013, 12:09 am; edited 1 time in total

Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: FM Chat Box Codings

Post by Sir Chivas™ on March 10th 2013, 4:21 am




Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: FM Chat Box Codings

Post by LGforum on March 10th 2013, 11:54 am

Avacweb chat does work - hence why it is being used. If it doesn't work on your forum it is a fault on your part; either installing it wrong, or you have other javascripts which are hitting errors.
You just need to check your browsers error console to look for the error, or begin removing javascripts one by one to find the troublemaker.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: FM Chat Box Codings

Post by Devan on March 10th 2013, 11:10 pm

Chivas thank you for that information and LG I tried what you said and it does not seem to fix the error. And of course the error is on my part but I am unsure what the problem is. I just have to add the java code? Nothing else?

And does the avac chat placed in the same place as fm chat? (popup)

Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: FM Chat Box Codings

Post by LGforum on March 10th 2013, 11:35 pm

Yes avacweb chat is a popup chat, with 1 on 1 conversations, chatrooms and the lot, and yeah it's literally only the JavaScript that's needed.

Disable all of your other javascripts, leaving only avacweb chat enabled, it should then work. Then enable your other javascripts one by one until avacweb chat stops working - then you've found the one causing the issue.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: FM Chat Box Codings

Post by Devan on March 10th 2013, 11:41 pm

Okay so I did what you suggest but there are no signs of the avac chat

Do you think it may be something in css?

Code:
01.var avacweb_chat_config = {
02.  version : '1-7',
03.  new_chat_title : 'AvacWeb Chatbox',
04.  light_up_color : 'orange',
05.  auto_log_in : 'open',
06.  archives : 1,
07.  sound_file : 'http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3',
08.  stylesheet : 'http://chat.avacweb.net/avacweb_chat.css',
09.  disable_timeout : 0,
10.  allow_private_messaging : 1,
11.  allow_user_resize : 1,
12.  message_hook : [],
13.  user_hook : [],
14.  commands : {},
15.  events : {},
16.  add_event : function(type, fn) {
17.      type = /^on/.test(type) ? type : 'on' + type;
18.      type in this.events ? this.events[type].push(fn) : this.events[type] = [fn];
19.  }
20.};
21.document.write('<script type="text/javascript" src="http://chat.avacweb.net/v' + avacweb_chat_config.version + '.js" id="achat_script"></script>');

is tht the right code

Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: FM Chat Box Codings

Post by LGforum on March 10th 2013, 11:47 pm

Yes that's the right code except the fact you've included the line numbers. Presumably you didn't include them in the actual JavaScript file you made?

Unlikely to be your CSS. Unless you out the code you posted above in your CSS.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: FM Chat Box Codings

Post by Sir Chivas™ on March 10th 2013, 11:54 pm

So,

The code would be:
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>');



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: FM Chat Box Codings

Post by Devan on March 10th 2013, 11:58 pm

Ha! I see it blink and then goes away...

The numbers seemed to be half the problem..after I tried disabling the other javas too but still it blinks when you refresh and goes away. Tried with Both IE10 and Chrome Latest Version.


Edit: Nvm, I had turned of Forumotion Chat earlier..

Solved

Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: FM Chat Box Codings

Post by Sir Chivas™ on March 11th 2013, 12:13 am

Since this has been marked solved...

Topic Solved & Locked



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum