English flagItalian flagKorean flagChinese (Simplified) flagChinese (Traditional) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroatian flagDanish flagFinnish flagHindi flagPolish flagRomanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flagSlovak flagSlovenian flagUkrainian flagVietnamese flagAlbanian flagEstonian flagGalician flagMaltese flagThai flagTurkish flagHungarian flagBelarus flagIrish flagIcelandic flagMacedonian flagMalay flagPersian flag

Posts Tagged ‘wpmu’

Want to use a WordPress plugins shorttag inside your template files?

Use this nifty php snippet to call the shorttag properly!

So, I know that many of you use shorttags for plugins, simply drop the short-tag onto a post or page and voila! the plugin function is included.

Some times you just want to paste a plugins short-tag directly into your wordpress template files.. If you have tried this before you’ll notice that it simply outputs the shorttag, and nothing is included..

IF however, you want that plugin function to be called somewhere else, like in your template files themselves, then you must use a php snippet to call the shorttag.

So, Use this code to call short tags/ short codes in your themes template files:

{code type=php}<?php echo do_shortcode(“[your-shorttag]”); ?>{/code}

This will simply run the plugins shortag in your template files as if it was a real wordpress engine short code


Download The Dashboard CMS Plugin For WP2.9+, WPMU2.9+, and Wordpres 3I really like the Dashboard Content Management Plugin. Personally I have it auto activated on my wpmu2.9 sites and network activated on my wp3 installs. its big easy buttons really make the dashboard friendly for my clients.

Problem is its not wp3 compatible! ..Until now!

So I decided to update the Dashboard CMS Plugin for WP3 and legacy compatibility. So this plugin will handle WP2.9+, WPMU2.9, and WordPress 3! Enjoy!

*note: I found a wp3 version that does user privilege checks before showing each button. but this version was legacy unfriendly, so i merged the two files together using get_version().

So this version is 2.9 and 3 compatible, and it checks the users level to determine if it should display each button!


Plugin Management vs Plugin Commander, With WordPress MU Or Multi-Site

Plugin Management is far superior to Plugin Commander,

– The Problem is, Plugin Management is not WordPress 3 compatible.. Until Now!

So, I was recently working on a clients site. They were using the new wp3 and total commander. I prefer the wpmu dev teams plugin management plugin as I can disable a user from being able to activate a certain plugin.

Download the Updated Plugin Management Zip Now

So this client had a plugin that allowed php to be accepted in text widgets. now this is obviously a large security hole, and should only be available to the super admin (i.e Me). But with wp3, or plugin commander, you cant disable it from the plugin menu! A sub-blog administrator can go to the plugins menu and choose to enable the php widget! BIG problem. So I looked on different threads and found the only advice was ‘disable the plugin menu’, but what if you want your users to be able to enable certain plugins but not others? my users can enable facebook connect, nextgen gallery, twitter connect, etc, etc, but cannot enable any php allowed widgets, or any other unsecure plugins because i am using plugin mangement on wp3!

If this is exciting to you its because the wpmu team says ‘its difficult to find time for things that are free..’ meaning they havnt updated the plugin for wp3 yet. So, i went ahead and did it myself.

basically, wpmu-admin.php was replaced with ms-admin.php. So i made some minor corrections to the php, and voila! WP3 Compatible Plugin Management Plugin!

To Install:

Add the .php to /wp-content/mu-plugins/

IMPORTANT! Requires:

WP 3+

Use the Older Version for anything under wordpress 3.0