WordPress.org

Ready to get started?Download WordPress

Forums

myMag
Timestamp broken - scheduled posts and facebook import not working (2 posts)

  1. morningquickie
    Member
    Posted 2 years ago #

    About two months ago our pre-scheduled posts stoped working and also our Facebook comments importer stopped so I assume it's related to the same problem.

    Can anyone suggest what I can do about this? I've been doing it all manually and that's really not acceptable as it should be working.

    We use the myMag theme but I don't know if that has anything to do with it.

    Thanks in advance for your suggestions!

    http://wordpress.org/extend/themes/mymag/

  2. Daniel Hüsken
    Member
    Posted 2 years ago #

    I have seen that the plugin don't respect:

    http://codex.wordpress.org/Plugin_API/Filter_Reference/cron_schedules

    Change:

    function fbci_schedules() {
        return array(
    		'fifteenminutes' => array(
    			'interval' => 900, /* 60 seconds * 15 minutes */
    			'display' => 'Fifteen minutes'
    		),
    		'halfhour' => array(
    			'interval' => 1800, /* 60 seconds * 30 minutes */
    			'display' => 'Half hour'
    		)
    	);
    }

    to

    function fbci_schedules($schedules) {
    	$schedules['fifteenminutes'] = array(
    			'interval' => 900,
    			'display' => 'Fifteen minutes'
    		);
    	$schedules['halfhour'] = array(
    			'interval' => 1800,
    			'display' => 'Half hour'
    		);
    	return $schedules;
    }

    than i think it must work...

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic