The MU forums have moved to WordPress.org

How do you make a plugin accessible only for admin (9 posts)

  1. gpo1
    Member
    Posted 15 years ago #

    I want to make an e-commence plugin used only by admin and not accessible/visible to users.
    So that they don't mess about or see private data.
    How is it done?

  2. Frumph
    Member
    Posted 15 years ago #

    I use Filter-Plugin

    http://wpmu.org/wordpress-mu-plugin-filter/

    http://wpmudevorg.wordpress.com/project/Wordpress-MU-Plugin-Filter

    it's as easy as just putting "SiteAdminOnly" in the Plugin Name: section of the plugin

  3. gpo1
    Member
    Posted 15 years ago #

    Thanks I want to use wp-e-commerce plugin, When you say plugin name,do I just rename the folder SiteAdminOnly or what?

  4. Ovidiu
    Member
    Posted 15 years ago #

    well, instead of modifying the plugins you could use plugin commander.

    otherwise I noticed gp01 asked for admin not site admin... if you want to restrict to side admin plugin commander or the above mentioned plugin might help, if you are talking about admin I don't know how to make that...

    @gp01: you "edit" the plugin, open it with an editor then change the plugin name like explained and it'll work...

    btw. I bet your next question will be which file to edit, right? :-)

  5. vishywashi
    Member
    Posted 15 years ago #

    @Ovidiu - i did all this and the plugins are hidden in the plugin pages in the footer. however, they are still visible when the user clicks on the "settings" tab. they appear on the top horizontal bar. how do i hide them?

  6. VentureMaker
    Member
    Posted 15 years ago #

    Are you sure that it is still visible? Have you logged in AS USER and checked?

  7. gpo1
    Member
    Posted 15 years ago #

    Which method is better Filter-Plugin or plugin commander?

  8. Ovidiu
    Member
    Posted 15 years ago #

    I prefer plugi ncommander as you don't have to edit the plugins as that means editing the plugins each time a new version comes out. But thats just my personal preference.

  9. VentureMaker
    Member
    Posted 15 years ago #

    I prefer plugin commander :)

About this Topic

  • Started 15 years ago by gpo1
  • Latest reply from VentureMaker