<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cometchat integration with share in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cometchat-integration-with-share/m-p/256264#M209394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been working with cometchat support and they claim if i use a cookie with the userid from the alf_authority table, it will work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so, can anyone explain how I can get the following to work and in which alfresco share file I should use it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;var userid='USERID'; //this is where I cannot figure out how to populate USERID with the proper information from alf_authority for the logged in user&lt;BR /&gt;document.cookie="cc_data="+userid;&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I see in login.jsp that the userid is actually the user name, but if i change any code in that file it just breaks alfresco share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if this is complicated, please just tell me and I will try to find a programmer to help me. I was hoping its just one line of code to grab the USERID and make a cookie. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help would be appreciated, Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2011 18:23:28 GMT</pubDate>
    <dc:creator>pwjepson</dc:creator>
    <dc:date>2011-07-25T18:23:28Z</dc:date>
    <item>
      <title>cometchat integration with share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cometchat-integration-with-share/m-p/256263#M209393</link>
      <description>Hello, we are trying to implement cometchat (text and peer-to-peer video chat) within the share website. cometchat is in PHP, so we have a separate server running apache and PHP to accommodate.cometchat connects to the alfresco mysql database directly to get user names and adds a few tables to manag</description>
      <pubDate>Thu, 14 Jul 2011 05:33:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cometchat-integration-with-share/m-p/256263#M209393</guid>
      <dc:creator>pwjepson</dc:creator>
      <dc:date>2011-07-14T05:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: cometchat integration with share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cometchat-integration-with-share/m-p/256264#M209394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been working with cometchat support and they claim if i use a cookie with the userid from the alf_authority table, it will work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so, can anyone explain how I can get the following to work and in which alfresco share file I should use it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;var userid='USERID'; //this is where I cannot figure out how to populate USERID with the proper information from alf_authority for the logged in user&lt;BR /&gt;document.cookie="cc_data="+userid;&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I see in login.jsp that the userid is actually the user name, but if i change any code in that file it just breaks alfresco share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if this is complicated, please just tell me and I will try to find a programmer to help me. I was hoping its just one line of code to grab the USERID and make a cookie. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help would be appreciated, Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 18:23:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cometchat-integration-with-share/m-p/256264#M209394</guid>
      <dc:creator>pwjepson</dc:creator>
      <dc:date>2011-07-25T18:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: cometchat integration with share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cometchat-integration-with-share/m-p/256265#M209395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've moved your topic into the Share Development forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The userId is available in Share, you should be able to run a small piece of JavaScript to retrieve it.&amp;nbsp;&amp;nbsp; I suggest you look at how the other applets within Share work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 08:56:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cometchat-integration-with-share/m-p/256265#M209395</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-07-26T08:56:25Z</dc:date>
    </item>
  </channel>
</rss>

