Giter Site home page Giter Site logo

sommerregen / grav-plugin-jscomments Goto Github PK

View Code? Open in Web Editor NEW
29.0 4.0 9.0 188 KB

JSComments is a Grav (http://github.com/getgrav/grav) plugin which allows to integrate comments into individual pages from Discourse / Disqus / Facebook / Google+ / HyperComments / IntenseDebate / Isso, and Muut comment systems.

License: Other

PHP 47.96% HTML 52.04%
grav grav-plugin javascript comments serivce

grav-plugin-jscomments's People

Contributors

foufrix avatar johnmica avatar neiromaster avatar perlkonig avatar robinhenkel avatar sommerregen avatar trezcan avatar tribut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

grav-plugin-jscomments's Issues

Disqus not showing.

I just did the settings of 3 steps.

  1. Set the .yaml file.
enabled: true
active: true
provider: disqus
providers:
  disqus:
    shortname: XXXXXXX
    show_count: true
    language: ja

Now I didn't show up shortname.

  1. Write an initial setup in item.html.twig like this โ†“.
 <div class="modularitem">
    {# diable regular post handling - hibbittsdesign.org #}
    {# <h3>{{ page.title }}</h3> #}
    <p>{{ page.content }}</p>
    <div>{{ jscomments()|raw }}</div>
  </div>
  1. And then, I did hard-refresh the browser and clean Grav's cache.

How do I fix it? If any solution exists, I want to know it.

Theme: quark-open-publishing v1.1.5
Grav version: v1.5.1
and running on Raspbian (Debian based)

Number of comments not always showing

Hi there Benny,

in cooperation with the Grav team we are building a new theme for my site and use your plugin to display Disqus comments.
The problem is that it's not always showing up and the can't figure out what exactly causes it.
I could send you the login informations to have a look yourself. Maybe you got a good guess how to solve it.

Greets,

Kadoffe

Add support for Discourse

Discourse can also be used as a page threaded commenting system. It's easy to embed into pages by inserting some JavaScript, very similar to Discus.

I'll probably implement it in the next few days.

[JSComments] Facebook comments bloc doesn't appear on the page

Hello,
I'm using Grav v1.1.17 - Admin v1.2.14.

On the Admin interface I set this setup:

image

I put my Facebook API key:
image

I didn't forget to put this lines in my code:
{% if config.plugins.jscomments.enabled %} {{ jscomments()|raw }} {% endif %}

And when i'm going to the pages where the comments should be with the facebook plugin i don't have anything:

image

But when i'm changing it for disqus there is the plugin activated:
image

I don't know where is the problem.

Thank you very much.

Not Working.

I'm using the latest version of GRAV with the Gantry Framework. I have been unable to get JSComments to work. I'm using Disqus commenting, which is working fine. I've used the plugin successfully in the past, and everything looks normal with the plugin, just not showing on the blog pages.

Suggestions?

Uncaught Error: invalid version specified

I'm trying to use the facebook provider. I've entered my app_id and added {{ jscomments() }} to my twig. But nothing appears, and in the console I see Uncaught Error: invalid version specified at sdk.js:99. Any ideas? Thanks!

Issue with HyperComments : No login solution except anonymous

Hi, first thank you for the plugin, i tried with disqs and it works smoothly, but disqus slow down the site too much.

I tried all but my attention stayed on hypercomments (why it is not so famous because it's a supernice one !)

The integration works perfectly, the only problem i have is that i have no social media option to log in to post a comment, only anonymous. I've put only facebook and google to be sure it was not another problem on the social media order in the plugin option, but still nothing.

I've also searched on hypercomments dashboard but nothing either (i have not done any tweaking on the dashboard, maybe it's from there but can't find a solution on my own)

Thanks in advance for the help !

Language setting not really working

Even when choosing language in the yaml as ro_RO or ro, the sdk loaded is in English only en_US.
not sure if in the twig the choosing and matching the language is working as should and the language loaded keeps being the en_US.

any idea on how to just load the one language that I need ?

thanks in advance.

Not showing up

I installed latest JSComments ins Grav. Enabled it. Did not show up on page. Only if I put the code in my twigfile ({{ jscomments('disqus', { shortname: '-------' }) }} it works. But than on all my pages processed with this twigfile. What can I do? Or what do I wrong? Read the readme.md but have no clue what to do.

DISQUS doesn't work

I'm trying JScomments and DISQUS tried to upload the code
{{ jscomments()|raw }} inside blog-item-html.twig file right after {{ page.content|raw }} i setup my DISQUS account but it doesn't work it keeps saying "We were unable to load Disqus. If you are a moderator please see our troubleshooting guide." What could it be ? Am I doing something wrong?

Can't find a demo

Is there a demo? I'm unclear if this plugin adds all the comment engines or one or the engines of my choice?

Google+ comment box

Google plus comment box does not display correctly until moused over,
Tested in chrome and firefox
ubuntu 16.04/nginx
Tested at multiple width %s

ssl for intensedebate

In user/plugins/jscomments/templates/plugins/jscomments/intensedebate.html.twig line 14 there is a call to a remote JS file: http://www.intensedebate.com/js/genericCommentWrapperV2.js

Since my GRAV site is running full HTTPS, jscomments is failing.

Might want to delete the protocol:

<script src="//www.intensedebate.com/js/genericCommentWrapperV2.js"></script>

Wrong output code

If using Gantry plugin, all variables are auto-escaped for security reason. Using {{ jscomments()|raw }} makes it easy to render output correctly. But translations are escaped even after this step and results in wrong output.

Please consider adding |raw after translations and make this plugin update proof for Gantry users.
'PLUGINS.JS_COMMENTS.PROVIDERS.DISQUS.NOSCRIPT'|t|raw

Beta Grav and Admin issues with translating Discourse Title tab

Hi there,

It sems that the translation of the filed Discourse in the new version is not beeing picked up on the latest beta version of Grav and Admin as per the pciture attached.

Just wanted to let you know maybe in the next version it will be fixed.

captura de ecran din 2016 05 14 la 14 54 54

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.