Code Monkey home page Code Monkey logo

Comments (1)

ideadude avatar ideadude commented on June 20, 2024

We want a welcome/setup page with info like the following:

You are installing the Multisite Membership Add On. This Add On will help you to setup one "main" site on your network to handle membership sales and management. You can then activate this plugin on other sites in your network to have them check for membership at the main site.

Step 1. Choose one main site in your network to sell and manage memberships: [ defaults to blog 1 ]

Step 2. Which other sites on this network should check for membership at the main site:

[x] All of them. [ ] Specific sites.

[ Run Setup ]

When clicking this, it will (1) network deactivate the plugin if applicable, (2) save the main site id/db prefix to an option, and (3) activate the plugin on any subsite that was chosen.

We need to make sure that if this plugin is active on the main site that it DOESN'T remove the membership links/etc like it does. We need it still active so we can show the settings page.

There should be a version of this setup with similar information (same page/code), but worded in a way as "this is how it's setup, you can change it" instead of the first time setup language. Actually it would be best if we can have language that works both ways.

If "specific sites" is checked, we can show a message telling them to manually activate the plugin or we can show a list of sites with checkboxes to choose which ones.

Not sure how activating one plugin across many sites in a network will work. It will probably require a pretty involved JS app to do that one at a time similar to the "Upgrade Network" feature. So for sure, we should maybe just have a note to activate the plugin manually on subsites.

Alternatively, we can move to requiring that this plugin be activated at the network level with the settings enabling/disabling the plugin on certain subsites. Pretty minimal overhead on sites that won't have this active. Allows us to show admin messages on those sites as well/etc. If we do this, we should still allow for the case (as it is with existing users) where the plugin is only active on the subsites.

from pmpro-network-subsite.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.