Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

where does cometchat code go?

10 years 1 month ago
Licenses:
JomSocial Active AdAgency Active Socialize Expired

I have cometchat and have the same question - where does the code go in socialize template?

if you put it in the head in the custom code where the old one goes, it sends a headers already sent error and crashes the chat

where EXACTLY does that code go? there are 4 options, which one do we choose?

thank you for any help

10 years 1 month ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Kimberley,

Please you explain more, what code do you mean?

thank you

10 years 1 month ago
Licenses:
JomSocial Active AdAgency Active Socialize Expired

Hi Dimas - sorry for the missing info. :D

<div id="cometchat_embed_synergy_container" style="width:300px;height:350px;" ></div><script src="/plugins/cometchat/js.php?type=core&name=embedcode" type="text/javascript"></script><script>var iframeObj = {};iframeObj.module="synergy";iframeObj.style="min-height:350px;min-width:300px;";iframeObj.src="/plugins/cometchat/cometchat_popout.php"; if(typeof(addEmbedIframe)=="function"){addEmbedIframe(iframeObj);}</script>

that's the code for the new synergy template

right now I have <link type="text/css" rel="stylesheet" media="all" href="/plugins/cometchat/cometchatcss.php" />
<script type="text/javascript" src="/plugins/cometchat/cometchatjs.php" charset="utf-8"></script> in the custom code in the top slot After <head>

that causes the chat room to show up in the bottom right corner of the template and the chat area opens on top of the content, which is perfect.

When I put the new code in After <head> I get an error - cannot redeclare headers

I'd like it to show where it already is - just not sure how.

thanks a lot for any help

10 years 1 month ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Kimberley,

Actually cometchat should provide the plugin for that script, and I think they already provided it.

Please you contact cometchat for further information, this issue not socialize / jomsocial issue, this issue related with cometchat.

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW