Help
Ask questions about how to do or fix things in Arrowchat
User avatar
josef
Free
 
Posts: 5
Joined: 25 Feb 2014, 14:20

 

by josef 26 Feb 2014, 10:59

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
You do not have the required permissions to view the files attached to this post.
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 26 Feb 2014, 11:04

User avatar
josef
Free
 
Posts: 5
Joined: 25 Feb 2014, 14:20

 

by josef 26 Feb 2014, 15:28

Sorry but how do you get the user id automatically when you view someone's profile ?
User avatar
josef
Free
 
Posts: 5
Joined: 25 Feb 2014, 14:20

 

by josef 27 Feb 2014, 08:58

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 !
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 27 Feb 2014, 10:31

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>
User avatar
josef
Free
 
Posts: 5
Joined: 25 Feb 2014, 14:20

 

by josef 27 Feb 2014, 15:02

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 .
User avatar
josef
Free
 
Posts: 5
Joined: 25 Feb 2014, 14:20

 

by josef 27 Feb 2014, 18:56

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>
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 16 Dec 2014, 00:26

[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]