Opsi Multisite pada WordPress 3.0 memungkinkan kita untuk membuat banyak blog dalam satu instalasi. Blog ini dapat kita pakai sendiri ataupun dibagi untuk umum sebagai suatu layanan blog gratis ataupun berbayar. Layanan blog gratis ini contohnya dapat kita lihat pada instalasi blogdetik.com dan yang paling populer tentu saja wordpress.com.

Kelemahan dari wordpress.com adalah kita tidak diberi hak untuk memanage plugin. Sebenarnya banyak plugin yang ditanam di wordpress.com tapi masalah mengaktifkan atau menonaktifkan plugin sepenuhnya ada di tangan Super Admin.

Lain halnya dengan blogdetik.com, mereka meyediakan halaman plugin agar kita bisa memilih plugin mana yang akan diaktifkan, meskipun ada plugin default yang sudah diaktifkan oleh Super Admin dan “harus” aktif di semua blog. Kelemahannya adalah tidak ada plugin yang tersembunyi atau hanya boleh dipakai sendiri oleh Super Admin alias si empunya instalasi. Sehingga si empunya tersebut tak bisa memakai plugin hebat semisal All In One SEO Pack atau Platinum SEO tanpa membuatnya tersembunyi dari pengguna biasa. Padahal plugin tersebut cukup memberatkan bagi server, yang bila diinstal di semua blog tentunya dapat membuat kita disuspend oleh yang punya hosting gara-gara terlalu banyak memakan resources.

Dari kedua skenario di atas nampak bahwa di wordpress.com para pengguna kurang bergairah gara-gara tak bisa mengaktifkan atau menonaktifkan plugin, sedangkan di blogdetik.com si empunya yang kurang bergairah buat blog di blognya sendiri gara-gara tak bisa memakai plugin secara eksklusif.

Untuk itulah saya membuat plugin ini. Exclude Plugins. Plugin ini bekerja dengan cara membolehkan sebagian plugin untuk pengguna biasa (included plugins) sementara menyembunyikan plugin-plugin hebat (excluded plugins) hanya untuk si empunya blog.  Jadilah semua senang :)

Download Exclude Plugins.

Glossary:
Super Admin: Administrator yang mempunyai kuasa penuh atas semua blog pada suatu instalasi WordPress multisite, berbeda dengan administrator biasa yang hanya memiliki kuasa atas blognya sendiri.
Hal yang juga menarik:

Hak Cipta

Semua skrip dan teknik dalam artikel di itx.web.id boleh digunakan sebagaimana kehendakmu tanpa perlu mencantumkan sumber. Kamu tidak boleh mengkopi seluruh artikel, dalam Bahasa Indonesia ataupun diterjemahkan ke dalam bahasa lain.

This post is also available in: English


Related Articles:

