• Resolved Tevya

    (@thefiddler)


    It would be really cool if you added a network-wide option in Multisite. Even if there’s no scheduled option, manual only, it would still be very helpful to be able to run this on an entire Multisite database, from one place, instead of having to run from each individual sub-site.

    OR another option would be something in the Network settings to just set the settings for all sub-sites, and hide it from their admin settings. Especially if you could bulk-schedule them. Eg. start the 1st site at 0100 hrs, then run the the next at 0105, and each one thereafter every 5 minutes. 5 minutes should be plenty for each site to run, but you could optimize 20 or 40 sites in a hour or 2.

    https://www.ads-software.com/plugins/rvg-optimize-database/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor cageehv

    (@cageehv)

    Hey Tevya,

    These ‘Multisites’ are using the same database (with different table prefixes), right?

    In that case I have to figure out the prefixes and then they can run simultanously (well, sequentially, that is)

    Is that what you mean?

    Rolf

    Plugin Contributor cageehv

    (@cageehv)

    BTW: thanks for your six stars ??

    Thread Starter Tevya

    (@thefiddler)

    Hehe. You’re welcome! ??

    Yeah, so the main site on the multisite just uses the normal wp_ prefix. While other sites use wp_2_, wp_3_, etc in the order they were added. Each site has an ID assigned just like a post, and that’s used for the table prefix.

    So ideally, when the plugin is network activated on Multisite, it would have the same settings it has now, but only in the Network Admin. So we could still run it manually and/or schedule it, as on single-site, but from the network admin (and only on the network admin where only super admins can access), and it will run for the entire database/multisite network. Does that make sense?

    I was trying to help another dev unfamiliar with Multisite, to make his plugin have a network-wide setting of the same sort. You can see that thread here: https://www.ads-software.com/support/topic/feature-request-network-wide-setting-for-multisite some of those same resources may be of help to you here.

    Speaking of prefixes, if I’ve used a security plugin to change the default “wp_” prefix to something else (on a normal single-site WP install), does that interfere with your plugin’s functionality at all?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feature request: Network-wide option for Multisite?’ is closed to new replies.