Page 1 of 1

Button on profile page

PostPosted: 26 Feb 2014, 10:59
by josef
How do i put a button in the profile page that opens only the video chat window ?
that is all i need from arrowchat , i want to let paid users chat only one on one between them and i want to disable all the others , is that possible and how ?
i want to put the button to be like "private message" and add "private chat".

see attached image

anyone can help with the code ?

Thanks

PostPosted: 26 Feb 2014, 11:04
by Jason

PostPosted: 26 Feb 2014, 15:28
by josef
Sorry but how do you get the user id automatically when you view someone's profile ?

PostPosted: 27 Feb 2014, 08:58
by josef
To be honest this is the software i need for my website , i have installed it and works perfect
but i need to add this button to the profile page of each user and allow only users with membership level to be able to contact other users .
I will buy it as soon as i can configure this with your help !

PostPosted: 27 Feb 2014, 10:31
by Jason
There is no generic way to do this; it differs on each site.

Something like:

Code: Select all
<a href="javascript:;" onClick="jqac.arrowchat.chatWith('<?php echo $userid; ?>');">Chat With Me</a>

PostPosted: 27 Feb 2014, 15:02
by josef
Unfortunately it does NOT work at all , i am trying to open the video chat popup window between the 2 users but with NO success .

PostPosted: 27 Feb 2014, 18:56
by josef
I tried this , it pops up the Video chat window but does not send Notification to the user to accept the chat

Code: Select all
<a href="javascript:;" onClick="jqac.arrowchat.videoWith('<?php echo $userid; ?>');">Video Chat With Me</a>

Topic Closed

PostPosted: 16 Dec 2014, 00:26
by Staff Bot
[b]This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.[/b]