-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Disqus or Isso comments box on a permalink page #181
Comments
Hi, this is similar to previously requested "comment systems". It was decided that Shaarli could include external comments systems through plugins: have a look at the pull request #164. It's not merged yet, but it provides a way to add custom elements to Shaarli's template. Basically, using this branch, you can:
I guess you need to specify different Anyway this is a very good use case for the planned plugin system, I can make changes to the pull request if you need more features/want to do things differently. Your ideas are welcome. |
Thanks! I will wait the merge of #164 and I will try again. |
@NerosTie I've read the isso doc and this should be doable, check https://github.com/nodiscc/Shaarli/blob/new-plugin-system/tpl/plugins/TODO.md. You would have to first click a permalink to see comments on this article. The linklist would only show a |
Isso comments
I'm writing a plugin with Isso but I don't find how to activate it only on a permalink page. I have this line: But it will activate the plugin on the homepage and this is not the expected behavior. Thanks! |
We tried, but couldn't make it work because we weren't able to have a separate thread for different shaare. It looked like we could only have a thread based on the URL ArthurHoaro@5670545 |
It seems to be more complicated than expected... (it was not that hard for Ghost). Also, there is It could be an alternative. |
Thanks @NerosTie for sharing :) @ArthurHoaro looks like we're good to add a Hashover plugin ^^ |
Yup, this looks good enough. @NerosTie, do you want to work on it? |
@ArthurHoaro I can try, but I think I will have the same issue with the homepage. |
Ok, I'll look into it. |
Actually, I don't think we should make a Hashover plugin. Its code is rather low quality, and its configuration can't be externalized easily. But most importantly, home made encryption functions and storing clear passwords in the configuration file and cookies (!) make me worried about security. |
I made a quick Disqus plugin: https://github.com/kalvn/shaarli-plugin-disqus The tricky part was to ensure we are on the permalink page but it should work properly. |
Other opinions are welcome, but I'd rather have a solution which doesn't rely on a commercial 3rd party in the main repo. Add it to the wiki though. |
I fully agree. I'll see what is doable with Isso. |
Maybe https://github.com/jacobwb/hashover-next is worth a look. |
I have something for Isso but I need help: https://github.com/NerosTie/isso/ It works, you can comment, but Isso can't find the title and the link is the same everywhere because permalinks begin with |
That's what I said #181 (comment) |
Exact, I forgot about this.... So, there is no possible solution? |
Except if we missed something, I'm afraid it can't work until they fix their |
There is a PR here: blatinier/isso@f1325cc Maybe it helps EDIT: nope. |
It looks way better! I'll try to end up with something. EDIT: or maybe Shaarli can act as a client... I'll see. |
Yes I think it would be better to keep things separated and only add this as a plugin for the client part. |
Isso 0.10.5 has been released and there is this:
isso-comments/isso#252 Maybe it would help for the plugin in Shaarli? |
It's working! o/ |
Yeah! It's a good news! 🎉 |
So, it works? Can I close this issue? (I can't test it right now, unfortunately) |
Yup. I don't use it, but give us your feedback if you have the time to test it. |
Has there ever been any additional work on integrating Hashover-next or a similar php based comment application? Isso is cool, but needs Python which isn't available on many shared-hosts that Shaarli runs on. |
Not that I'm aware of. Feel free to provide PR or open another issue regarding a Hashover-next plugin though. |
Made a alpha version of a plugin that integrates Hashover-Next: |
It could be very great to have a comments box on permalink pages.
Major improvment: you can chat! Instead of chatting via multiple "shaarli river" instances.
I'm trying to add this in shaarli for isso:
But I have no idea how "pages" work in shaarli.
Can you help me please?
http://posativ.org/isso/
(I think issue #175 must be fixed to work well, because Isso needs the title)
The text was updated successfully, but these errors were encountered: