• Resolved fanalejr

    (@fanalejr)


    Hi – we run jetpack on a rather large multisite installation. We also remove some modules from being available to our users (we use a plugin to do this but I know you guys have filters that can also do it) – I’m wondering if it’s possible to remove the “jump start” feature that people see when they first activate, as some of the modules that would be in that jumpstart are not available to our members – which is, i’m assuming, why when they click on jumpstart it just spins and never finishes? Trying to avoid that.

    Thanks

    https://www.ads-software.com/plugins/jetpack/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Jetpack’s Jumpstart status is saved as a flag in Jetpack options, and decides whether or not to show the Jump Start functionality. 4 statii are available:

    • new_connection: Jumpstart is shown for brand new connections
    • jumpstart_activated: Jump Start has been activated, and won’t be displayed again.
    • jetpack_action_taken: One or more modules were already activated manually. Jumpstart is dismissed.
    • jumpstart_dismissed: Jumpstart was dismissed by the user.

    You could consequently change that option to jumpstart_dismissed to force dismiss Jumpstart as soon as a site gets connected to WordPress.com. To do that at the right time, you can use the jetpack_site_registered action.

    Here is how you could implement this:

    /**
     * Never display the Jetpack Jumpstart module.
     */
    function jeherve_force_dismiss_jetpack_jumpstart() {
    	if ( class_exists( 'Jetpack_Options' ) ) {
    		Jetpack_Options::update_option( 'jumpstart', 'jumpstart_dismissed' );
    	}
    }
    add_action( 'jetpack_site_registered', 'jeherve_force_dismiss_jetpack_jumpstart' );

    I hope this helps.

    Thread Starter fanalejr

    (@fanalejr)

    Jeremy, that code worked great – tested on our staging server and it brings the user straight to the jetpack dashboard when connecting now. The only other problem we have is the wordpress.com tools section on the dashboard does the same thing. We don’t allow for some of the options there so if someone clicks “activate features” it does the same thing (mainly the automatic updates) I’m not sure which module controls the Automatic updates but is it possible to get rid of that? Seems like you guys have a ton of hooks/filters to really control all of this, which is awesome, so figure its worth a shot.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    This section can’t really be edited, removed, or deactivated. Your users will be able to access the site from WordPress.com as soon as they connect it to WordPress.com.

    You don’t have to worry about automatic updates, though. Activating / Deactivating / Updating plugins will only be available to them if they have the permissions to manage these options on your Multisite network.

    If you do allow them to manage plugins, you could still stop them from activating automatic updates thanks to the AUTOMATIC_UPDATER_DISABLED constant, as explained here:
    https://codex.www.ads-software.com/Configuring_Automatic_Background_Updates#Constant_to_Disable_All_Updates

    Jetpack and WordPress.com will respect that constant, and won’t automatically update any of plugins when that constant is active.

    If you’d like to remove that section from their dashboard, you could use CSS, like so:

    function jeherve_custom_jp_admin_css() {
    	$css = '
    	.nux-intro .wpcom {
    	    display: none;
    	}
    
    	@media (min-width: 782px) {
    	    .nux-intro .j-lrg-4 {
    	        width: 50%;
    	    }
    	}
    	';
    	wp_add_inline_style( 'jetpack-admin', $css );
    }
    add_action( 'admin_print_styles', 'jeherve_custom_jp_admin_css' );

    2 notes about this, though:

    • This CSS resizes the 2 other columns, but only on large screens. You’d need to handle every breakpoint to make things look good on every device.
    • The entire Jetpack admin screen will be completely redesigned in Jetpack 4.3, scheduled to be released in a few months. Once you’ll be running that version, this CSS won’t be very useful anymore.

    I hope this helps.

    Thread Starter fanalejr

    (@fanalejr)

    Man, I don’t know why I didn’t think to tackle this one with simple CSS – I’ll make a note to check and see what we have for the 4.3 update when it arrives.

    Want to thank you for taking the time to help me out here, you guys do a great job.

    I accidently clicked on jump start now I don’t know how to use other features . please help me

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    @siddhabt You can go to Jetpack > Settings in your dashboard to enable and disable Jetpack features.

    You can also access this page to get a quick view of all the modules available on your site:
    https://yoursite.com/wp-admin/admin.php?page=jetpack_modules

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove Jumpstart Functionality?’ is closed to new replies.