This topic has 12 replies, 7 voices, and was last updated 10 years by Abe.

  • Author
  • #3281
     adam
    Participant

    Thanks for version 2.1! Your hard work is much appreciated 🙂

    What does this mean exactly: Cometchat plugin compatibility ?

    Thanks!
    Adam

    #3283
     adam
    Participant

    To clarify, I know what Cometchat is, but how have you made it compatible with this theme?

    #3302
     SQadmin
    Keymaster

    Hi, there were some php warnings generated when using the plugin and also we fixed some display issues on the cometchat bar that was interfering with our styles. Now it is all fine.

    PS: Thanks for your appreciation 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #3304
     gabriel
    Participant

    How can i make cometchat for paid memberships only, i don’t want free members to be able to use it. Hope i can do this!

    #3369
     gabriel
    Participant

    ???

    #3386
     SQadmin
    Keymaster

    Hi,
    Yes you can limit access to cometchat by wrapping their code in header.php like this:

    COPY CODE
    /* In this example we are allowing only levels 1 and 2 to use the chat. */
    <?php if ( pmpro_hasMembershipLevel(array(1,2))) { ?>
    /*put here the css and js from cometchat */
    <?php } ?>
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4324
     JohnDoe
    Participant

    how would we make it that also only admins and payed users can use it?

    this is my code right now :

    http://d.pr/n/CPdN

    #4372
     SQadmin
    Keymaster

    Hi,
    That allows only level 3 members. To allows admin change to:
    if ( pmpro_hasMembershipLevel(array(3)) AND is_super_admin() ) {

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4373
     JohnDoe
    Participant

    Thanks for the reply. but that does not work. it doesn’t showup

    #4772
     Fatima
    Participant

    hi, i uploaded the cometchat to my site, it shows in opera but none of the other browsers. ie IE, chrome or firefox.
    i checked the cometchat website and their chat bar works in all the browsers. but on my site it is only updating in opera

    Are you sure it is compatible? i purchased it just because of this theme. 🙁

    #4859
     SQadmin
    Keymaster

    Yes it is, don’t worry. Maybe you did something wrong.
    Provide us with temp access to your FTP please

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #23689
     iamj_kim
    Participant

    Hi,

    Can you please repost this code? I’d like to restrict cometchat to paid members as well. Thanks.

    #23935
     Abe
    Keymaster

    See the code re-posted.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?