Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Module Control for Jetpack

Descriere

Jetpack adds powerful features… but sometimes we don’t want them all. This plugin brings additional control over Jetpack modules.

caracteristicile

  1. Blacklist / remove individual Jetpack modules.
  2. Prevent module auto-activation on connection or after an upgrade.
  3. Allow activation of Jetpack modules without a WordPress.com connection.
  4. Single site and Multisite compatible.

Exemple

In most use cases, a carefully considered combination of Jetpack modules can be a really good thing. But not always is much consideration being done beforehand. Or site admins just don’t know all the implications…

  • Maybe your Nginx web server uses FastCGI caching, making it incompatible with the Mobile Theme module? Blacklist that module to prevent any admin from activating it.
  • Do you already a light box provided by your theme or another plugin? Then blacklist the Carousel module to prevent accidental activation.
  • Or you’re running a Multisite and do not want any admins monitoring uptime with the Monitor module just to call you every time their site is briefly inaccessible?
  • Or you offer your own backup service and do not care much for VaultPress competition?
  • You’re running a school network and (some) sites are managed by minors who are not allowed to sign up for an account at WordPress.com? Then use the Jetpack Development Mode option to allow usage of modules that do not require a connection.

Any one of Jetpack’s modules can bring overlapping or even conflicting functionality. In such cases, being able to prevent (accidental) activation is a good thing.

Single site and Multisite

Although the original idea arose on a multisite installation, Jetpack Module Control is developed for both single and multisite installations.

On multisite, it can only be network activated and allows global rules for Jetpack on all sites. At this point it also allows per-site changes by Super Admin only. Jetpack itself can, but does not need to be, network activated.

For single site installations, plugin settings can be locked down by adding define('JETPACK_MC_LOCKDOWN', true) to wp-config.php for complete security. This can be useful to prevent other admins being able to reactivate blacklisted modules.

Dezvoltare

The project can be forked and or contributed to on Github.

All contributions – be it in the form of feature requests, bug reports, translations or code – are welcome!

Capturi ecran

  • Options section with Blacklist.

Instalare

  1. Install Jetpack Module Control either via the WordPress.org plugin directory, or by uploading the files to your server.
  2. After activating the plugin, go to either Settings > General (on single site) or Network Admin > Settings (on multisite) you can find the new Jetpack Module Control section.
  3. Select any module you wish to remove and save settings.
  4. If you are on a single site installation and you wish to prevent other admins from reactivating any blacklisted modules, add define('JETPACK_MC_LOCKDOWN', true); to your wp-config.php to lock down settings.
  5. That’s it.

Recenzii

25 noiembrie 2021
The latest version (1.6) requires JetPack >= 8.8.0 for using JetPack without a connected wordpress.com account. I think it would have been (and still could be) better if you test the JetPack version and use the jetpack_development_mode or jetpack_offline_mode filter as appropriate (though I don’t see why Automattic decided to rename it). If already using a plugin such as Unplug JetPack, ‘Use Jetpack modules without a WordPress.com connection’ is checked but greyed out. However, the setting from the other plugin is overwritten by your filter which actually sets it to false (unless it has been previously saved as checked whilst not greyed out). You need to respect the previously set value passed to your Jetpack_Module_Control::development_mode() filter instead of using false as the default (and pass that value to get_option('jetpack_mc_development_mode') as the default). It would also be nice if that setting was initialized on the basis of other installed plugins that affect it, so after deactiviting other plugins it retained its value. I think you’d actually need to invoke the jetpack_offline_mode (or jetpack_development_mode) filter (or perhaps use the Automattic\Jetpack\Status::is_offline_mode()/is_development_mode() method) to find out what other plugins are actually setting. Otherwise looks very good and slimline (just one PHP file with fewer than 1,000 lines).
31 octombrie 2019
like the fact that you can ban(blacklist) features in jetpack! Very good considering that jetpacks tends to do what it wants on your website.
13 august 2018 1 răspuns
Tames the beast known as Jetpack. Jetpack just seems to be getting worse all the time… This plugin works pretty good at getting some control back over it. Thanks, Ravan
Citește toate cele 11 recenzii

Contributori și dezvoltatori

„Module Control for Jetpack” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

„Module Control for Jetpack” a fost tradus în 5 locale. Mulțumim traducătorilor pentru contribuția lor.

Tradu „Module Control for Jetpack” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

1.6

Date: 2020/08/19

  • Replace jetpack_development_mode with jetpack_offline_mode filter
  • New module icons
  • Shorter list when Offline Mode is activated

1.5

Date: 2016/12/07

  • NEW: option to allow site admins override contributed by @harshit_ps https://github.com/RavanH/jetpack-module-control/pull/8

1.4.2

Date: 2016/04/14

  • Text domain name change to correspond with plugin slug

1.4.1

Date: 2016/04/01

  • Added FR/NL translation files

1.4

Date: 2016/03/29

  • Allow per site settings by Super Admin
  • Added Sitemaps to known modules

1.3

Date: 2015/09/02

  • Module names now translated using jetpack.mo
  • BUGFIX options not saving deactivation
  • BUGFIX translation files not found

1.2

Date: 2015/08/01

  • Fix „Missing argument 1 for Jetpack_Module_Control::add_settings_section()” https://github.com/RavanH/jetpack-module-control/issues/2

1.1

Date: 2015/05/11

  • Detect the Unplug Jetpack plugin

1.0

Date: 2015/05/05

  • Jetpack Debug Mode to allow modules without connection
  • Show which modules require a connection

0.4

Date: 2015/05/01

  • Settings action link on Network plugins page

0.3

Date: 2015/04/27

  • Added dashicons

0.2

Date: 2015/04/26

  • Added network options

0.1

Date: 2015/04/25

  • Lansare inițială