Tagged: x
-
AuthorPosts
-
August 24, 2016 at 7:32 pm #1145554
billium99ParticipantHi – I’m hoping to customize the X location for blog comments. Basically, I want to remove what is there, and insert Disqus universal code. I need to do this with a template customization because the Disqus plugin conflicts with WooCommerce and neither party appears willing to accept the blame for the issue.
So, instead of the Disqus plugin, I have the code and instructions on this page:
https://disqus.com/admin/universalcode/
But I can’t seem to locate the lines of code or the file that X uses for blog comments that i would replace or augment with these code snippets.
Any advice here?
Thanks
Bill
August 24, 2016 at 11:37 pm #1146055
RupokMemberHi Bill,
Did you use our Disqus extension or the official plugin?
Our extension will simply do that what you are trying to do and should not conflict with WooCommerce. Would you confirm the issue?
Thanks!
August 27, 2016 at 2:55 pm #1149871
billium99ParticipantHi Rupok,
Interesting – I didn’t know you guys made one…
So I just installed that, and instead of the reviews being broken entirely, they appear to now have been replaced by Disqus commenting system?
This isn’t what the client wants. They want Disqus for blog comments, and WooCommerce native reviews engine for products.
Any suggestion?
Thank you
August 27, 2016 at 10:16 pm #1150142
RadModeratorHi there,
Then that would need special integration. But unfortunately, we can’t provide such custom development. Woocommerce review section uses same comment system just like the other posts. It’s global comment system and any change made to it will reflect the other. Hence, to achieve that requirement, you’ll need customization that excludes Woocommerce comment section.
You may consult it a developer.
Thanks!
August 28, 2016 at 11:27 am #1150622
billium99ParticipantBut it’s not the same. It has the 5 star rating system. Seriously, your own integration just eliminates that part of the reviews system?
August 28, 2016 at 11:28 am #1150625
billium99ParticipantEven the labels are different so how can it be using the same subsystem?
August 28, 2016 at 11:53 am #1150640
RupokMemberHi there,
Thanks for writing back. In that case you should use the official plugin. I am not sure what kind of conflict you are facing but there should not be any. If you want to integrate the universal code then it would be messy since it will be loaded on every page. You can try placing the both code within a single RAW Content element if that works.
Thanks!
September 1, 2016 at 1:21 pm #1157231
billium99ParticipantRupok,
Just to be clear:
1. The client wants to use the WooCommerce rating and review system
2. The official Disqus plugin is hiding reviews from the single product page. Nothing is seen in the Reviews tab
3. The X-Theme version of Disqus replaces the rating and review system, with simple Disqus comments insteadYou are saying you cannot help, and X intended to remove/replace the WooCommerce review/rating system with their Disqus plugin, when installed?
Bill
September 1, 2016 at 6:27 pm #1157611
RadModeratorHi Bill,
Please edit this file, \wp-content\plugins\x-disqus-comments\functions\output.php then find this code
function x_disqus_comments_template() { $template = X_DISQUS_COMMENTS_PATH . '/views/site/disqus-comments.php'; return $template; }And change it to this,
function x_disqus_comments_template( $template ) { if ( !is_singular('product') ) { $template = X_DISQUS_COMMENTS_PATH . '/views/site/disqus-comments.php'; } return $template; }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1145554 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
