Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • in reply to: FB likebox, profile drop-down, reading private messsages #75904
     dana68
    Participant

    Hello, I would like to ask your developer for a price quote for this custom implementation of the chat script.

    Dana

    in reply to: FB likebox, profile drop-down, reading private messsages #75821
     dana68
    Participant

    Hello, I created header.php in my childtheme and paste there this code. Is it there a particular place, where in header.php it should be pasted? I tried several options, then cleared cache, but a chat is always accesable for all registered members.

    Dana

     dana68
    Participant

    Hello,
    thanks for your advice. I provided full url to css and script files, but nothing has changed. Members with all levels of membership are able to use chat, not only those, who has level 2….

    Dana

     dana68
    Participant

    Hello, Andrei,

    thank you for your replay. I have one more question.

    It is about restriction some levels of membership to use cometchat. I put this code:

    <?php if ( pmpro_hasMembershipLevel(array(2))) { ?>
    <link type=”text/css” href=”/cometchat/cometchatcss.php” rel=”stylesheet” charset=”utf-8″>
    <script type=”text/javascript” src=”/cometchat/cometchatjs.php” charset=”utf-8″></script>
    <?php } ?>

    to my childtheme – header.php, but it does not work.
    My goal is that only members in level 2 should be able to use cometchat.
    Can I ask you to check where is the problem in code above, please?
    Thank you in advance.

    Dana

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

Log in with your credentials

Forgot your details?