• Resolved Akash1202

    (@akash1202)


    I used the following steps:

    When i click on the Ads section and created an ads and set the image accordingly.

    After i go to Extended Restriction section and scheduled the time

    13:50:00 to 13:55:00 and use the widgets of Ads in side bar but my Ads not expired after this schedule.

    Please give your suggestion If Iam wrong or miss some steps

    https://wordpress.org/plugins/sam-pro-free/

Viewing 5 replies - 16 through 20 (of 20 total)
  • I am unable to getting image of ads after linking with ads-place on linux environment.
    any solution ? please

    Plugin Author minimus

    (@minimus)

    Send me email to minimus AT simplelib DOT com

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @akash1202, Please don’t make multiple accounts.

    Hi! Not sure if it’s related, but I noticed the plugin doesn’t go by the local time. I’m in Sweden, thus one hour ahead of UTC. When I schedule my ads, they go by the UTC time and not the local time I’ve set in the settings for WordPress, which is +1 hour.

    Line 459 to 463 in sam-pro-front.php could be something like:

    // Schedule
    $schedule = '';
    if($rules['schedule']) {
        $schedule = " AND IF(sa.schedule, '" . current_time('mysql') . "' BETWEEN sa.sdate AND sa.fdate, TRUE)";
    }

    Instead. Changing the MySQL function NOW() to WordPress equivalent which should respect the local time set, with the MySQL format. 🙂

    Regards,
    Fredrik

    Plugin Author minimus

    (@minimus)

    Thank you! Great idea. Will be fixed in the next version.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Problem in scheduling the post’ is closed to new replies.