J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Integrating JChatSocial with Commun (1 viewing) 
Go to bottom
TOPIC: Re:Integrating JChatSocial with Commun
#7976
induo srl
Fresh Boarder
Posts: 0
User Offline
Integrating JChatSocial with Commun Karma: 1  
Hello, I am integrating JChatSocial with Community builder, How can I get the link that is used to open a chat with a user? I have a community builder list of user, and I want to put next to each profile a link/button to open up the chat windows with that user. So I tried to go to analyze the chat windows to see the link that is used to open the single chat windows but without success... How can I find that link? thanks
 
Logged Logged  
  The administrator has disabled public write access.
#7977
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Integrating JChatSocial with Commun Karma: 79  
Hello,

why link? there is not a link to open a chat window, everything works with javascript and jquery.

Opening a chat window from an external application such as Community builder requires a code such as the following:
Code:

jQuery('div[data-sessionid=jvqbvmc64pa5un49r7vl4gdv17]').trigger('click');
and for each user you need to specify the current session id that in the example is the part 'jvqbvmc64pa5un49r7vl4gdv17' You need to generate the button in community builder using PHP in this way. -- Best regards
 
Logged Logged  
  The administrator has disabled public write access.
Go to top