Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • @gkouvousisg My post was related to make some changes to your plugin, to allow @maestraweb use the updated plugin and enjoy if new versions come out in the future.

    I read another request to present the option “Read Less” after all the text, and make sense if the content to display is too long, the reader would need to go up to apply the “read less”.

    For a sustainable “programming environment”, i suggest to read the business model from Cybertracker, field data collection CyberTracker is freeware and is supported through donors and community funded features.

    (Programmers can’t survive only with likes and beautiful stars.)

    <Read Less>

    No se en donde esta el error
    Esto no esta apareciendo en la pantalla

    Weird test connection
    J’admets que tu as eu raison. Je le connais, c’est un fait.

    <Read Less>

    Once the horse is tamed, everyone wants to ride it !

        $new_string .= '<div class="read_div" id="read' . $rnum . '" style="display: none;">' . do_shortcode($content)
            . '<span><a onclick="read_toggle(' . $rnum
            . ', \''
            . $more
            . '\', \''
            . $less . '\''
            . '); return false;" class="read-link-less"'
            . '" style="readlink" href="#">'
            . $less
            . '</a></span>' . "\n"
            . '</div>';
    

    Some styling ?

    .read-link-less {
     background: <?php echo get_option('rmwr_background_color'); ?>;
     color: white;
     padding: <?php echo get_option('rmwr_padding') .' 10px'; ?>;
     border-radius:3px;
    }
    
    .read-link-less:hover {
     font-weight: <?php echo get_option('rmwr_font_weight'); ?>;
     color: <?php echo get_option('rmwr_text_color'); ?>;
     padding: <?php echo get_option('rmwr_padding'); ?>;
     border-bottom: <?php echo get_option('rmwr_border_bottom'); ?>
     solid <?php echo get_option('rmwr_border_bottom_color'); ?>;
    }
    

    I learned a lot from your implementation. Thanks.

    Hello Maestraweb,

    I sent to George a recommendation to allow the user to use specific text if needed

    [read more="Deuxieme Loco" less="Très loquito"]J'admets que tu as eu raison. Je le connais, c'est un fait.Le deuxieme version[/read]

    Even you can use the [read] [/read] multiple times so you could break the schedule like

    
    [read more="Spring Session 2018" less="Visit Canada - Read Less to View More"][/read]
    [read more="Summer Session 2018" less="View Less"][/read]

    Works really well!

    Thread Starter ricardowordpress

    (@ricardowordpress)

    Thanks, I’m just doing some tests. My installation is just for personal training.

    If you instruct me what should I write into the ticket for Solarium, what part of the code I’m debugging?

    Any simple example to follow and do some tests?

    Thread Starter ricardowordpress

    (@ricardowordpress)

    Changing the Curl.php line 162 the ping worked in both environments 4.9 and 5.1

    if (!isset($options[‘headers’][‘Content-Type’])) {
    $options[‘headers’][‘Content-Type’] = ‘text/xml; charset=utf-8’;
    $options[‘headers’][‘Content-Type’] = ”;
    }
    Solarium library version: 3.2.0 –
    {“endpoint”:{“localhost”:{“host”:”127.0.0.1″,”port”:8984,”path”:”\/solr\/wordpress”}}}
    {}
    {}
    Ping query successful
    array(1) {
    [“status”]=>
    string(2) “OK”
    }

    Now in the indexing process:
    Solr HTTP error: OK (415) {“responseHeader”:{“status”:415,”QTime”:4},”error”:{“msg”:”Missing ContentType”,”code”:415}}

    Thread Starter ricardowordpress

    (@ricardowordpress)

    I’m using

    solr-impl
    5.1.0 1672403 – timpotter – 2015-04-09 10:37:54
    lucene-spec
    5.1.0
    lucene-impl
    5.1.0 1672403 – timpotter – 2015-04-09 10:30:49

    all_wpsolr-2-solr-5-x

    solrconfig.xml
    <luceneMatchVersion>5.0</luceneMatchVersion>

Viewing 5 replies - 1 through 5 (of 5 total)