News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Live chat

Started by Harad, May 09, 2018, 08:09:30 AM

Previous topic - Next topic

Harad

Hello everybody.

I've got a problem, what I can't solve. (I know, I'm a beginner :D)

In my forum site, I want to use a live support chat. This live chat is from the hxxp:tawk.to [nonactive] site.
So, my problem is the next. I don't know, how can I use that. (on my forum) :D Because I tried some mods (for example Global headers footers), but they didn't work.
Could somebody give me an idea, which solves my problem?
Or somebody knows the full way to make this thing?

Thanks in advance.

(And I hope that I opened this topic to good place :D)

Harad

PS,

<script type="text/javascript">
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src='hidden :)';
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore('hidden');
})();
</script>


This is the script, what I have to operate :D

vbgamer45

In your themes index.template.php you would place the code

It needs to be escaped though otherwise it will break your template.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harad

Quote from: vbgamer45 on May 09, 2018, 12:12:18 PM
In your themes index.template.php you would place the code

It needs to be escaped though otherwise it will break your template.

I've tried it, but it always writes some kind of error :/

vbgamer45

Attach your index.template.php file here
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harad


vbgamer45

Attached updated file
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harad

Quote from: vbgamer45 on May 09, 2018, 01:48:35 PM
Attached updated file

Thank you for try, but it doesn't work :(

vbgamer45

It's in the head tags.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harad

#9
Quote from: vbgamer45 on May 09, 2018, 01:55:05 PM
It's in the head tags.

I see. The problem is that it doesn't appear on my forum :/ otherwise it appears when I paste this script to a html page code (an action page, but it appears just on that page :/)

vbgamer45

I would contact the chat scripts support team to see if they can figure it out
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Harad


Advertisement: