Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

task check_plugin_updates-ari-fancy-lightbox runs
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: task check_plugin_updates-ari-fancy-lightbox runs
#65488
task check_plugin_updates-ari-fancy-lightbox runs 4 Years, 7 Months ago Karma: 0
Hi There,

We're seeing the CRON job to check for updates on your plugin set to every 2 hours (which is WAY too often) but instead it's running like every minute.
Any way to get that changed to just use the standard WordPress update checker that runs I think, daily? Just like all of our other plugins?
Or is it because I bought the pro version that you have to run you're own CRON task?

Thanks,
Kim
The administrator has disabled public write access.
 
#65491
Re:task check_plugin_updates-ari-fancy-lightbox runs 4 Years, 7 Months ago Karma: 748
Hello,

It is not possible to use standard WordPress update checker because it works only with WordPress plugin repository. According to repository rules it accepts only free plugins so all commercial plugins use own update system.

We will add ability to configure frequency in plugin settings for check update task in a future version of the plugin.

Currently timeout can be changed in <plugin_directory>/includes/class-plugin.php file. See check_plugin_update_init() method. For example replace the following code:

Code:


$updateChecker = \PucFactory::buildUpdateChecker(
            'http://www.ari-soft.com/wordpress/arifancylightbox_update.php',
            ARIFANCYLIGHTBOX_EXEC_FILE,
            ARIFANCYLIGHTBOX_SLUG,
            2
        );



with the following one to check update each 24 hours:

Code:


$updateChecker = \PucFactory::buildUpdateChecker(
            'http://www.ari-soft.com/wordpress/arifancylightbox_update.php',
            ARIFANCYLIGHTBOX_EXEC_FILE,
            ARIFANCYLIGHTBOX_SLUG,
            24
        );



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1