Conflict Disqus

Support forum for the Continuum WordPress theme

Moderator: Developers

Conflict Disqus

Postby romendez » Wed Jul 25, 2012 8:36 am

Hello again friend!

I met a little conflict, I hope this time you can help me too. I installed Disqus on the site is functioning normally, but it appears the counters where "0 comments" etc., the Disqus plugin replaces these areas by other names, usually works well, only the part where you have balloons in the post with the number of comments, the text is appearing, can not hide.
Last edited by romendez on Thu Jul 26, 2012 9:43 am, edited 1 time in total.
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Wed Jul 25, 2012 3:31 pm

Go into your Disqus settings and change the comment text. This is something that needs to be changed in Disqus settings rather than your theme settings.
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Thu Jul 26, 2012 9:43 am

IndustrialThemes wrote:Go into your Disqus settings and change the comment text. This is something that needs to be changed in Disqus settings rather than your theme settings.


Ok. :)
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby uqmoore » Sun Jul 29, 2012 11:00 pm

Under settings > General, I unchecked "Reactions".

Under settings > Appearance, I changed the three Comment Count Link values to {num}.

You may have to disable "Disqus 2012 features" to see the Appearance section.
uqmoore
 
Posts: 8
Joined: Sun Jul 29, 2012 6:51 pm

Re: Conflict Disqus

Postby romendez » Mon Oct 08, 2012 8:15 pm

uqmoore wrote:Under settings > General, I unchecked "Reactions".

Under settings > Appearance, I changed the three Comment Count Link values to {num}.

You may have to disable "Disqus 2012 features" to see the Appearance section.


I made this change. But just after that ends up appearing only numbers, and the words "comment" and "comments" are hidden. You could solve this? :roll:
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby uqmoore » Sat Oct 20, 2012 3:34 pm

uqmoore
 
Posts: 8
Joined: Sun Jul 29, 2012 6:51 pm

Re: Conflict Disqus

Postby romendez » Sat Oct 20, 2012 8:09 pm

Thanks buddy. :D
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby ClubUgly » Sun Oct 21, 2012 11:25 am

I'm having the same issue and the link above doesn't really give clear steps for Continumn theme... Any help would be great because this is the only comments plugin I could find that plays nice with the theme.
ClubUgly
 
Posts: 63
Joined: Thu Jul 28, 2011 12:16 am

Re: Conflict Disqus

Postby romendez » Sun Oct 21, 2012 3:13 pm

Let's wait for an answer to the question I sent to see if the code available also serves on the theme Continuum.
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Sun Oct 21, 2012 8:36 pm

The theme doesn't matter, it's Disqus that is generating this functionality, so either way it's the same.
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Mon Oct 22, 2012 2:23 am

Ok friend. So I use this code reported in another topic to solve this little problem?

Code: Select all
.section-wrapper .comment-bubble a {width: 190px;}
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Mon Oct 22, 2012 9:07 am

No, they're different themes. With all the discussion back and forth, and the fact that the solution posted was for another theme, and the fact that I'm not the one who posted the solution but a different user did, I'm confused now as to what the actual question is. What exactly are you trying to do in Continuum, and what page are you trying to do it on? What's the URL?
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Mon Oct 22, 2012 4:21 pm

Ok friends, sorry for the confusion, I'll try to make it clearer. The only problem I have with respect to Disqus is that it replace the fields for counting comments. Example: when I set up a Disqus to appear just as the theme, ie "0 comments", "1 comment," "X comments" everything appears correctly except for the part where they appear related posts. In this part, instead of appearing only the number of reviews, the word also ends up appearing. Example: instead of appearing only "0" appears "0 comments", making the word "comments" stay out of the box that tells the number of comments.

The only way I found so far to solve this is to configure the Disqus appear only numbers. This solves the problem but ends up creating another. Now where should see "0 comments" appears only the "0".

Just to clarify. Another solution would be to disable the related posts, it gets around that little problem.

I just wonder if you can solve this without resorting to that measure.
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Mon Oct 22, 2012 4:53 pm

The solution is to manually add the word "comments" to the theme code where you want it to display. For instance, single.php line 351 which looks like this:

Code: Select all
<?php comments_popup_link(__('0 comments', 'continuum').' &raquo;', __('1 comment', 'continuum').' &raquo;', __('% comments', 'continuum').' &raquo;'); ?>


Just add "comments" after the closing php tag, like this:

Code: Select all
<?php comments_popup_link(__('0 comments', 'continuum').' &raquo;', __('1 comment', 'continuum').' &raquo;', __('% comments', 'continuum').' &raquo;'); ?> comments


Using this method, you would set your Disqus settings to not display any text, just the number.
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Mon Oct 22, 2012 5:08 pm

