<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Es Developed - Fresh Website and Graphic Design &#187; PHP</title> <atom:link href="http://esdev.net/tags/php/feed/" rel="self" type="application/rss+xml" /><link>http://esdev.net</link> <description>Weblog</description> <lastBuildDate>Mon, 07 Jun 2010 13:35:21 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Build WordPress Sites Fast With the Thematic Theme Framework</title><link>http://esdev.net/build-wordpress-sites-fast-with-the-thematic-theme-framework/</link> <comments>http://esdev.net/build-wordpress-sites-fast-with-the-thematic-theme-framework/#comments</comments> <pubDate>Tue, 29 Sep 2009 11:09:42 +0000</pubDate> <dc:creator>Shawn</dc:creator> <category><![CDATA[web design]]></category> <category><![CDATA[blogs]]></category> <category><![CDATA[code]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[tutorials]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://esdev.net/?p=2566</guid> <description><![CDATA[
Photo Credit: Vladitto via Shutterstock
Lately, I&#8217;ve been using Thematic&#8211;a framework for building WordPress themes faster.
Thematic gives you a solid, bare-bones theme with reset CSS styles, a very basic layout, no color and limited typography. A clean slate.
Don&#8217;t Touch That Theme!
To create your theme, you don&#8217;t actually edit any of Thematic&#8217;s theme files. Instead, you make [...]]]></description> <content:encoded><![CDATA[<p><img
class="size-full wp-image-2600 alignnone" title="thematic-framework-hd" src="http://esdev.net/wp-content/uploads/2009/09/thematic-framework-hd1.jpg" alt="thematic-framework-hd" width="560" height="300" /><br
/> <span
class="article_caption">Photo Credit: <a
href="http://www.shutterstock.com/pic-37677523/stock-photo-abstract-blue-geometric-ceiling-in-office-center.html">Vladitto</a> via <a
href="http://www.shutterstock.com">Shutterstock</a></span></p><p>Lately, I&#8217;ve been using <a
href="http://themeshaper.com/thematic/">Thematic</a>&#8211;a framework for building <a
href="http://wordpress.org">WordPress</a> themes faster.</p><p>Thematic gives you a solid, bare-bones theme with reset CSS styles, a very basic layout, no color and limited typography. <a
href="http://themeshaper.com/demo/thematic/">A clean slate</a>.</p><h3>Don&#8217;t Touch That Theme!</h3><p><a
href="http://www.shutterstock.com/pic-18524428/stock-vector-do-not-touch-sign.html"><img
class="alignleft size-full wp-image-2603" title="do-not-touch-sign" src="http://esdev.net/wp-content/uploads/2009/09/do-not-touch-sign.png" alt="do-not-touch-sign" width="200" height="273" /></a>To create your theme, you don&#8217;t actually edit any of Thematic&#8217;s theme files. Instead, you make changes using a separate child theme.</p><p>It&#8217;s really powerful since you&#8217;re not actually touching any part of Thematic. You just get a nice starting place, without worries about future Thematic updates overwriting your code edits.</p><p>You don&#8217;t have to rewrite a bunch of code all over again&#8211;you&#8217;re just adding the bits that you want to be <em>different</em>. This works very much like the custom styles on WordPress.com hosted blogs.</p><p>I&#8217;ve collected together <strong>40+ Thematic resources, tutorials and links</strong> to help you get up and running faster.</p><p><span
id="more-2566"></span></p><h3>Thematic and WordPress Child Theme Basics</h3><ul><li><a
href="http://themeshaper.com/thematic/">Official Thematic Website</a></li><li><a
href="http://themeshaper.com/wordpress-child-theme-basics/">WordPress Child Theme Basics</a></li><li><a
href="http://themeshaper.com/modular-css-wordpress-child-themes/">Modular CSS</a></li><li><a
href="http://themeshaper.com/wordpress-theme-template-directory-structure-tutorial/">Theme Template Directory Structure</a></li></ul><h4>Theme Hooks</h4><ul><li><a
href="http://themeshaper.com/thematic-0961-is-live/">Thematic 0.9.6.1 Is Live</a> (<em>Updated 2/10/2010</em>)<br
/> Details about newest version. Contains new hooks and filters for even more control.</li><li><a
href="http://themeshaper.com/action-hooks-wordpress-child-themes/">Using Action Hooks in WordPress Child Themes</a></li><li><a
href="http://themeshaper.com/thematic/guide/?page_id=10">Theme Hooks</a></li><li><a
href="http://extralogical.net/2007/06/wphooks/">Adding Custom WordPress Hooks</a></li><li><a
href="http://themeshaper.com/filters-wordpress-child-themes/">Using Filter Hooks in WordPress Child Themes</a></li><li><a
href="http://themeshaper.com/thematic/guide/?page_id=12">Theme Filters</a></li><li><a
href="http://wpcandy.com/articles/frameworks-child-themes-filters-and-hook.html">Frameworks, Child Themes, Filters and Hooks?</a></li><li><a
href="http://venutip.com/content/right-way-override-theme-functions">Overriding Parent Theme Functions in Child Themes</a></li></ul><p> <script type='text/javascript'>/*<![CDATA[*/var m3_u = (location.protocol=='https:'?'https://esdev.net/adserver/www/delivery/ajs.php':'http://esdev.net/adserver/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=7");
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]&gt;/*]]>*/</script><noscript><a
href='http://esdev.net/adserver/www/delivery/ck.php?n=62581c&amp;cb=b1826b5c953e5339b56353d43627c7c0' target='_blank'><img
src='http://esdev.net/adserver/www/delivery/avw.php?zoneid=7&amp;cb=b1826b5c953e5339b56353d43627c7c0&amp;n=62581c' border='0' alt='' /></a></noscript></p><h3>Thematic Tutorials</h3><ul><li><a
href="http://www.cozmoslabs.com/2008/08/11/10-design-tips-for-your-custom-wordpress-theme-built-with-thematic/">10 Design Tips For Your Custom WordPress Theme Built With Thematic</a></li><li><a
href="http://themeshaper.com/functions-php-wordpress-child-themes/">Edit Your Theme With <em>Functions.php</em></a><br
/> Tons of fun by adding functions to edit your theme.</li><li><a
href="http://themeshaper.com/custom-page-template-redesign-blog/">How I Used a Custom Page Template to Redesign My Blog the Smart Way</a><br
/> Step-by-step creating a new child theme.</li><li><a
href="http://justintadlock.com/archives/2008/08/24/replacing-wordpress-content-with-an-excerpt-without-editing-theme-files">Replacing WordPress Content With an Excerpt in a Thematic Child Theme</a><br
/> How to replace <em>the_content()</em> with <em>the_excerpt()</em>&#8211;without touching your theme files.</li><li><a
href="http://www.cozmoslabs.com/2009/06/26/thematic-featured-posts/">Add &#8220;Featured Posts&#8221; to Your Thematic Child Theme</a></li><li><a
href="http://www.cozmoslabs.com/2008/09/07/use-wordpress-as-a-cms-with-thematic-part1/">Use WordPress as a CMS With Thematic: Part 1</a></li><li><a
href="http://www.cozmoslabs.com/2009/05/28/add-a-header-image-to-thematic-the-easy-way/">Add a Header Image to Thematic the Easy Way</a></li><li><a
href="http://www.cozmoslabs.com/2009/04/15/add-a-search-box-to-the-thematic-menu/">Add a Search Box to the Thematic Menu</a></li><li><a
href="http://papertreedesign.com/adding-theme-options-to-wordpress-child-themes/">Adding Theme Options to WordPress Themes</a><br
/> Creating theme option pages to your WordPress theme.</li><li><a
href="http://themeshaper.com/forums/">ThemeShaper Forums</a><br
/> If you get stuck, the Thematic Forums is the place to go for help.</li></ul><h3>Editing Parts of Your Theme With Thematic</h3><p>There is a whole series of tutorials on the Thematic website for edit particular parts of your WordPress theme:</p><ul><li><a
href="http://themeshaper.com/thematic-0961-is-live/">Thematic 0.9.6.1 Is  Live</a> (<em>Updated 2/10/2010</em>)<br
/> Details about newest Thematic version. Contains new hooks and filters for even  more control.</li><li><a
href="http://themeshaper.com/wordpress-themes-templates-tutorial/">WordPress Themes Template Tutorial Series</a></li><li><a
href="http://themeshaper.com/wordpress-theme-index-template-tutorial/">Working With the Index Template</a></li><li><a
href="http://themeshaper.com/thematic/guide/?page_id=64">Editing Your Thematic CSS</a></li><li><a
href="http://themeshaper.com/wordpress-theme-header-template-tutorial/">Editing the Header Template</a></li><li><a
href="http://themeshaper.com/wordpress-theme-sidebar-template/">Editing the Sidebar Template</a></li><li><a
href="http://themeshaper.com/wordpress-theme-single-post-post-attachment-404-templates-tutorial/">Editing the Single Post, Post Attachment and 404 Templates</a></li></ul><h3>Thematic Cheat Sheets</h3><ul><li><a
href="http://bluemandala.com/thematic/thematic-structure.html">Thematic Structure Cheat Sheet</a><br
/> A visual look at all of Thematic&#8217;s main elements&#8211;div&#8217;s, theme actions, hooks and widget areas. Very, very useful.</li><li><a
href="http://www.altamentedecorativo.com/?page_id=534">Widget-Ready Areas</a><br
/> Images of widget-ready areas for each major template and section of Thematic.</li></ul><h3>Thematic Child Themes</h3><p>There are already some nicely-designed Thematic child themes.</p><p><a
href="http://themeshaper.com/acamas-theme-clarity-elegance-power/">Acamas</a><br
/> <a
href="http://themeshaper.com/acamas-theme-clarity-elegance-power/"><img
class="alignnone size-thumbnail wp-image-2582" title="acamas-screen" src="http://esdev.net/wp-content/uploads/2009/09/acamas-screen-250x250.jpg" alt="acamas-screen" width="250" height="250" /></a></p><p><a
href="http://www.chris-wallace.com/2009/07/17/simplecartjs-a-free-wp-e-commerce-thematic-child-theme/">SimpleCart (js)</a> &#8211; E-commerce theme<br
/> <a
href="http://www.chris-wallace.com/2009/07/17/simplecartjs-a-free-wp-e-commerce-thematic-child-theme/"><img
class="alignnone size-thumbnail wp-image-2584" title="simplecart-e-commerce-theme-screen" src="http://esdev.net/wp-content/uploads/2009/09/simplecart-560x396-screen-250x250.png" alt="simplecart-e-commerce-theme-screen" width="250" height="250" /></a></p><p><a
href="http://design-notes.info/download/free-wordpress-theme-audry-release/">Audry</a><br
/> <a
href="http://design-notes.info/download/free-wordpress-theme-audry-release/"><img
class="alignnone size-full wp-image-2586" title="audry-screen" src="http://esdev.net/wp-content/uploads/2009/09/thumb-audry-screen.png" alt="audry-screen" width="159" height="117" /></a></p><p><a
href="http://www.smashingmagazine.com/2009/05/04/download-gallery-a-free-wordpress-theme/">Gallery</a><br
/> <a
href="http://www.smashingmagazine.com/2009/05/04/download-gallery-a-free-wordpress-theme/"><img
class="alignnone size-thumbnail wp-image-2587" title="gallery-theme-screen" src="http://esdev.net/wp-content/uploads/2009/09/gallery-theme-screen-250x250.jpg" alt="gallery-theme-screen" width="250" height="250" /></a></p><p><a
href="http://www.bendler.tv/?p=525">Aether</a><br
/> <a
href="http://www.bendler.tv/?p=525"><img
class="alignnone size-thumbnail wp-image-2588" title="aether-screen" src="http://esdev.net/wp-content/uploads/2009/09/aether_header-screen-250x250.png" alt="aether-screen" width="250" height="250" /></a></p><p><a
href="http://ableparris.com/2009/03/15/sugar-cane-a-sweet-wordpress-child-theme/">Sugar Cane</a><br
/> <a
href="http://ableparris.com/2009/03/15/sugar-cane-a-sweet-wordpress-child-theme/"><img
class="alignnone size-thumbnail wp-image-2589" title="sugar-cane-screen" src="http://esdev.net/wp-content/uploads/2009/09/sugar-cane-screen-250x250.jpg" alt="sugar-cane-screen" width="250" height="250" /></a></p><p><strong>Update:</strong> <a
href="http://www.matteostagi.it/eng/3hourstheme-a-tutorial-child-theme-for-thematic">3HoursTheme</a> (by Matteo Stagi. Also includes tutorials to help you to use the theme)<br
/> <a
href="http://www.matteostagi.it/eng/3hourstheme-a-tutorial-child-theme-for-thematic"><img
class="alignnone size-thumbnail wp-image-2619" title="3hourstheme-screen" src="http://esdev.net/wp-content/uploads/2009/09/3hourstheme_home-250x250.jpg" alt="3hourstheme-screen" width="250" height="250" /></a></p><h4><a
href="http://www.cozmoslabs.com/wordpress-themes/">Cosmos Labs</a></h4><p>I can&#8217;t include Thematic themes without mentioning Cosmos Labs. They have released several nice child themes. Here are a few.</p><p><a
href="http://www.cozmoslabs.com/2008/10/25/byty-free-child-theme-built-thematic/">Byty</a><br
/> <a
href="http://www.cozmoslabs.com/2008/10/25/byty-free-child-theme-built-thematic/"><img
class="alignnone size-thumbnail wp-image-2590" title="byty-screen" src="http://esdev.net/wp-content/uploads/2009/09/byty-screen-250x250.jpg" alt="byty-screen" width="250" height="250" /></a></p><p><a
href="http://www.cozmoslabs.com/2009/06/02/street-wordpress-theme/">Street</a><br
/> <a
href="http://www.cozmoslabs.com/2009/06/02/street-wordpress-theme/"><img
class="alignnone size-thumbnail wp-image-2591" title="street_theme" src="http://esdev.net/wp-content/uploads/2009/09/street_theme-250x250.gif" alt="street_theme" width="250" height="250" /></a></p><p><a
href="http://www.cozmoslabs.com/2009/07/20/early-morning-child-theme/">Early Morning</a><br
/> <a
href="http://www.cozmoslabs.com/2009/07/20/early-morning-child-theme/"><img
class="alignnone size-thumbnail wp-image-2592" title="early-morning-screen" src="http://esdev.net/wp-content/uploads/2009/09/early-morning-screen-250x250.jpg" alt="early-morning-screen" width="250" height="250" /></a></p><p><a
href="http://www.cozmoslabs.com/2009/04/07/green-anyone-try-commune-thematic-child-theme/">Commune</a><br
/> <a
href="http://www.cozmoslabs.com/2009/04/07/green-anyone-try-commune-thematic-child-theme/"><img
class="alignnone size-thumbnail wp-image-2593" title="commune_thumb-screen" src="http://esdev.net/wp-content/uploads/2009/09/commune_thumb-screen-250x200.jpg" alt="commune_thumb-screen" width="250" height="200" /></a></p><p><a
href="http://www.reflectionmedia.ro/2009/01/crystalline-a-crystal-sharp-child-theme-for-thematic/">Crystalline</a><br
/> <a
href="http://www.reflectionmedia.ro/2009/01/crystalline-a-crystal-sharp-child-theme-for-thematic/"><img
class="alignnone size-thumbnail wp-image-2594" title="crystalline_thumb-screen" src="http://esdev.net/wp-content/uploads/2009/09/crystalline_thumb-screen-250x176.jpg" alt="crystalline_thumb-screen" width="250" height="176" /></a></p><h4>Element Templates</h4><p>These are not full child themes, but themes for specific parts of a WordPress site that can be used along with another child theme.</p><ul><li><a
href="http://www.cozmoslabs.com/2009/07/31/awesome-thematic-templates/">Login and User Registration Page Templates For Thematic</a></li><li><a
href="http://www.cozmoslabs.com/2008/12/17/replacing-the-thematic-menu-with-a-dropdown-list-of-categories/">Replacing the Thematic Menu With a DropDown List of Categories</a></li></ul><p>Hopefully these links will give you a good place to start using Thematic.</p><h3>What Do You Use?</h3><p>Do you use Thematic? Do you use some other WordPress framework? Tell us in the comments.</p> ]]></content:encoded> <wfw:commentRss>http://esdev.net/build-wordpress-sites-fast-with-the-thematic-theme-framework/feed/</wfw:commentRss> <slash:comments>17</slash:comments> </item> <item><title>Letting Non-Admins View CyStats Stats in WordPress</title><link>http://esdev.net/letting-non-admins-view-cystats-stats-in-wordpress/</link> <comments>http://esdev.net/letting-non-admins-view-cystats-stats-in-wordpress/#comments</comments> <pubDate>Mon, 21 Sep 2009 17:23:50 +0000</pubDate> <dc:creator>Shawn</dc:creator> <category><![CDATA[web design]]></category> <category><![CDATA[blogs]]></category> <category><![CDATA[code]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[tutorials]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://esdev.net/?p=2510</guid> <description><![CDATA[The CyStats plugin is a great statistics plugin for WordPress. It has a ton of nice features, is easy to scan and displays all relevant stats (sans RSS feed stats) right from the WordPress backend.
The only problem I have is that it&#8217;s only viewable to registered WordPress users with an admin role. Editors, Authors and [...]]]></description> <content:encoded><![CDATA[<p>The <a
href="http://wordpress.org/extend/plugins/cystats/">CyStats plugin</a> is a great statistics plugin for WordPress. It has a ton of nice features, is easy to scan and displays all relevant stats (sans RSS feed stats) right from the WordPress backend.</p><blockquote><p>The only problem I have is that it&#8217;s only viewable to registered WordPress users with an admin role. Editors, Authors and Contributors can access the WordPress backend, but can&#8217;t view the stats.</p></blockquote><p>You <em>could</em> always install a bloated role manager plugin just so you can allow others to view CyStats. But this is overkill unless you need to adjust roles for some other reason.</p><p>Here&#8217;s a quick way to <a
href="http://wordpress.org/support/topic/234434">allow non-admin users to view your CyStats stats</a>:</p><ol><li>In WordPress, go to <em>Plugins</em> &gt; <em>Editor</em></li><li>Select <em>CyStats</em> from the upper right dropdown list</li><li>Choose <em>cystats/includes/admin.php</em> from the list of plugin files on the right.<br
/> Alternatively, FTP to the <em>wp-content/plugins/cystats/includes/</em> dir and edit the <em>admin.php</em> file.</li><li>Notice there are several &#8216;<em>8</em>&#8217;s (or possibly &#8216;<em>9</em>&#8217;s or &#8216;<em>10</em>&#8217;s). These are the numbers for the <a
title="WordPress user roles explained" href="http://codex.wordpress.org/Roles_and_Capabilities#level_0">WordPress user levels/roles</a>. 8-10 are admins, 7-5 are editors, etc.:<pre><code>/**
 * Builds admin panem menu for Plugin
 */
