Javascript chat help
Javascript chat help
Hello,
I want to enable a chat service called sopt.im on my forum. I received the following javascript code from their site but it doesn't seem to work for me:
Can you please help me? Thanks!
I want to enable a chat service called sopt.im on my forum. I received the following javascript code from their site but it doesn't seem to work for me:
- Code:
<div id="spot-im-root"></div><script>(function(e,t,n){function r(){var e=t.createElement("script");e.type="text/javascript";e.async=true;e.src=n;t.body.appendChild(e)}e.spotId="43412e12e32e16e31d73bc8085eb2b81";e.spotName="lobby";e.type="FLOATING";e.template="";e.position="BOTTOM_LEFT";e.size="LARGE";e.allowDesktop=true;e.allowMobile=true;e.containerId="spot-im-root";r()})(window.SPOTIM={},document,"http://www.spot.im/embed/scripts/launcher.js")</script>
Can you please help me? Thanks!
e369258147- New Member
- Posts : 1
Reputation : 1
Language : Hebrew
Re: Javascript chat help
Hi 
I believe that's not the complete script. Did they not provide a CSS code?
Regards,
Pizza Boi

I believe that's not the complete script. Did they not provide a CSS code?
Regards,
Pizza Boi
Re: Javascript chat help
Hello,
You should be able to add this to the widgets.
Go to Administration Panel > Modules > Forum widgets
Choose the following for the settings and save :

Next scroll down and click 'create a widget'
Fill in the titles, and make sure to tick 'no' for 'use a table type', then paste your code into the textarea and save.
The final thing you need to do is drag and drop the widget into the right column and save
You should be able to add this to the widgets.
Go to Administration Panel > Modules > Forum widgets
Choose the following for the settings and save :

Next scroll down and click 'create a widget'
Fill in the titles, and make sure to tick 'no' for 'use a table type', then paste your code into the textarea and save.
The final thing you need to do is drag and drop the widget into the right column and save

Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum