Few simple questions, for a better integration of Q&a

Hi every body,
I'm using very well known plugin "dig dig", but the position does not fit as it does on the other pages, look here: http://www.provoletroulant.fr/questions/question-test/. Since the plugin is popular maybee you have heard of that and are aware of the origin of that trouble.

Also
I was wandering if a french version of that plugin (french text) exists?

Last question,
Is there parameter for seo consideration, like possibility to control what page should be indexed?

Thank you very much,
great plugin, but i had to ask those questions in order to correctly use it.

  • Jack Kitterhing

    Hi there @cisqo

    I hope you are well today,

    I'm using very well known plugin "dig dig", but the position does not fit as it does on the other pages, look here: http://www.provoletroulant.fr/questions/question-test/. Since the plugin is popular maybee you have heard of that and are aware of the origin of that trouble.

    I've just taken a look and can see it overlaps a bit, do you mind it not being on the yellow background but on the other colour background?

    I was wandering if a french version of that plugin (french text) exists?

    You can translate the plugin, here are some links to some information WordPress language codes here http://codex.wordpress.org/WordPress_in_Your_Language#Danish_-_Dansk_.28da_DK.29

    Translating WordPress here http://codex.wordpress.org/Translating_WordPress

    In the plugin folder, you will see a languages folder > that contains a .pot folder used for translating, you will need to use that in poedit > file > settings > generate.mo file on save.

    Files > new catelogue from .pot file, save that as your po file.

    You may find this thread of use https://premium.wpmudev.org/forums/topic/translate-appointments-to-danish

    Is there parameter for seo consideration, like possibility to control what page should be indexed?

    Which questions get indexed or just pages in the whole of your WordPress in general?

    Thank you!

    Kind Regards
    Jack.

  • Jack Kitterhing

    Hi there @cisqo

    I hope you are well today.

    The dig dig problem, this is what the current CSS is

    #dd_ajax_float {
        background: none repeat scroll 0 0 padding-box #FFFFFF;
        border: 1px solid #BBBBBB;
        border-radius: 5px 5px 5px 5px;
        box-shadow: 1px 0 15px rgba(0, 0, 0, 0.2);
        display: none;
        font: 10px/16px Arial;
    left: -120px;
    min-width: 55px;
    padding: 5px;
    position: absolute;
    text-align: center;
    width: auto;
    }`

    Change this left: -120px; I went with -250px and it appeared on the black background, but I'm not sure what impact this will have on your other pages.

    What are your settings in Q&A for the width etc?

    Concerning the french version, I don't want to translate wordpress entierly, just the qa plugin.

    That's what it does :slight_smile: You open up the .pot file in Q&A and then make the .mo and .po as laid out in my above post, them rename them to qa-fr_FR.mo and qa-fr_FR.po

    Thanks!

    Kind Regards
    Jack.

  • cisqo

    Well,
    I came up with one solution.

    Since I could'un find out why the position of digg dig was incorrect,
    I tried to remove it:
    Tried this code in function .php of my theme:

    /** Exclude DiggDigg from specific pages */
    function eo_exclude_digg_digg() {
    if(is_page(array(1, 2, 3, 4))) {
          remove_filter('the_excerpt', 'dd_hook_wp_content');
        	remove_filter('the_content', 'dd_hook_wp_content');
    	}
    }
    //this in single_question.php
    add_action('template_redirect', 'eo_exclude_digg_digg');

    Didn't work!

    So i used a even simpler solution, wich is a bit sloppy.
    I add in additionnal css rules of the setting of Qa
    #dd_ajax_float { display:none!important}

    In order to force it to desapear.

    And I had the manual butons of dig dig with:

    <?php dd_fblike_generate('Like Button Count') ?>
    	<?php dd_google1_generate('Compact (20px)') ?>
    	<?php dd_twitter_generate('Compact','twitter_username') ?>

    (see digg digg manual)

    So I have fixed buttons instead of floationg, but pretty close right.
    The rest of the website don't change.

    There probably is a solution,
    but I've wasted enough time.
    Thank you Jack.

    If somebody have the courage to do the translation in french.
    I'm a customer, please contact me. But I won't do it myself or I guess I would spend an another month on it :wink:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.