28 Comments

  • Kuldeep M says:

    hello…

    thank you for creating this plugin… I was looking for a similar one…

    I have installed the plugin and after going to the settings page, am getting the following error – please look into it

    “Exclude Plugins is not functioning. You have error in database: Table ‘dbname_mtAIvN.wp_0_exclude_plugins’ doesn’t exist”

    * I have replaced my database name with dbname

    Best Wishes,

    Kuldeep Mittapally

  • Giofilo says:

    Hi,

    Good work!
    Is it possibile to exclude plugins for a blog and include it for another blog?
    Can you say me how to do this?

    Thanks,
    Giovanni

    • itx says:

      Unfortunately Exclude Plugins only works for all blogs, not individual. But maybe in the future release i’ll write some code to do that.

      But if you just want to activate a plugin for a blog, you can do that by backend-ing the blog with your Super Admin account, then activate/deactivate the plugin you desire.

  • Giofilo says:

    Hi itx,

    I can donate something if you write that code as soon as possibile :-)

    An example of what I need:

    I have the blog “example.com”.
    I have these sites: “first.example.com”, “second.example.com”, “third.example.com”.
    The Super Admin can give Akismet to “second.example.com” but NOT to “first.example.com” and “third.example.com”.

    So, the admin of “second” can activate or deactivate Akismet.
    Instead, the admins of “first” and “third” CAN’T SEE Akismet in their plugins page in Dashboard.

    Thanks!

  • Kuldeep M says:

    pon using the ‘Exclude Plugins’ am getting the following error message:

    Exclude Plugins is not functioning. You have error in database: Table ‘DBNAME_mtAIvN.wp_0_exclude_plugins’ doesn’t exist

    Please provide any suggestions…

  • Giofilo says:

    Hi itx,

    Thanks but I have noticed that in the “options” of the Super Admin menu there’s an option for hide the plugin page to the users!
    This option solves my problem!
    Thank you for your help and sorry!

    Giovanni

    • itx says:

      hmmm. Is what you mean hiding the plugins for all normal user? or maybe i missed something?

  • labedford says:

    Using WP3 MS

    Getting the following error:

    Exclude Plugins is not functioning. You have error in database: Table ‘DBNAME_autowpz.wp_0_exclude_plugins’ doesn’t exist

    Shows up 4 times highlighted in yellow boxes when I go to exclude plugins in the plugins menu.

  • labedford says:

    Yes thanks new version fixed it.

  • r-a-y says:

    Looks like you took code from my plugin, Blue Network Plugins!

    Which is okay, but would be nice to say where you were inspired from!

  • Teguh Aditya says:

    pluginnya bagus, sudah di coba.. (yahoo)

  • julian says:

    mantap gan…. saya punya 2 blog, eh malah install 2 wordpress 2 hhehehe mau migrasi semua neh sekarang

  • Adam J Nowak says:

    Great Plugin!

    I have an issue that I hope you can help me with. The Plugin is working on all of my sites except one. This particular site is on a rackspace VPS.

    When you go to the individual blogs plugin admin page the included plugins are missing from the list. They show up above the list in the “All(2) and Network(2)” links but nothing below that. Screenshot: http://hyperspatial.com/ss.png

    Could it be a file permission issue?

  • gadgetstore says:

    Wow great plugin… ill try next time…

    Thanks for share :)

  • Cruz Clemon says:

    Thank you for the good variety with plugins, i have several favourites to, such as the all known “All IN SEO “as well as the easy privacy policy and also SEO friendly images (got some excellent results with it)and last but not least pretty links (great for cloacking) affiliate links…

  • jack says:

    hi, i’ve just upgraded the core or my wordpress install to 3.1 and now your wonderful plugin is throwing up this error message:

    Fatal error: Call to undefined function print_plugins_table() in /home/megatron/public_html/wp-content/plugins/exclude-plugins/exclude-plugins.php on line 156

    does this mean anything to you? i know wordpress have separated out the admin sections in this new version so i guess it might be connected to that. i hope you can help as i need this little gem working!

    regards, jack

  • brejktru says:

    I’ve written a patch for this plugin that also hides the excluded plugins’ options in the settings menu for non-super-admin users:

    It’s just two callback functions and two filter hooks.

    ###################################################################
    function enable_custom_menu_order() {
    return true;
    }

    function custom_menu_order($menu_order) {
    global $submenu, $current_user;

    get_currentuserinfo();
    if(is_super_admin($current_user->ID))
    return $menu_order;

    $excluding = exclude_plugins_get_option(‘excluded_plugins’);
    foreach ($submenu['options-general.php'] as $key => $m ) {
    foreach($excluding as $inc)
    {
    if( strpos($inc, $m[2]) !== false)
    {
    unset($submenu['options-general.php'][$key]);
    break;
    }
    }
    }

    return $menu_order;
    }

    add_filter( ‘custom_menu_order’, ‘enable_custom_menu_order’ );
    add_filter( ‘menu_order’, ‘custom_menu_order’ );
    ###################################################################

    Peace.

  • brejktru says:

    Ups I forgot to mention: if exclude_new is set to 1 the excluded_plugins field does not get populated so at the moment this only works with exclude_new set to 0. Maintainer?

  • Dhany says:

    pluginnya mantab, cuma kenapa ya, tiap kali cuma buka halaman setting plugin, selalu menghasilkan file error_log di direktori wp-admin/network/ yang isinya:

    [08-May-2011 08:47:12] PHP Warning: Invalid argument supplied for foreach() in /home/disamarkan/public_html/zzzz.com/wp-content/plugins/exclude-plugins/exclude-plugins.php on line 108

    fungsinya sendiri tidak terganggu, cuma warningnya saja yang mengganggu. WP 3.1.2.

    harap segera diupgrade gan, biar tambah mantab. apa perlu disuntik donasi? 8)

  • Mahdi says:

    Hi!
    Please update Exclude Plugins in WordPress 3.2.1

  • Illusanah says:

    We make deals at a price of turbulent nobility tote Chanel, the Chanel billfold! Sales and acquire of Chanel bags and wallets. All Products – Charitable Shipping randomly!
    [url=http://www.chanelbagsbuy.com/]シャネル ウォレット[/url]
    [url=http://www.chanelbagsbuy.com/]シャネル ウォレット[/url]
    [url=http://www.chanelbagsbuy.com/]シャネル 通販[/url]

  • Diet Alami says:

    Artikel yanng Menarik Sob

3 Trackbacks / Pingbacks

Leave a Reply

Your email address will not be published. Required fields are marked *

دانلود آهنگ خرید vpn