This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Replacing Disqus with Commentics
#1

Reply
#2

Hi it looks like you've done all the hard work already. Simply replacing the Disqus code with the Commentics code should be all that's required. I'd try that and see what happens.

Also I'd be really interested to hear more about your comparison between Disqus and Commentics.

Have you completed the interview?
Reply
#3

(07-Mar-2019, 05:10 PM)Steven Wrote:  Hi it looks like you've done all the hard work already. Simply replacing the Disqus code with the Commentics code should be all that's required. I'd try that and see what happens.

Also I'd be really interested to hear more about your comparison between Disqus and Commentics.

Hi, Steven!

Well, I was a bit confused about this bit:

Code:
'//{short_name}.disqus.com/embed.js';
I'm not sure how what the comparable call for Commentics would be there?  I wouldn't think this would work:

Code:
'//{short_name}.commentics.com/embed.js';
The blog is calling from the Disqus webpage but Commentics is sitting on my server.  So....
Code:
'//{short_name}./0/comment/embed.js';
?
That seems a bit "off".   Shy 
(I'm going to slip over to ftp and try it, though, and see if I smell smoke.)
Reply
#4

Well...  I had this very detailed reply just about done to post and *blammo* the lights went out.  Literally.  Which, might be a metaphor for my present coding issue.  The gist is that I can't seem to get it cranked. 

This is the code I edited:


Code:
         <script>
         //<![CDATA[
         var disqus_config = function () {
           this.page.url = '{url}';
           this.page.identifier = 'msw_journal_{id}';
         };
         (function() { // DON'T EDIT BELOW THIS LINE
         var d = document, s = d.createElement('script');
         s.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//{Emil\'s_Blog}./0/comment';
         s.setAttribute('data-timestamp', +new Date());
         (d.head || d.body).appendChild(s);
         })();
         //]]>
         </script>


First, I left off that bit about embed.js because I can find no embed.js file either in my Commentics directories or in the blog's directory, so I assumed it was being called from the Disqus url? 

In the blog's Admin Panel, you must enable Disqus to even get the comments field to appear.  It asks for "Short name" and Category number (if applicable).  Because the cmtx_reference is actually 'Emil\'s Blog'; I entered
Code:
Emil\'s_Blog
in that block of code for
Code:
{short_name}
and "Emil's Blog" in the admin panel's Short Name field.  Because the cmtx_identifier is '1'; I entered 1 as the Category number in Admin.  And since the cmtx_folder is '/0/comment/'; I entered that where it was originally disqus.com/embed.js.  But it's all a no-go.   Sad 

To answer your question about Disqus vs. Commentics, probably the main issue I have with Disqus is that it's down as much as it's up.  So often, you get a "unable to connect" or the ever popular "We were unable to load Disqus. If you are a moderator please see our troubleshooting guide."  Ugh!  Their notifications are also a crap shoot.  So far, I'm finding that Commentics is quietly but consistently reliable.  And, at the end of the day, that's all I want, ha.  (If I could just wedge it into this blog software, I'd be dancing in the street.

Edit: Ah.... I'm reading elsewhere that you still have to put the Disqus shortname just to get the fields to appear. Didn't work, but still.... that's info I can use.
Reply
#5


Have you completed the interview?
Reply
#6

Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by gongong
18-Feb-2017, 04:16 AM
Last Post by Steven
07-Jul-2015, 05:57 PM
Last Post by Steven
29-May-2015, 08:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)