if(!function_exists('cystats_create_admin_menu')){
	function cystats_create_admin_menu() {
		if (function_exists('add_options_page')) {
			add_options_page('CyStats Options Page', 'CyStats ', 8, 'cystats-options', 'cystats_admin_options');
		}
		if (function_exists('add_menu_page')) {
			add_menu_page('CyStats Statistics Plugin', 'CyStats', 8, __FILE__, 'cystats_admin_index');
		}
		if (function_exists('add_submenu_page')) {
			add_submenu_page(__FILE__, htmlspecialchars(__('CyStats: Index','cystats')), htmlspecialchars(__('Index','cystats')), 8, __FILE__, 'cystats_admin_index');
			add_submenu_page(__FILE__, htmlspecialchars(__('CyStats: Blog','cystats')), htmlspecialchars(__('Blog','cystats')), 8, 'cystats-blog', 'cystats_admin_blog');
			add_submenu_page(__FILE__, htmlspecialchars(__('CyStats: Clients','cystats')), htmlspecialchars(__('Clients','cystats')), 8, 'cystats-clients', 'cystats_admin_clients');
			add_submenu_page(__FILE__, htmlspecialchars(__('CyStats: Referer','cystats')), htmlspecialchars(__('Referer','cystats')), 8, 'cystats-referer', 'cystats_admin_referer');
			add_submenu_page(__FILE__, htmlspecialchars(__('CyStats: Robots &amp; Tools','cystats')), htmlspecialchars(__('Robots/Tools','cystats')), 8, 'cystats-robots', 'cystats_admin_robots');
			add_submenu_page(__FILE__, htmlspecialchars(__('CyStats: Pages','cystats')), htmlspecialchars(__('Pages','cystats')), 8, 'cystats-pages', 'cystats_admin_pages');
			add_submenu_page(__FILE__, htmlspecialchars(__('CyStats: Time','cystats')), htmlspecialchars(__('Time','cystats')), 8, 'cystats-time', 'cystats_admin_time');
			add_submenu_page(__FILE__, htmlspecialchars(__('CyStats: Options','cystats')),htmlspecialchars(__('Options','cystats')), 8, 'cystats-options', 'cystats_admin_options');
		}
	}
}</code></pre></li><li>If you want editors (as well as admins) to be able to view the stats, change the <em>8</em>, <em>9</em> or 10 throughout the includes/admin.php file to the number of the user level your want (ie 7, 6 or 5 for editors).</li><li>If you only want the <em>admin</em> to be able to edit the CyStats options/settings (recommended), don&#8217;t change the final 8 (or 9 or 10). It looks like this:<pre><code>add_submenu_page(__FILE__, htmlspecialchars(__('CyStats: Options','cystats')),htmlspecialchars(__('Options','cystats')), 8, 'cystats-options', 'cystats_admin_options');</code></pre></li></ol><p>That&#8217;s it! No editing the database.</p><p
class="article_caption"><strong>Note</strong>: You&#8217;ll probably need to make these changes again when you update the CyStats plugin, so this isn&#8217;t a perfect solution, but the CyStats plugin isn&#8217;t updated too often.</p><p>Enjoy.<br
/> <script type='text/javascript'>/*<![CDATA[*/var m3_u = (location.protocol=='https:'?'https://esdev.net/adserver/www/delivery/ajs.php':'http://esdev.net/adserver/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=7");
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]&gt;/*]]>*/</script><noscript><a
href='http://esdev.net/adserver/www/delivery/ck.php?n=f7bda3&amp;cb=c0fbe39b828d2b9f0a4022d264fdc018' target='_blank'><img
src='http://esdev.net/adserver/www/delivery/avw.php?zoneid=7&amp;cb=c0fbe39b828d2b9f0a4022d264fdc018&amp;n=f7bda3' border='0' alt='' /></a></noscript></p> ]]></content:encoded> <wfw:commentRss>http://esdev.net/letting-non-admins-view-cystats-stats-in-wordpress/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Cheat Sheets For Web Designers</title><link>http://esdev.net/cheat-sheets-for-web-designers/</link> <comments>http://esdev.net/cheat-sheets-for-web-designers/#comments</comments> <pubDate>Mon, 14 Sep 2009 11:03:42 +0000</pubDate> <dc:creator>Shawn</dc:creator> <category><![CDATA[freebies]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[code]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[HTML]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[PHP]]></category><guid
isPermaLink="false">http://esdev.net/?p=2459</guid> <description><![CDATA[
Remember the mottoes you learned when you were a kid: &#8220;Winners don&#8217;t do drugs&#8221;, and &#8220;Cheaters never win&#8221;?
Well, a little cheating never hurt anyone… when it comes to using cheat sheets, that is.
TechPosters has a colossal collection of cheat sheets for just about every program, coding language or OS that uses code or keyboard shortcuts.
Since [...]]]></description> <content:encoded><![CDATA[<p><img
class="aligncenter size-full wp-image-2464" title="cheat-sheets-for-web-designers-hd" src="http://esdev.net/wp-content/uploads/2009/09/cheat-sheets-for-web-designers-hd.jpg" alt="cheat-sheets-for-web-designers-hd" width="560" height="130" /></p><p>Remember the mottoes you learned when you were a kid: &#8220;Winners don&#8217;t do drugs&#8221;, and &#8220;Cheaters never win&#8221;?</p><p>Well, a little cheating never hurt anyone… when it comes to using cheat sheets, that is.</p><p><a
href="http://posters.msug.vn.ua">TechPosters has a colossal collection of cheat sheets</a> for just about every program, coding language or OS that uses code or keyboard shortcuts.</p><blockquote><p>Since there&#8217;s such a huge list of cheat sheets, let&#8217;s look at some of the useful cheat sheets for web designers.</p></blockquote><h3>HTML</h3><ul><li><a
href="http://posters.msug.vn.ua/2009/08/24/HTML5QuickReferenceGuide.aspx">HTML 5 Quick Reference Guide</a></li><li><a
href="http://posters.msug.vn.ua/2009/07/07/HTML5CheatSheet.aspx">HTML 5 Cheat Sheet</a></li><li><a
href="http://posters.msug.vn.ua/2009/01/23/XHTMLCheatSheetV103.aspx">XHTML Cheat Sheet v 1.03</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/23/XHTML11HTML401ExtensibleHypertextMarkupLanguage.aspx">XHTML 1.1 and HTML 4.01 Extensible Hypertext Markup Language</a></li><li><a
href="http://posters.msug.vn.ua/2009/01/23/HTMLHelpSheet.aspx">HTML Help Sheet (HTML 4 and XHTML)</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/06/FORMTAGS.aspx">Form Tags</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/05/CharacterEntityReferencesInHTML4AndXHTML10.aspx">Character Entity References in XHTML 1.0 and HTML 4</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/05/HTMLSpecialEntityCodes.aspx">HTML &#8211; Special Entity Codes</a></li><li><a
href="http://posters.msug.vn.ua/2009/01/23/HTMLCommonTags.aspx">HTML Common Tags</a></li></ul><p><span
class="article_caption"><strong>Note</strong>: If you&#8217;re looking for more resources for UTF-8 special entities, check out my earlier post, <a
href="http://esdev.net/most-used-xhtml-character-entities/"><em>Most Used XHTML Character Entities</em></a>.</span></p><p><span
id="more-2459"></span></p><h3>CSS</h3><ul><li><a
href="http://posters.msug.vn.ua/2009/08/24/CCS3QuickReferenceGuide.aspx">CSS3 Quick Reference Guide</a></li><li>Core CSS <a
href="http://posters.msug.vn.ua/2009/03/07/CoreCSSPartI.aspx">Part 1</a> (by Molly E Holzschlag and published by DZone), <a
href="http://posters.msug.vn.ua/2009/03/07/CoreCSSPartII.aspx">Part 2</a>, and <a
href="http://posters.msug.vn.ua/2009/03/07/CoreCSSPartIII.aspx">Part 3</a></li><li><a
href="http://posters.msug.vn.ua/2009/04/01/CSSProperties.aspx">CSS Properties</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/23/CSS2CascadingStyleSheets.aspx">CSS2 Cascading Style Sheets</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/05/CSSShorthandGuide.aspx">CSS Shorthand Guide</a></li><li><a
href="http://posters.msug.vn.ua/2009/01/25/CSSShorthandCheatSheet.aspx">CSS Shorthand Cheat Sheet by Example</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/05/CSSPropertyIndex.aspx">CSS Property Index</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/05/CSSCheatSheetV2.aspx">CSS Cheat Sheet v2</a></li><li><a
href="http://posters.msug.vn.ua/2009/01/25/CSS2QuickReferenceGuide.aspx">CSS2 Quick Reference Guide</a></li><li><a
href="http://posters.msug.vn.ua/2009/01/23/RGBColourCodes.aspx">RGB Colour Codes</a></li></ul><h3>jQuery</h3><ul><li><a
href="http://posters.msug.vn.ua/2009/03/23/jQuerySelectors.aspx">jQuery Selectors (DZone)</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/05/jTouchJQueryCheatSheetForIpods.aspx">jTouch &#8211; jQuery Cheat Sheets For iPods and iPhones</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/05/jQuery12CheatSheet2.aspx">jQuery 1.2 Cheat Sheet 2</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/05/jQuery12.aspx">jQuery 1.2</a></li></ul><p>There are a ton of other cheat sheets for javascript in general, as well as other frameworks like EXT JS, Prototype and an entire category for <a
href="http://posters.msug.vn.ua/CategoryView,category,Mootools.aspx">Mootools</a>.</p><p>These can be found in the general <a
href="http://posters.msug.vn.ua/CategoryView,category,JavaScript.aspx"><em>Javascript Cheat Sheet</em> category</a>.</p><h3><a
href="http://posters.msug.vn.ua/CategoryView,category,PHP.aspx">PHP</a></h3><ul><li><a
href="http://posters.msug.vn.ua/2009/03/07/PHP.aspx">PHP Cheat Sheet (DZone)</a></li><li><a
href="http://posters.msug.vn.ua/2009/03/06/symfonyPHP5FrameworkAdminGeneratorCheatSheet.aspx">Symfony PHP5 Framework &#8211; Admin Generator Cheat Sheet</a></li></ul><h3>Plus Many, Many More</h3><p>There are also tons of other web design cheat sheets for <a
href="http://posters.msug.vn.ua/CategoryView,category,MySQL.aspx">MySQL</a>, <a
href="http://posters.msug.vn.ua/CategoryView,category,ASPNET.aspx">ASP.NET</a>, <a
href="http://posters.msug.vn.ua/CategoryView,category,Flash.aspx">Flash</a>, <a
href="http://posters.msug.vn.ua/CategoryView,category,Silverlight.aspx">Silverlight</a>, <a
href="http://posters.msug.vn.ua/CategoryView,category,XML.aspx">XML</a> and more.</p><p>Another nice thing about the <a
href="http://posters.msug.vn.ua">TechPosters site</a> is that you can subscribe to RSS feeds for each category and know when new cheat sheets are added.</p><h3>Share</h3><p>Do you use any great cheat sheets for web design that are not included here? Where do you get your cheat sheets from?</p><p>Share your thoughts in the comments.</p> ]]></content:encoded> <wfw:commentRss>http://esdev.net/cheat-sheets-for-web-designers/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Fatal Error on Upgrade to WordPress 2.8.2</title><link>http://esdev.net/fatal-error-on-upgrade-to-wordpress-2-8-2/</link> <comments>http://esdev.net/fatal-error-on-upgrade-to-wordpress-2-8-2/#comments</comments> <pubDate>Mon, 20 Jul 2009 16:42:23 +0000</pubDate> <dc:creator>Shawn</dc:creator> <category><![CDATA[web design]]></category> <category><![CDATA[code]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[tutorials]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://esdev.net/?p=2066</guid> <description><![CDATA[For those of you who have tried updating to WordPress 2.8.2, which was released today, you may have gotten an unexpected error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2355395 bytes) in /public_html/wp-includes/http.php on line xxx
If you look at the file mentioned in the error message, you won&#8217;t find anything worthy [...]]]></description> <content:encoded><![CDATA[<p>For those of you who have tried updating to WordPress 2.8.2, which was released today, you may have gotten an unexpected error:</p><p><code>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2355395 bytes) in /public_html/wp-includes/http.php on line xxx</code></p><p>If you look at the file mentioned in the error message, you won&#8217;t find anything worthy of changing. I believe the line number mentioned is simply the line where WordPress ran out of memory.</p><p>Fortunately, I found the <a
href="http://wordpress.org/support/topic/291769">answer in a thread on the WordPress Forums</a> (which should be one of the 1st places you go when looking for WP-related answers).</p><p>The error is memory related, so increase your available memory (after backing your site up, of course). Edit your <em>wp-config.php</em> file and add the following line right after the opening <em>php</em> statement:</p><p><code>define('WP_MEMORY_LIMIT', '64M');</code></p><p>Save the file and try the upgrade again. Unless you have something else wrong with your site/WP setup, the upgrade should now work perfectly.</p><p> <script type='text/javascript'>/*<![CDATA[*/var m3_u = (location.protocol=='https:'?'https://esdev.net/adserver/www/delivery/ajs.php':'http://esdev.net/adserver/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=7");
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]&gt;/*]]>*/</script><noscript><a
href='http://esdev.net/adserver/www/delivery/ck.php?n=90b55d&amp;cb=835c45c4b0c3bd6e015f1b0a11376c55' target='_blank'><img
src='http://esdev.net/adserver/www/delivery/avw.php?zoneid=7&amp;cb=835c45c4b0c3bd6e015f1b0a11376c55&amp;n=90b55d' border='0' alt='' /></a></noscript></p> ]]></content:encoded> <wfw:commentRss>http://esdev.net/fatal-error-on-upgrade-to-wordpress-2-8-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Sort Events by Date in WordPress Using Custom Fields</title><link>http://esdev.net/sort-events-by-date-in-wordpress-using-custom-fields/</link> <comments>http://esdev.net/sort-events-by-date-in-wordpress-using-custom-fields/#comments</comments> <pubDate>Mon, 02 Mar 2009 18:19:20 +0000</pubDate> <dc:creator>Shawn</dc:creator> <category><![CDATA[web design]]></category> <category><![CDATA[code]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://esdev.net/?p=1236</guid> <description><![CDATA[On a recent client project, I was needing a way to order events based, not on the actual published date of the post, but rather by the date of the event in WordPress.
The solution I (finally) found involves sorting the posts in the Events category based on the value of a certain custom field.
Before finding [...]]]></description> <content:encoded><![CDATA[<p>On a recent client project, I was needing a way to order events based, not on the actual published date of the post, but rather by the date of the event in WordPress.</p><blockquote><p>The solution I (finally) found involves sorting the posts in the Events category based on the value of a certain custom field.</p></blockquote><p>Before finding the <a
href="#solution">solution</a> though, I tried several different ways to get events to show up, ordered from newest to oldest., but nothing I came across worked completely.</p><p><a
href="#solution">Skip ahead to the solution…</a></p><h3>What Didn&#8217;t Work</h3><p>In order to save some people who are looking into doing something similar, I&#8217;ll tell you what <em>didn&#8217;t</em> work for me. Some of the things mentioned here might work for your project, but it didn&#8217;t work for me.</p><h4>WordPress Plugins</h4><p>I started out trying not to reinvent the wheel and just go with a WordPress plugin. However, I couldn&#8217;t find anything that fully met my needs.<br
/> <span
id="more-1236"></span></p><h5>Calendar Plugins</h5><p>I tried using several calendar and event plugins to get the job done. These might work for you, but I needed to have each event have its own post page. This was because each event had a registration form for the individual events.</p><p>Most of the WordPress plugins I found, either didn&#8217;t allow linking to actual posts—they only showed a summary. Many of them used a non-WordPress system to store the details about the event. Some just didn&#8217;t work at all and gave errors.</p><h5>Event Plugins</h5><p>I had similar issues with WordPress event plugins as I did with the calendar plugins. They had their own system of storing events (not as posts) and many of them where too rigid as far as options.</p><h5>Future Post Plugins</h5><p>I also tried using a future post plugin to make it appear that posts that were scheduled for a future date (say the date of the event) were actually published.</p><p>All the plugins I found apply this to <em>all</em> posts in all categories with no way to control it. So if you ever scheduled <em>any</em> post in any category to publish later, it would be published immediately—not just your future events.</p><h4>Other WordPress code</h4><p>In the meantime, I tried different code offered on sites to help with this and some would work partially, while others would not.</p><p>One &#8220;solution&#8221; was to schedule the post to be published on the date of the event and then use some PHP/WordPress code to show all the posts tagged as future posts in a certain category.</p><p>I was excited about this and it looked like it was exactly what I wanted.</p><p>The flaw with this plan is that while it will show the future scheduled posts and they will be all in the correct chronological order on a page pulling in posts, you can&#8217;t actually view individual post unless you&#8217;re logged in as administrator. People not logged in will get a 404 File Not Found message when trying to view the full post. This is just the way WordPress is designed and I couldn&#8217;t find any workaround for this.</p><h3 id="solution">The Solution, Already</h3><p>I know, a lot of build up for the solution. Well, here it is.</p><h4>Part 1: Flutter Plugin and Custom Fields</h4><p><img
class="alignleft size-full wp-image-1238" title="Flutter" src="http://esdev.net/wp-content/uploads/2009/03/flutter.png" alt="Flutter" width="180" height="90" />I was already using a great plugin called <a
href="http://flutter.freshout.us/">Flutter</a>, which lets you create custom write panels and work with custom fields and all in a much more user-friendly way.</p><p>I created an Events write panel in Flutter and made an <em>event_date</em> custom field. I used this to display the date of each event instead of the published date of the post on my main Events page.</p><p>Flutter&#8217;s documentation is pretty sparse, and I could not get the sort by custom field to work using the code examples on their site, so…</p><h4>Part 2: Order Using a Custom Function</h4><p>Since the custom fields made by Flutter are just regular WordPress custom fields, we don&#8217;t have to use Flutter&#8217;s code to order them.</p><p>I found a great post and bit of code on <a
href="http://www.think-press.com">Think Press</a>&#8216; site:</p><p><a
href="http://www.think-press.com/tips/order-posts-by-custom-key-revisited">Order Posts by Custom Key Revisited</a></p><p>Take a look at the above bit of PHP code and make these adjustments:</p><ol><li>Wrap the code provided in <em>PHP</em> tags (see comments if you&#8217;re unsure how to do this)</li><li>Copy and paste that code into your <em>functions.php</em> file in your WordPress theme.</li><li>Adjust the <em>if</em> statement to match your page or category to your needs</li><li>Change to the custom field you want  to sort by on this line (change <em>&#8216;Price&#8217;</em> to your custom field):<pre style="font-family: monospace;">$where.= "AND $wpdb-&gt;postmeta.meta_key = 'Price' ";</pre></li></ol><p>This worked like a charm. All the events are ordered from newest to oldest—based on the event date, not the publish date. This also works on any custom field; not just those used in Flutter.</p><p> <script type='text/javascript'>/*<![CDATA[*/var m3_u = (location.protocol=='https:'?'https://esdev.net/adserver/www/delivery/ajs.php':'http://esdev.net/adserver/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=7");
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]&gt;/*]]>*/</script><noscript><a
href='http://esdev.net/adserver/www/delivery/ck.php?n=2a8757&amp;cb=2dd2b851b57e6b51709eaec4edce91c3' target='_blank'><img
src='http://esdev.net/adserver/www/delivery/avw.php?zoneid=7&amp;cb=2dd2b851b57e6b51709eaec4edce91c3&amp;n=2a8757' border='0' alt='' /></a></noscript></p><h3>Recap</h3><p>Here&#8217;s a recap of my basic process:</p><ul><li>Created an Events category in WordPress</li><li>Used <a
href="http://flutter.freshout.us/">Flutter</a> to set up custom fields for the event date, time, etc</li><li>Set a custom single post template for posts in the Events category (to show event registration code)</li><li>Set up my Events page to pull in those posts</li><li>Added the <a
href="http://www.think-press.com/tips/order-posts-by-custom-key-revisited">code found at Think Press</a>&#8216; site to my theme&#8217;s <em>functions.php</em> file</li><li>Replaced the post publish date with the custom field for the event&#8217;s date in my templates</li></ul><p>Some of the above steps may not apply to your project, but hopefully this will save you some time when needing to sort by custom field in WordPress and when working with creating events.</p> ]]></content:encoded> <wfw:commentRss>http://esdev.net/sort-events-by-date-in-wordpress-using-custom-fields/feed/</wfw:commentRss> <slash:comments>38</slash:comments> </item> <item><title>Quick and Dirty: Optimizing PHP (For Fun and Profit)</title><link>http://esdev.net/quick-and-dirty-optimizing-php-for-fun-and-profit/</link> <comments>http://esdev.net/quick-and-dirty-optimizing-php-for-fun-and-profit/#comments</comments> <pubDate>Mon, 29 Dec 2008 12:00:42 +0000</pubDate> <dc:creator>Shawn</dc:creator> <category><![CDATA[web design]]></category> <category><![CDATA[code]]></category> <category><![CDATA[PHP]]></category><guid
isPermaLink="false">http://esdev.net/?p=884</guid> <description><![CDATA[
In the previous 2 weeks, we&#8217;ve looked at how to use CSS shorthand to reduce the size of your stylesheets, and how to speed up the development of HTML pages.
In this week&#8217;s quick and dirty set of tips, we&#8217;re going to look briefly at optimizing PHP code.
Increasing Site Performance In PHP
Unlike optimizing your CSS code, [...]]]></description> <content:encoded><![CDATA[<p><img
class="aligncenter size-medium wp-image-896" title="php-op-hd" src="http://esdev.net/wp-content/uploads/2008/12/php-op-hd.jpg" alt="" width="560" height="130" /></p><p>In the previous 2 weeks, we&#8217;ve looked at how to <a
href="http://esdev.net/quick-and-dirty-css-shorthand-tips/">use CSS shorthand to reduce the size of your stylesheets</a>, and <a
href="http://esdev.net/quick-and-dirty-lightning-fast-page-setup/">how to speed up the development of HTML pages</a>.</p><p>In this week&#8217;s quick and dirty set of tips, we&#8217;re going to look briefly at optimizing PHP code.</p><h3>Increasing Site Performance In PHP</h3><p>Unlike optimizing your CSS code, usually your main goal in optimizing PHP code is not to cut down on file size, but rather speed up the loading and performance of your pages.</p><p>Knowing the most efficient ways to get what you want accomplished in PHP can give your pages a boost as far as processing and loading speed.</p><p>Here are 3 tips to help you optimize your PHP code and make your pages load faster:</p><ol><li>If a method can be static, declare it static. Speed improvement is by a factor of 4.</li><li><em>echo</em> is faster than <em>print</em>.</li><li>Use echo&#8217;s multiple parameters instead of string concatenation.</li></ol><p
class="caption">Source: <a
href="http://reinholdweber.com/?p=3"><cite>Reinhold Weber</cite></a></p><p><a
href="http://reinholdweber.com/?p=3">Read all 40 PHP optimization tips</a></p><h3>Is It Worth Optimizing My Code?</h3><p>If you follow the above optimizations, just how much will these speed up your site?<br
/> <span
id="more-884"></span><br
/> When optimizing any type of code, it&#8217;s important to keep in mind that the time spent optimizing your code may be better spent if it&#8217;s only going to improve performance slightly.</p><p>Some of the tips listed above may not improve performance or speed enough to be worth the time invested in optimizing you PHP.</p><p><a
href="http://www.devolio.com">Devolio</a> has a great post (with graphs and charts and statistics) showing <a
href="http://www.devolio.com/blog/archives/314-Practical-and-impractical-PHP-Optimizations.html">which PHP optimization tips work, and how much impact these have on loading and performance speed</a>.</p><p><a
href="http://www.devolio.com/blog/archives/314-Practical-and-impractical-PHP-Optimizations.html">Practical (and Impractical) PHP Optimizations</a></p><p>As with optimizing in general, moderation is important. I don&#8217;t believe all the 40 optimization tips should be used, but there are several that can greatly improve your pages performance.</p><h3>More Quick and Dirty Tips</h3><ul><li><a
href="http://esdev.net/quick-and-dirty-css-shorthand-tips/">CSS Shorthand Tips</a></li><li><a
href="http://esdev.net/quick-and-dirty-lightning-fast-page-setup/">Lightning Fast Page Setup</a></li><li>Optimizing PHP Code (For Fun and Profit)</li></ul><p><a
href="http://esdev.net/feed/">Subscribe to our RSS feed</a> and look for new installments of Quick and Dirty Tips.</p> ]]></content:encoded> <wfw:commentRss>http://esdev.net/quick-and-dirty-optimizing-php-for-fun-and-profit/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Simple MySQL Database Management</title><link>http://esdev.net/simple-mysql-database-management/</link> <comments>http://esdev.net/simple-mysql-database-management/#comments</comments> <pubDate>Mon, 03 Nov 2008 12:00:36 +0000</pubDate> <dc:creator>Shawn</dc:creator> <category><![CDATA[web design]]></category> <category><![CDATA[code]]></category> <category><![CDATA[databases]]></category> <category><![CDATA[PHP]]></category><guid
isPermaLink="false">http://esdev.net/?p=462</guid> <description><![CDATA[
PhpMyAdmin is a great program for managing MySQL databases and is included in most web hosting control panels. But what turning a client loose in there? Scary.
Does the thought of letting a client manage their database through phpMyAdmin make you tremble in fear?
If you need to let a client edit their own databases—add and remove [...]]]></description> <content:encoded><![CDATA[<p><img
class="alignnone size-medium wp-image-468" title="vty-hd" src="http://esdev.net/wp-content/uploads/2008/10/vty-hd.jpg" alt="" width="560" height="130" /></p><p>PhpMyAdmin is a great program for managing MySQL databases and is included in most web hosting control panels. But what turning a client loose in there? Scary.</p><blockquote><p>Does the thought of letting a client manage their database through phpMyAdmin make you tremble in fear?</p></blockquote><p>If you need to let a client edit their own databases—add and remove records, there are a lot—A LOT—of things that can be messed up. Do you have to steady yourself on the furniture at just the thought?</p><p>I&#8217;m right there with you. There are way too many options available for mucking up a database using phpMyAdmin. Not only that, but you don&#8217;t want your clients passing out or going into an anxiety attack when they see phpMyAdmin for the first time.</p><h3>Simple Database Management With Vty</h3><p>Without having to build a custom admin system or anything like that, you can allow your clients to add and edit data in their databases with <a
href="http://www.kutukutu.com/vty/index.php">Vty</a>.</p><p>What exactly is <a
href="http://www.kutukutu.com/vty/index.php">Vty</a>?</p><ul><li>Web-based MySQL database management script written in PHP</li><li>Lets you view and edit your database tables</li><li>It&#8217;s only 1 file—yes, just one 30KB file needs to be uploaded to the server</li><li>It&#8217;s free under a GPL license</li><li>Supports multiple languages (English, Turkish, Italian, Spanish)</li></ul><p><span
id="more-462"></span></p><p>While, Vty (currently version 1.6) still gives a little more power to your client than needed in most cases, with an acceptable amount of effort, you can trim out the bits you don&#8217;t need/want.</p><h3>Try It Yourself</h3><p>As LeVar Burton always said, &#8220;But you don&#8217;t have to take my word for it&#8221;.</p><ul><li><a
href="http://www.kutukutu.com/vty/vty_database_manager_mysql_mssql_.php?sc_i_">Vty Screenshots</a></li><li><a
href="http://www.kutukutu.com/vty/vty_database_manager_mysql_mssql_.php?de_i_">Try the Vty Demo</a></li></ul><h3>Customizing Vty</h3><p>Since Vty is just a PHP script, you can edit and change the bits you need to customize the experience. Here&#8217;s just a taste of what&#8217;s possible with a bit of extra work (from one of my recent projects).</p><p><img
class="alignnone size-medium wp-image-464" title="vty-custom-admin-screen" src="http://esdev.net/wp-content/uploads/2008/10/vty-custom-admin-screen.png" alt="" width="250" height="200" /><br
/> <span
class="article_caption">Simplified entry page with client&#8217;s name and branding<br
/> </span></p><p><img
class="alignnone size-medium wp-image-465" title="vty-custom-edit-records-screen" src="http://esdev.net/wp-content/uploads/2008/10/vty-custom-edit-records-screen.png" alt="" width="250" height="200" /><br
/> <span
class="article_caption">Editing a record inline / text links replaced with icons<br
/> </span></p><p>In the above screenshots, I replaced some of the text links with icons from the <a
href="http://www.famfamfam.com/lab/icons/silk/">Silk icon set</a>. I also changed some of the wording to be more logical for my client and project (ex: changed &#8216;Insert a New Record&#8217; to &#8216;Add a New Member&#8217;).</p><p>The tricky part of customizing Vty is that the classes, IDs and functions are written in Turkish. That&#8217;s fine if you speak Turkish, but less helpful if you don&#8217;t. Fortunately, most everything&#8217;s in a function and there&#8217;s some helpful comments in English in the code, so you can use this to suss out everything. Search and replace will be a big help.</p><h3>MS SQL Anyone?</h3><p>There&#8217;s also a script that works with MS SQL that you could try: <a
href="http://www.kutukutu.com/vty/index.php">MS SQL Simple Manager</a> (toward the bottom of the page). I haven&#8217;t tried this, but it&#8217;d be worth a shot checking out.</p><h3>Database Management Made Easy</h3><p>Vty is a great free tool for giving your clients and simple and safe way of managing information in their databases. I&#8217;m certainly glad I found it and hopefully this will be helpful</p><p>Is anybody already using Vty in some of their projects? I&#8217;d love to hear about how you&#8217;re making use of this script.</p> ]]></content:encoded> <wfw:commentRss>http://esdev.net/simple-mysql-database-management/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 148/174 queries in 0.094 seconds using disk

Served from: esdev.net @ 2010-07-30 14:42:08 -->