Thank you friend. Again helped me a lot.
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Mon Oct 22, 2012 8:17 pm

Glad to help.
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Mon Oct 29, 2012 3:57 am

It did not work friend. Only the word appears outside the box counter. I would like to configure it so that it is the way the original template.
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Mon Oct 29, 2012 8:01 pm

What's the URL to the page where you added it so I can see it happening?
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Mon Oct 29, 2012 9:19 pm

Follow the page already with the changes made in single.php

http://www.oceucho.com.br/videos/loris- ... nho-arroz/

The only thing I want is to make the word "comment" appears at the top of the post, next to the date, and then at the end, on the field after the author's profile. I can not configure it to make it appear to Disqus, because eventually appearing also on the counter of the related posts, where they should appear only numbers.

This problem also occurs on the page that displays posts by category.
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Tue Oct 30, 2012 9:09 am

Add the word "comments" directly to your page just like the above code I mentioned, only this one is on line 168 of the same file.
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Wed Oct 31, 2012 1:35 am

It has a way of appearing next to the number? Within the locations?
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Wed Oct 31, 2012 10:37 am

Yes, it should appear next to the number. Did you try adding this code, and did it work? I couldn't tell by your response...
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Wed Oct 31, 2012 10:43 am

Already added the word in places where you stated, but it appears out of place. Take a look at the link I previously spent.
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Wed Oct 31, 2012 4:29 pm

Oh yeah sorry I missed that! Try adding this to your custom.css file:

Code: Select all
#page-content .cat-bar .right-wrapper a {width:25px;}
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Thu Nov 01, 2012 12:12 am

Keeps appearing down and outside the correct area. In the area immediately adjacent to the date of the post, at the beginning, the word appears below. At the end of the post, after the "about the author" appears next to the word, but out of the box. :?
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Thu Nov 01, 2012 12:08 pm

Yeah, I can see why it's doing that. It's because of how the comment text is inside of a block level link element which contains all the styling, and since you're trying to hard-code the word next to the link element it's showing up outside of it. I'm afraid the only way to fix this is to change your disqus settings to include the word "comments". And if you want to actually fix this at the source, you're just going to have to dig into the code further and it would likely be a more complicated fix (a programmatic fix rather than a CSS fix) that could possibly require you to hire a developer to help you fix.
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Thu Nov 01, 2012 1:37 pm

Maybe there is another solution. I've been thinking, is there a way to hide the word "comments" in blocks of related posts? This is the only problem, if I set the word to appear, she also ends up appearing in that location, and should appear only count of comments.
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Thu Nov 01, 2012 4:46 pm

This is untested so it might not work correctly, but try adding this to your custom.css file:

Code: Select all
.feed-panel .comments a {overflow:hidden;}


If you add that and it still doesn't work, let me know so I can take a look at your site and see if I can offer a better solution. Make sure that code is active and you have comments added in your disqus settings when I look at your site.
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Fri Nov 02, 2012 4:10 am

:lol: Friend, I finally found the solution. I'll leave here if you have other people with the same problem. :lol:

1. First you need to go in Advanced Options Disqus within the WordPress.
- Go into Comment Counts and check the box Output JavaScript in footer.

Important: make sure the file footer.php has the function "wp_footer ()".

2. That done, open the file functions.php of the theme and add the following code:

Code: Select all
//Disqus: Prevent from replacing comment count
remove_filter('comments_number', 'dsq_comments_text');
remove_filter('get_comments_number', 'dsq_comments_number');
remove_action('loop_end', 'dsq_loop_end');

Ready. This addition to solving the problem of replacing fields of counters comments also will speed up the loading time of the pages.
Last edited by romendez on Fri Nov 02, 2012 1:38 pm, edited 1 time in total.
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby IndustrialThemes » Fri Nov 02, 2012 12:01 pm

Wow, that is awesome! Thanks so much for posting this solution, I'm sure it will help others as well! I also added that to the Continuum FAQ :)
Please read our Support Policy
User avatar
IndustrialThemes
Site Admin
 
Posts: 12784
Joined: Thu Jul 21, 2011 2:06 pm

Re: Conflict Disqus

Postby romendez » Fri Nov 02, 2012 1:41 pm

Glad to help. :D
User avatar
romendez
 
Posts: 135
Joined: Wed Jan 04, 2012 10:02 pm

Re: Conflict Disqus

Postby alvarezcyberx » Wed Feb 06, 2013 1:12 pm

Hey THANKS a ton for this solution. It's a problem ALL continuum theme users are going to have if they use disqus, period. So thanks again... yes the solution totally worked for me... I was trying to fix this for a few months now.
alvarezcyberx
 
Posts: 3
Joined: Wed Oct 03, 2012 5:46 pm


Return to Continuum Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron