Forum Replies Created

Viewing 15 replies - 31 through 45 (of 105 total)
  • Thread Starter gpsy1

    (@gpsy1)

    im still having problems setting up the auto send newsletter, it seams that my c-panel cron job is not working with the script provided.

    Im testing external service offered but free account cant be set to trigger every 10 minutes, as a free account 30 min is minimum.

    Thread Starter gpsy1

    (@gpsy1)

    Update,

    i just contacted my hosting provider about cron job not working, and they say that cron is working fine but script is not good. what to do. no idea any more.

    Thread Starter gpsy1

    (@gpsy1)

    Its there again “CRON has stopped working”.

    I did add a new cron job in my c-panel adding
    */10 * * * * wget -q -O/dev/null https://zemlja.rs/wp-admin/admin-ajax.php?action=knewsCron

    but error is still there.

    any suggestions.

    Thread Starter gpsy1

    (@gpsy1)

    Thanks Richie, will try playing with it myself.

    Thread Starter gpsy1

    (@gpsy1)

    not needed any more.

    Thread Starter gpsy1

    (@gpsy1)

    Oh yes, when i use “RUN AUTOMATED CREATION NOW’ on auto created newsletter page i get 0 (zero) is that how its suppose to be?

    Knews automated jobs script, started at: 03/02/2014 09:10
    Automated job (Newsletter 1 )
    Automated job (Newsletter 2 )
    0

    need help

    thanx

    Thread Starter gpsy1

    (@gpsy1)

    blb…its resolved. sorry for late replay

    Thread Starter gpsy1

    (@gpsy1)

    blb…

    This is facebookall_share.php im assuming i have to change here something.

    * Adding comments.
     */
    
    function facebookall_get_fb_comments() {
      $fball_settings = get_option('fball_settings');
      if ($fball_settings['enablecomments'] == '1') {
    		  $comment_script = '<div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId='.$fball_settings['comment_appid'].'";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, "script", "facebook-jssdk"));</script>';
        $show_comments = '';
          if (!empty($fball_settings['comment_title'])) {
    	    $show_comments .= '<div style="margin:0"><b>'.ucfirst($fball_settings['comment_title']).'</b></div>';
    	  }
       if ($fball_settings['comment_color'] == '0') {$colorscheme = 'dark';}
       else {$colorscheme = 'light';}
       $show_comments .= $comment_script.'<div class="fb-comments" data-href="'. facebookall_get_current_url() .'" data-width="'.$fball_settings['comment_width'].'" data-num-posts="'.$fball_settings['comment_numpost'].'" data-colorscheme="'.$colorscheme.'"></div>';
       return $show_comments;
      }
      else {
        $show_comments ="";
        return $show_comments;
      }
    }
    
    /*
     * Showing comments.
     */
    function facebookall_add_fb_comments($content){
      $fball_settings = get_option('fball_settings');
      global $post;
      $html = facebookall_get_fb_comments();
      if((isset( $fball_settings['comment_homepage']) && is_front_page()) || ( isset( $fball_settings['comment_posts'] ) && is_single() ) || ( isset( $fball_settings['comment_pages'] ) && is_page() ) || ( isset( $fball_settings['comment_postecerpts'] ) && has_excerpt() ) || ( isset( $fball_settings['comment_archives'] ) && is_archive() ) || ( isset( $fball_settings['comment_feed'] ) && is_feed() ) ) {
        if(isset($fball_settings['comment_top'] ) && isset($fball_settings['comment_bottom'])) {
          $content = $html.'<br/>'.$content.'<br/>'.$html;
        }
        else {
          if(isset($fball_settings['comment_top'])){
            $content = $html.$content;
          }
          elseif (isset($fball_settings['comment_bottom'])){
            $content = $content.$html;
          }
        }
      }
      return $content;
    }
    add_filter('the_content', 'facebookall_add_fb_comments');

    Hi, thanx for the php shortcode but now i have double comment box, how to remove the first one???

    Hi, i would like to know how to move comments as i have related post widget below posts and comments are in between.

    I would really appreciate the help.

    Thread Starter gpsy1

    (@gpsy1)

    Hi Fabrix, thanks for replay. Well, i did create pages named contact and index, maybe sound dumb but i don’t know how i place them in the (m) folder in public_html. I created them with WordPress, add new page, slug contact & index and they are now in my main wordpress installation. How i add them to the subdomain (M) folder??? Subdomain m.mysite.com is still blank page.

    ps: I simply created subdomain named “m” with my cPanel, didn’t add nothing in it! Should i add something there? How?

    Thanks for help

    Thread Starter gpsy1

    (@gpsy1)

    This is what i did so far:

    I try this post using code to functions.php

    add_filter( 'the_category', 'replace_cat_tag' );
    
    function replace_cat_tag ( $text ) {
    $text = str_replace('rel="category tag"', "", $text); return $text;
    }

    – DIDNT WORK

    Also this post using code to wp-includes/category-template.php
    $rel = ( is_object( $wp_rewrite ) && $wp_rewrite->using_permalinks() ) ? 'rel="tag"' : 'rel="category"'; – DIDNT WORK

    And this post using code to functions.php

    function remove_category_list_rel( $output ) {
        // Remove rel attribute from the category list
        return str_replace( ' rel="category tag"', '', $output );
    }
    
    add_filter( 'wp_list_categories', 'remove_category_list_rel' );
    add_filter( 'the_category', 'remove_category_list_rel' );

    – DIDNT WORK

    Also this post using code to functions.php

    function remove_category_list_rel($output)
    {
    $output = str_replace(‘rel="category tag"’, "", $output);
    return $output;
    }

    – DIDN’T WORK

    and last this post using code in functions.php
    add_filter( 'the_category', 'add_nofollow_cat' ); function add_nofollow_cat( $text ) { $text = str_replace('rel="category tag"', "", $text); return $text; } – DIDN’T WORK

    No more ideas, please help!!!

    Thread Starter gpsy1

    (@gpsy1)

    It make sense what you say, i shouldn’t be asking here about search and ranking problems.

    The thing is, i have total 46 categories and subcategories on my blog and i’m getting 51 error with w3. Which means if i can fix this category rel errors i will be having only 5 errors total, which sound really good to me.

    So please, if im not asking too much, can you try to explain this rel issue to me and how to fix it.

    Thank you

    Thread Starter gpsy1

    (@gpsy1)

    Hello Andrew, thanx for the quick replay.

    Im not bothered by those errors as the blog works fine and i have no issues.

    But someone advise me that it would be good if my blog have validated html and since i don’t understand what the problems are i would like to at least understand what’s going on. I have been checking few different themes and more or less many of them don’t validate 100%. I manage to find only one that does.

    My question is:
    1. Does this error affect my blog,ratings or search rankings of my blog in any way?
    2. Do i need to fix it?
    3. If YES what can i do to fix it?

    Thanx

Viewing 15 replies - 31 through 45 (of 105 total)