1

Topic: Integrating Cometchat

Hello, the default chat program that comes with vldpersonals looks a lot like cometchat.  One thing I like about it is that you can click on the 'Chat' button on a persons profile and it will open up the chat with a that person.  Would it be possible to have that functionality but with cometchat? 

Thanks,

Ken.

2

Re: Integrating Cometchat

yes it is possible

Comet Chat - The best Facebook chat clone integrated to Vldpersonals
Asian Dating and Asian Girls
Dating woman Romania

3

Re: Integrating Cometchat

I guess I'll try it on my test version of vldpersonals.  Any clues or hints on where to start would be appreciated.

4

Re: Integrating Cometchat

I got it to work...

in the member_profile_alt.tpl file replace

<a href="#" onclick="return chatInitIM({member_id},'{member_username}')" title="{lang:"member","chat"}">{lang:"member","chat"}</a>

with...

<a href="javascript:void(0)" onclick="javascript:jqcc.cometchat.chatWith({member_id});" title="{lang:"member","chat"}">{lang:"member","chat"}</a>

then remove

AND settings.enable_chat

from the condition statement above.   Works like a charm.  I did notice that when you change the zoom the cometchat chat window will not work (only in firefox)... ugh, I hate bugs!

Ken.

Last edited by kendrickdk (2011-10-04 02:50:40)

5

Re: Integrating Cometchat

I can, using the code this page below:
http://www.cometchat.com/documentation/ … i/chatwith

Comet Chat - The best Facebook chat clone integrated to Vldpersonals
Asian Dating and Asian Girls
Dating woman Romania

6

Re: Integrating Cometchat

This actually worked pretty well In 2.7 you only need to modify member_profile.tpl. Leave the chat in your CP disabled and it worked like a charm.

7

Re: Integrating Cometchat

Your solution works to a certain point. If you try to block a member from contacting you, the instant message still goes through.

Last edited by david032161 (2011-10-06 09:33:14)

8

Re: Integrating Cometchat

david032161 wrote:

Your solution works to a certain point. If you try to block a member from contacting you, the instant message still goes through.

Cometchat V4 allows blocking members

Comet Chat - The best Facebook chat clone integrated to Vldpersonals
Asian Dating and Asian Girls
Dating woman Romania

9

Re: Integrating Cometchat

it still does not block members.