Git Product home page Git Product logo

Comments (5)

johnbillion avatar johnbillion commented on June 28, 2024

Hi Ben!

The mexp-creds.php plugin is included, you can see it here. You just need to enter your API details and then activate the plugin.

I agree though that the setup instructions aren't great, but this is because the plugin was initially built for WordPress.com and Automattic are/were planning on adding it to Jetpack.

The plugin would be best served with an admin UI for fetching and entering your API details, but this isn't currently on the roadmap.

from media-explorer.

bendoh avatar bendoh commented on June 28, 2024

What I meant to say was that the plugin does not actually execute the code in mexp-creds.php, but I understand that the file itself is included in the plugin folder. I know this because I put a breakpoint on the first line of PHP in that file and it was never hit, and I also don't see any reference to that file anywhere in the executable plugin code.

The documentation in README.md leads one to believe that all one needs to do in order to set up the plugin is edit the mexp-creds.php file and then just activate the plugin, which isn't actually the case: you need to copy the code in that file and place it somewhere where it will actually be executed.

I'll happily make some adjustments to the documentation to outline this and also add more useful instructions for setting up the Google v3 API.

from media-explorer.

johnbillion avatar johnbillion commented on June 28, 2024

mexp-creds.php is a plugin in itself (you'll note it has a plugin header of its own). It needs activating separately from Media Explorer. The reason it's a separate plugin is because some of the sites that Media Explorer has been deployed on hook into the authentication hooks differently.

from media-explorer.

bendoh avatar bendoh commented on June 28, 2024

Aha, thanks for clarifying that. I see that now.

from media-explorer.

bendoh avatar bendoh commented on June 28, 2024

Put in a pull request related to this ticket that expands the README.md text with more specific instructions.

from media-explorer.

Related Issues (20)

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.