Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Integrated Comments not showing on website.

Hi!

Im trying to integrate comments into my site news pages, however, all its showing it 'Comments by Vanilla' where the comments box should be.

I followed the instructions, changed the identifier to what i wanted it to be which was 'xbf-news' and the URL is correct.

But the comments box still doesnt show, ive tried disabling my plugins to see if it was one of those doing it, but it wasn't.

You can see whats happening here -> http://xboxfamily.uk/x/index.php?id=19

Anyone have any ideas?

Thanks

Jon

Comments

  • You have a syntax error on your page.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Ah, Hmm... Do i take it out? How would i fix this? :smile:

  • That entire script block should look like the following:

    /*** Required Settings: Edit BEFORE pasting into your web page ***/
    var vanilla_forum_url = 'http://xboxfamily.uk/community/index.php?p=/'; // The full http url & path to your vanilla forum
    var vanilla_identifier = 'xbf-news'; // Your unique identifier for the content being commented on
    
    /*** DON'T EDIT BELOW THIS LINE ***/
    (function() {
      var vanilla = document.createElement('script');
      vanilla.type = 'text/javascript';
      var timestamp = new Date().getTime();
      vanilla.src = vanilla_forum_url + '/js/embed.js';
      (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(vanilla);
    })();
    

    I am not sure how you are generating that block though. The variable vanilla_identifier needs to be unique per page.

    Are you running WP?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • No im running the site in cutenews, so i added the embed to the templates in the cutenews admin

  • I am unfamiliar with cutenews, but that script I sent you should get you over this hurdle.

    Please report back if that doesn't work.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Didnt work, still just shows the 'Comments by Vanilla' and not the comment box

  • @XboxSuperJoon said:
    Didnt work, still just shows the 'Comments by Vanilla' and not the comment box

    There appears to be no change. You still have the same syntax error.

    Do you have some type of caching system in place?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • No, which is what is confusing me!

Sign In or Register to comment.