Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I wasn’t sure how to do the suggestion of Bob (@robertjw) above as my line 381 is blank. Instead, I followed the lead of trumwill76 (@trumwill76) and downgraded. This is the first time I have ever downgraded a plugin but it was pretty easy. Here is a quick overview of the technique.

    https://kinsta.com/knowledgebase/download-older-versions-of-wordpress-plugins/

    Plus one on the wish for help on Flickr to work.

    Thread Starter Irishman

    (@irishman)

    I did see that tip but it didn’t seem to solve my problem so I didn’t try it. My mistake.

    Thank you for the great help. S2 and Quick Cache are great tools that work really great on my site. I am a Pro user of both and I appreciate the support and functionality.

    Problem solved.

    Thread Starter Irishman

    (@irishman)

    Yes. That appears to be working. Thank you very much for your help.

    Was this in the documentation? I looked for something like this and couldn’t find it.

    Did you ever find an answer to this? I have the same problem.

    I had a similar desire and couldn’t find it on the web so I spent some time and hacked it. This seems to work. Go to your WP plugins folder for Reblog and open the Refeed plugin. Towards the bottom of the document you will find this code:

    $q = sprintf(“INSERT INTO {$GLOBALS['tableposts']}
    (post_author, post_date, post_date_gmt, post_content, post_title, post_excerpt, post_name, post_modified, post_modified_gmt)
    VALUES (‘%s’, ‘%s’, ‘%s’, ‘%s’, ‘%s’, ‘%s’, ‘%s’, ‘%s’, ‘%s’)”,
    1, // pick an author, any author
    date(‘Y-m-d H:i:s’, parse_w3cdtf($item[‘dc’][‘date’])),
    gmdate(‘Y-m-d H:i:s’, parse_w3cdtf($item[‘dc’][‘date’])),
    mysql_real_escape_string(format_to_post(balanceTags($post_content))),
    mysql_real_escape_string($item[‘title’]),
    mysql_real_escape_string(format_to_post(balanceTags($item[‘summary’]))),
    mysql_real_escape_string($item[‘title’]),
    date(‘Y-m-d H:i:s’, parse_w3cdtf($item[‘dc’][‘date’])),
    gmdate(‘Y-m-d H:i:s’, parse_w3cdtf($item[‘dc’][‘date’])));

    Change it to this code:

    $q = sprintf(“INSERT INTO {$GLOBALS['tableposts']}
    (post_author, post_date, post_date_gmt, post_content, post_title, post_excerpt, post_name, post_modified, post_modified_gmt)
    VALUES (‘%s’, ‘%s’, ‘%s’, ‘%s’, ‘%s’, ‘%s’, ‘%s’, ‘%s’, ‘%s’)”,
    1, // pick an author, any author
    date(‘Y-m-d H:i:s’, intval($item[‘rb’][‘source_published_date’])), //date(‘Y-m-d H:i:s’,intval($item[‘rb’][‘source_published_date’]) – parse_w3cdtf($item[‘dc’][‘date’])
    gmdate(‘Y-m-d H:i:s’, intval($item[‘rb’][‘source_published_date’])),
    mysql_real_escape_string(format_to_post(balanceTags($post_content))),
    mysql_real_escape_string($item[‘title’]),
    mysql_real_escape_string(format_to_post(balanceTags($item[‘summary’]))),
    mysql_real_escape_string($item[‘title’]),
    date(‘Y-m-d H:i:s’, intval($item[‘rb’][‘source_published_date’])),
    gmdate(‘Y-m-d H:i:s’, intval($item[‘rb’][‘source_published_date’])));

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