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.

Chatbox Problems...

View previous topic View next topic Go down

Solved Chatbox Problems...

Post by J0k3R^ on May 15th 2014, 8:11 pm

Hello everyone,
im facing some problems with my chat lately and i dont know what to do.
First of all, when i press inspect element on my forum, it appears these codes without having any chatbox there lolLaughing




Secondly, im trying to use some codes for a popup chatbox. it used to work but lately it doesnt. is it possible to getting "blocked" somehow from another js code?
the codes im using are these:

Spoiler:

js

Code:
jQuery(document).ready(function(){
jQuery('body').append('<span id="chatButton">Συνομιλία</span><div id="chatBox"><iframe src="/chatbox/index.forum"></iframe></div>');
jQuery('#chatBox').hide();
jQuery('#chatButton').css('position', 'fixed').css('right', '0px').css('bottom', '0px');
jQuery('#chatBox iframe').css('position', 'fixed').css('right', '10px').css('bottom', '45px');
if(!document.getElementById('logout')){
jQuery('#chatButton').hide();
jQuery('#chatBox').hide();}
jQuery('#chatButton').click(function(){
jQuery('#chatBox').fadeToggle();
});
});


css

Code:
#chatButton{
box-shadow:0px 10px 6px rgba(255,255,255, 0.2) inset, 0px -10px 6px rgba(0,0,0, 0.2) inset;
padding:10px 20px 10px 20px;
background-color:#000000;
border:1px solid #146;
font-weight:bold;
font-size:10px;
z-index:999;
color:#fff;
}
#chatButton:hover{
cursor:pointer;
color:#ff0000;
background-color:#000000;
}
#chatBox iframe{
z-index:999;
border:none;
height:50%;
width:65%;
}
#chatButton{
bottom:20px !important;
}
#chatBox iframe{
bottom:60px !important;
}



Thanks for your helpNeutral:rose:

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: Chatbox Problems...

Post by Hagoromo Otsutsuki on May 16th 2014, 12:21 am

i will recommend searching the forum foe similar problems. Smile

Hagoromo Otsutsuki
Forumember

Male Posts : 528
Reputation : 21
Language : English
Location : Heaven

http://naruto-omniverse.forumotion.com/

Back to top Go down

Solved Re: Chatbox Problems...

Post by J0k3R^ on May 16th 2014, 6:42 pm

BUMP

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: Chatbox Problems...

Post by J0k3R^ on May 17th 2014, 6:29 pm

Bump

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: Chatbox Problems...

Post by Sir Chivas™ on May 17th 2014, 6:49 pm

Hi,

Save all of the JavaScripts you have, and just place the chat-box's to see if other scripts are causing this problem.

Now, this is a edited theme (templates), correct?

Regards,
Sir Chivas.

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: Chatbox Problems...

Post by J0k3R^ on May 17th 2014, 9:14 pm

i have a lot of javascripts.
u mean to disable one-by-one to see the problem?

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: Chatbox Problems...

Post by SLGray on May 17th 2014, 10:29 pm

Yes. Remove them all and then add them back one by one.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36697
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Chatbox Problems...

Post by Luffy on May 17th 2014, 11:24 pm

@J0k3R^ wrote:i have a lot of javascripts.
u mean to disable one-by-one to see the problem?
First keep a save of them so you don't lose them and then remove them and leave only the chatbox to see if the js error. Then add them back one by one and check the chat if something changes.

Luffy
Manager
Manager

Male Posts : 4246
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Chatbox Problems...

Post by Van-Helsing on May 18th 2014, 12:35 am

Try the JS Console to make a debug and find the errors in the scripts.

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: Chatbox Problems...

Post by Kite Trojan on May 18th 2014, 1:09 am

Try checking all of your javascript codes and figure out which one could affect the chatbox.

Kite Trojan
Forumember

Male Posts : 823
Reputation : 19
Language : English

http://galacticda.forumotion.com/

Back to top Go down

Solved Re: Chatbox Problems...

Post by J0k3R^ on May 18th 2014, 6:28 am

Is it the same if i remove placement (e.g in all pages) instead of removing the codes? Smile

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: Chatbox Problems...

Post by Sir Chivas™ on May 18th 2014, 4:58 pm

No, it's not the same, mate. I know sucks because you probably do have a lot of scripts, but we have to know which one is interfering with one another.

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: Chatbox Problems...

Post by J0k3R^ on June 2nd 2014, 6:58 am

Hi, i havent these problems anymore since i changed my forum's theme. Smile

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: Chatbox Problems...

Post by Jophy on June 3rd 2014, 10:30 am

Since this thread appears to be solved, this topic is moved.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

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