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

Comments not showing on some pages
#1

Somebody posted a comment on http://deeptruths.com/letters/forced_chr..._perm_1228 and I replied to it. However neither the person's comment nor my reply is showing up on that page! I know they are in the database for I can see the comments in the admin section. I believe I got the code right for it is the same as the other pages. What am I missing?
Reply
#2

It appears to be an issue when the "?cmtx_perm=" segment is in the URL. If you visit the page without it, you can see the comment:

http://deeptruths.com/letters/forced_christianity.html

In the integration code, are you using "cmtx_url" for the $cmtx_identifier value?

If so, Commentics already attempts to remove that segment, however it doesn't seem to be working in your case. What you could try is immediately above the $cmtx_identifier line, add the following line. It should result in the comments displaying even when "?cmtx_perm=" is in the URL.

PHP Code:
<?php 
$cmtx_parameters
= '';

Have you completed the interview?
Reply
#3

Thank you for your input! I just noticed something: When I access the page with the regular URL I CAN see all the comments, but when I access it with the link that is generated by the Extractor Add on script which I have on the top page of http://deeptruths.com/ , I cannot see the comments! Therefore the bug must be in the Extractor Script! Would you please confirm that?
Reply
#4

(29-Apr-2014, 06:18 AM)jamesjpn Wrote:  I just noticed something: When I access the page with the regular URL I CAN see all the comments

That's what I explained in my last post.

(29-Apr-2014, 06:18 AM)jamesjpn Wrote:  but when I access it with the link that is generated by the Extractor Add on script which I have on the top page of http://deeptruths.com/ , I cannot see the comments! Therefore the bug must be in the Extractor Script!

No, the extractor add-on has no bug. It's simply because the extractor add-on uses the "?cmtx_perm=" segment in the URL. Please try what I said in my last post.

Have you completed the interview?
Reply
#5

Thank you, Steven. Yes, adding the $cmtx_parameters = ''; after $cmtx_page_id = "cmtx_url"; fixed the problem! But I don't remember this line of code in any of the upgrades. Did I miss something along the way?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
13-Feb-2013, 07:04 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)