J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Need some (javascript-) Links (1 viewing) 
Go to bottom
TOPIC: Re:Need some (javascript-) Links
#3684
John Dagelmore
Admin
Posts: 3573
User Offline
Re:Need some (javascript-) Links 5 Years, 1 Month ago Karma: 75  
Hi.

Doing this is not so easy, the chat app is a complex javascript app and you need to deal with javascript and PHP to setup an external integration. It's not a link.

To open/close the chat sidebar you can use a code like this:

Code:

jQuery('#jchat_userstab').trigger('click');
To start and open a private chat with a certain user the code must rely on the session ID of Joomla assigned to each user. The PHP code must render the Joomla session ID in the javascript code.
Code:

jQuery('#jchat_userlist_' + sessionID).trigger('click');
 
Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Need some (javascript-) Links
Becker 2015/11/20 20:09
    thread link
thread linkthread link Re:Need some (javascript-) Links
John Dagelmore 2015/11/20 20:25
    thread link
thread linkthread linkthread link Re:Need some (javascript-) Links
Becker 2015/11/20 22:07
    thread link
thread linkthread linkthread linkthread link Re:Need some (javascript-) Links
John Dagelmore 2015/11/20 22:23
Go to top