November 3, 2010 at 8:56 pm | PHP, Windows | No comment
If you want to make simple standalone command-line apps in Windows using PHP, go download the Bambalam PHP EXE Compiler/Embedder. It can’t get much simpler.
Write your code, run compile.bat, and Bambalam! you’ve got you app.
For using command-line parameters, check out these variables:
$_SERVER['argc']; // number of arguments
$_SERVER['argv']; // array of arguments
November 2, 2010 at 9:01 pm | PHP | 2 comments
This is a list of all the plugins I used on a recent project that worked well together to streamline WordPress for better use as a CMS. Simple Fields worked really well for having a different banner image on each page.
Admin Management Xtended
WordPress 2.7+ only. Extends admin functionalities by introducing: toggling post/page visibility inline, changing page order with drag’n'drop, inline category management, inline tag management, changing publication date inline, changing post slug inline, toggling comment status open/closed, hide draft posts, change media order, change media description inline, toggling link visibility, changing link categories
By Oliver Schlöbe | Visit plugin site
Admin Menu Editor
Lets you directly edit the WordPress admin menu. You can re-order, hide or rename existing menus, add custom menus and more.
By Janis Elsts | Visit plugin site
CMS Dashboard
Big user friendly buttons to make your clients happy and your wordpress a better CMS
By Ross Johnson | Visit plugin site
CMS Tree Page View
Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. By using the tree you can edit, view, add pages and even search pages (useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won’t get any easier than this!
By Pär Thernström | Visit plugin site
Members
A user, role, and content management plugin for controlling permissions and access. A plugin for making WordPress a more powerful CMS.
By Justin Tadlock | Visit plugin site
Simple Fields
Add groups of textareas, input-fields, dropdowns, radiobuttons, checkboxes and files to your edit post screen.
By Pär Thernström | Visit plugin site
TinyMCE Advanced
Enables advanced features and plugins in TinyMCE, the visual editor in WordPress.
By Andrew Ozz | Visit plugin site
White Label CMS
A plugin that allows you to brand wordpress CMS as your own
By www.videousermanuals.com | Visit plugin site
October 8, 2009 at 4:52 pm | PHP | No comment
Quick n’ Simple. Check it:
function strtoslug($str) {
$str = strtolower(trim($str));
$str = preg_replace('/[^a-z0-9-]/', '-', $str);
$str = preg_replace('/-+/', "-", $str);
return $str;
}