<?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>Oldstone Place &#187; Web Development</title>
	<atom:link href="http://www.dmortell.com/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dmortell.com</link>
	<description>Web, Mobile and Desktop Software Development</description>
	<lastBuildDate>Wed, 23 Nov 2011 12:31:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Install Stattraq on WordPress</title>
		<link>http://www.dmortell.com/20100517/install-stattraq-on-wordpress/</link>
		<comments>http://www.dmortell.com/20100517/install-stattraq-on-wordpress/#comments</comments>
		<pubDate>Mon, 17 May 2010 03:15:53 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/20100517/install-stattraq-on-wordpress/</guid>
		<description><![CDATA[Stattraq is one of the better statistics plugins for WordPress. Unfortunately due to the changes made in recent versions of WordPress, the installation link in the plugin description gives a permissions error. You do not have sufficient permissions to access this page. This happens because the stattraq-install.php is not included in the $_registered_pages[] array, so [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/plugins/wp-stattraq/" target="_blank">Stattraq</a> is one of the better statistics plugins for WordPress. Unfortunately due to the changes made in recent versions of WordPress, the installation link in the plugin description gives a permissions error.</p>
<blockquote><p>You do not have sufficient permissions to access this page.</p>
</blockquote>
<p>This happens because the stattraq-install.php is not included in the $_registered_pages[] array, so user_can_access_admin_page() in wp-admin\includes\plugin.php doesnt allow access to the install code.</p>
<p>To fix it, you can either add the stattraq-install.php hook to $_registered_pages[], or simply add another menu item. To add another menu, edit the stattraq_menu() function near line 170 in wp-content\qp-stattraq\stattraq.php</p>
<blockquote><p>function stattraq_menu()      <br />{      <br />&#160;&#160;&#160; if (function_exists(&#8216;add_menu_page&#8217;))       <br />&#160; {      <br />&#160;&#160;&#160; // add_menu_page(&#8216;Stat Traq&#8217;, &#8216;Stat Traq&#8217;, 8, &#8216;../wp-stattraq/&#8217;);      <br />&#160;&#160;&#160; // add_menu_page(&#8216;Stat Traq&#8217;, &#8216;Stat Traq&#8217;, 8, &#8216;../wp-content/plugins/wp-stattraq/index.php&#8217;);      <br />&#160;&#160;&#160; add_menu_page(&#8216;Stat Traq&#8217;, &#8216;Stat Traq&#8217;, 8, &#8216;wp-stattraq/index.php&#8217;);      <br />&#160;&#160;&#160; <strong>add_menu_page(&#8216;Stat Traq&#8217;, &#8216;Install Stat Traq&#8217;, 8, &#8216;wp-stattraq/stattraq-install.php&#8217;);       <br /></strong>&#160;&#160;&#160; add_action(&#8216;admin_head&#8217;, &#8216;stattraq_admin_css&#8217;);      <br />&#160;&#160;&#160; }      <br />}</p>
</blockquote>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dmortell.com%2F20100517%2Finstall-stattraq-on-wordpress%2F&amp;title=Install%20Stattraq%20on%20WordPress" id="wpa2a_2"><img src="http://www.dmortell.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20100517/install-stattraq-on-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using MySQL with Aptana</title>
		<link>http://www.dmortell.com/20091228/aptana-mysql-connection/</link>
		<comments>http://www.dmortell.com/20091228/aptana-mysql-connection/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 20:37:00 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/20091228/aptana-mysql-connection/</guid>
		<description><![CDATA[Aptana 2.0 no longer ships with Aptana PHP or the Database tools included by default. You need to install the PDT plugin for PHP development, and the Quantum Database plugin for managing database connections. To install the Quantum Database Utilities, in Aptana open Help &#62; Install Additional Features. Under Featured Plugins, select Quantum Database Utility [...]]]></description>
			<content:encoded><![CDATA[<p>Aptana 2.0 no longer ships with Aptana PHP or the Database tools included by default. You need to install the PDT plugin for PHP development, and the Quantum Database plugin for managing database connections.</p>
<p>To install the Quantum Database Utilities, in Aptana open Help &gt; Install Additional Features. Under Featured Plugins, select Quantum Database Utility and click Install. Select the features and click Next. Click Next again, accept the license agreement and click Finish. When installation finishes, restart Aptana.</p>
<p>Use the same process to install the PHP Development Tools (PDT) and the PHP Debugger Binaries. I also installed jQuery Support.</p>
<p>To add a database bookmark, open the Quantum DB Perspective. If you don&#8217;t have the icon for this perspective already, click Window &gt; Open Perspective &gt; Other and select Quantum DB. Right-click on the (Internal) Derby bookmark or click the Add Bookmark icon in the Database Bookmarks pane.</p>
<p>If you haven&#8217;t already, add the MySQL JDBC driver by clicking Add Driver. Click Add External Jar and locate your jdbc jar file, you shoud have saved it in /Library/Java/Extensions. Click Browse and select com.mysql.jdbc.Driver then click Ok then Finish.</p>
<p><img style="max-width: 800px;" src="http://www.dmortell.com/wp-content/uploads/2009/12/Picture-3.png" /></p>
<p>Back at the New Bookmark dialog, select the MySQL JDBC driver and click Next. Enter your MySQL username and password. Leave the hostname and port as is, then enter the name of the database. When you click Finish you should be able to browse your database tables.</p>
<p>The functionality of Quantum DB Utilities is disappointing. Apart from browsing tables and manually enter SQL statements, the only editing functionality is table data. phpMyAdmin is more useful.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=db3d5923-a7a6-8f6c-8b0e-f14c7800cc99" /></div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dmortell.com%2F20091228%2Faptana-mysql-connection%2F&amp;title=Using%20MySQL%20with%20Aptana" id="wpa2a_4"><img src="http://www.dmortell.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20091228/aptana-mysql-connection/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Install the MySql JDBC Adaptor on a Mac</title>
		<link>http://www.dmortell.com/20091228/mac-web-development/</link>
		<comments>http://www.dmortell.com/20091228/mac-web-development/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 19:55:22 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/20091228/mac-web-development/</guid>
		<description><![CDATA[It is fairly easy to install the JDBC adaptor on a Mac, you just need to know where to copy the jar file. Go to MySQL Downloads and download the ZIP archive of the latest stable release of MySQL Connector/J. At time of this writing this is version 5.1. Assuming this file was downloaded in [...]]]></description>
			<content:encoded><![CDATA[<p>It is fairly easy to install the JDBC adaptor on a Mac, you just need to know where to copy the jar file.</p>
<p>Go to <a href="http://dev.mysql.com/downloads/">MySQL Downloads</a> and download the ZIP archive of the latest stable release of MySQL Connector/J. At time of this writing this is version 5.1.</p>
<p>Assuming this file was downloaded in a folder named /Users/Shared/Downloads/ then you will follow the following instructions.</p>
<p>Expand the zip file (if not already done by your browser). Inside this file there are other files and folders including the .jar file which in this case is named &#8220;mysql-connector-java-5.1.10-bin.jar&#8221;.</p>
<p>Now open Finder and navigate to Macintosh HD &gt; Library &gt; Java &gt; Extensions. Then drag the .jar file from the zip folder to the Extensions folder.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=368c0b44-00ce-80d3-853e-0754be2cb8d6" /></div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dmortell.com%2F20091228%2Fmac-web-development%2F&amp;title=Install%20the%20MySql%20JDBC%20Adaptor%20on%20a%20Mac" id="wpa2a_6"><img src="http://www.dmortell.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20091228/mac-web-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful Javascripts</title>
		<link>http://www.dmortell.com/20070527/useful-javascripts/</link>
		<comments>http://www.dmortell.com/20070527/useful-javascripts/#comments</comments>
		<pubDate>Sun, 27 May 2007 10:01:52 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=151</guid>
		<description><![CDATA[Walter Zorn has useful javascripts for vector graphics, drag and drop, tooltips and image rotation. YUI-EXT is a comprehensive Javascript library for developing web applications. Vector graphics class for Ext Tree panel with context menu Drag and drop in a grid Modern Blue Design has an interesting article on how to fight spam using CSS]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.walterzorn.com/index.htm">Walter Zorn</a> has useful javascripts for vector graphics, drag and drop, tooltips and image rotation.</p>
<p><a href="http://yui-ext.com/">YUI-EXT</a> is a comprehensive Javascript library for developing web applications.<br />
<a href="http://extjs.com/forum/showthread.php?t=2090">Vector graphics</a> class for Ext<br />
<a href="http://extjs.com/forum/showthread.php?t=1941">Tree panel</a> with context menu<br />
<a href="http://extjs.com/forum/showthread.php?t=5152">Drag and drop</a> in a grid</p>
<p>Modern Blue Design has an interesting article on how to <a href="http://www.modernbluedesign.com/web-design-blog/fighting-spam-with-css/">fight spam using CSS</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dmortell.com%2F20070527%2Fuseful-javascripts%2F&amp;title=Useful%20Javascripts" id="wpa2a_8"><img src="http://www.dmortell.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20070527/useful-javascripts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Best Web 2.0 Web Sites</title>
		<link>http://www.dmortell.com/20070215/best-web-20-web-sites/</link>
		<comments>http://www.dmortell.com/20070215/best-web-20-web-sites/#comments</comments>
		<pubDate>Wed, 14 Feb 2007 15:28:22 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=162</guid>
		<description><![CDATA[Real World Software Development has a comprehensive list of web 2.0 web sites including bookmarking sites, social communities, email, image and video sharing, and the list is getting longer. One application that has been omitted from all the lists I&#8217;ve seen so far is Outlook Web Access from Microsoft. Sure, it needs a Microsoft Exchange [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.realsoftwaredevelopment.com/2006/10/best_of_the_bes.html">Real World Software Development</a> has a comprehensive list of web 2.0 web sites including bookmarking sites, social communities, email, image and video sharing, and the list is getting longer.</p>
<p>One application that has been omitted from all the lists I&#8217;ve seen so far is Outlook Web Access from Microsoft. Sure, it needs a Microsoft Exchange server to run on, but it was one of the first web applications to use xmlhttprequest a long long time before the words Ajax and Web 2.0 were ever invented. Plus it still is an excellent web based email system.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dmortell.com%2F20070215%2Fbest-web-20-web-sites%2F&amp;title=Best%20Web%202.0%20Web%20Sites" id="wpa2a_10"><img src="http://www.dmortell.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20070215/best-web-20-web-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing with Ruby</title>
		<link>http://www.dmortell.com/20061125/playing-with-ruby/</link>
		<comments>http://www.dmortell.com/20061125/playing-with-ruby/#comments</comments>
		<pubDate>Sat, 25 Nov 2006 12:47:20 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=137</guid>
		<description><![CDATA[If you&#8217;d like to give Ruby a go, heres a quick tutorial on how to get it up and running on your PC. First off, you have a choice of two development environments: Instant Rails, the command line environment, or RadRails, the Eclipse based IDE (Integrated Development Environment). 1. Instant Rails Instant Rails is a [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;d like to give Ruby a go, heres a quick tutorial on how to get it up and running on your PC.</p>
<p>First off, you have a choice of two development environments:</p>
<ol>
<li>Instant Rails, the command line environment, or</li>
<li>RadRails, the Eclipse based IDE (Integrated Development Environment). </li>
</ol>
<p><span id="more-137"></span></p>
<h3>1. Instant Rails</h3>
<ul>
<li><a href="http://instantrails.rubyforge.org/wiki/wiki.pl">Instant Rails</a> is a complete Ruby on Rails package containing Ruby, Rails, Apache, PHP, phpMyAdmin and MySQL all pre-configured and ready to run. No installer, just extract it to the directory of your choice and run it. Its all command line based, so if you want an IDE, get RadRails instead.</li>
</ul>
<h3>Installing and Configuring InstantRails</h3>
<ul>
<li>Extract InstantRails to D:\InstantRails or a folder of your choice.</li>
<li>Make sure there are no space characters in the folder path you chose, then run InstantRails.exe</li>
<li>Instant Rails will detect that it is being started from a new folder and ask if you want it to update the paths in configuration files. Say yes.</li>
<li>To test that it installed correctly, try running the Cookbook sample application as follows. Click on the I button and select Configure &gt; Windows Hosts file</li>
<li>In the editor that opens up, add this line to the end of the file:<br /><code>127.0.0.1&nbsp;&nbsp; www.mycookbook.com</code></li>
<li>Save the file and close the editor. This change points www.mycookbook.com to your own PC.</li>
<li>Click the I to get the main menu again and select Rails Applications &gt; Manage Rails Applications</li>
<li>Check the checkbox beside the cookbook application</li>
<li>Click on the Start with Mongrel button</li>
<li>When the Mongrel server displays &quot;Mongrel available at 0.0.0.0:3001&quot;, open your web browser and go to http://www.mycookbook.com/</li>
<li>You should now be running your first Rails applications.</li>
</ul>
<h3>2. RadRails, the Eclipse Based IDE</h3>
<ul>
<li>You will need <a href="http://java.sun.com/j2se/1.4.2/download.html">Java J2SE v1.4.2_13 JRE</a> or higher to run Eclipse. If you dont have a JRE installed already, get the v1.5.0 <a href="http://192.18.108.228/ECom/EComTicketServlet/BEGINA6B3338C12D0A62E4ED45ABBDDC04C18/-2147483648/1799993499/1/782198/782030/1799993499/2ts+/westCoastFSEND/j2re-1.4.2_13-oth-JPR/j2re-1.4.2_13-oth-JPR:3/j2re-1_4_2_13-windows-i586-p.exe">Windows Offline Installation, Multi-language</a></li>
<li><a href="http://www.ruby-lang.org/en/downloads/">Ruby 1.8.5</a> (26MB) This is the Ruby programming language. Grab the One-click installer for Windows. This comes with the RubyGems package manager which can be useful for downloading additional packages and add-ons.</li>
<li><a href="http://rubyonrails.org/">Rails</a> is a Ruby development environment which allows fast development of web applications. Either download it <a href="http://rubyforge.org/frs/download.php/7655/rails-1.0.0.zip">here</a>, or after installing Ruby, open a command window and run the command  <code>gem install rails --remote</code>. Answer &quot;Y&quot; where necessary to install all libraries.</li>
<li><a href="http://www.radrails.org/">RadRails</a> is a cross-platform Rails editor built on the Eclipse IDE. You will need to install the Java JRE, Ruby, and Rails first. Then simply extract RadRails to the folder you want it in.</li>
</ul>
<p>If you want to try to download and configure individual packages, you can get them here:</p>
<ul>
<li><a href="http://download.eclipse.org/eclipse/downloads/drops/R-3.2.1-200609210945/">Eclipse SDK 3.2.1</a> (120MB)</li>
<li><a href="http://dev.mysql.com/downloads/">MySQL 4.1</a> or 5.0</li>
<li><a href="http://www.heidisql.com/">HeidiSQL</a> to manage and edit MySQL databases and tables</li>
<li><a href="http://www.apachefriends.org/en/xampp.html">XAMPP 1.5.4a</a> is an all-in-one web server which includes Apache, MySQL, PHP, phpMyAdmin, and FileZilla along with a number of other useful packages for web development</li>
</ul>
<h3>Installing and Configuring RadRails</h3>
<ul>
<li>Extract RadRails to D:\RadRails or a folder of your choice</li>
<li>Run RadRails.exe from your new folder. You could also consider making a shortcut to Radrails.exe and putting it in your Start menu, your Quickstart menu, or on your Desktop for easy access</li>
<li>When you start RadRails (which is actually a well customised Eclipse) for the first time it asks you to select a workspace, this is a folder that will hold your projects. Check the &quot;use this as default&quot; checkbox and select a folder such as D:\InstantRails\rails_apps or D:\WebDev</li>
</ul>
<h3>Create a Ruby on Rails Application</h3>
<ul>
<li>In RadRails, click File &gt; New then select Rails &gt; Rails Project and click Next</li>
<li>Enter a project name, then click Finish</li>
<li>Click the Servers tab at the bottom of the window, select your server, then click the green triangle just above the Servers panel to start the server.</li>
<li>Now click the Globe icon (or open your web browser to http://127.0.0.1:3000/ ) and you should see a Rails welcome message.</li>
<li>Now go and learn some Ruby <img src='http://www.dmortell.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<h3>Related Links</h3>
<ul>
<li>Run <a href="http://made-of-stone.blogspot.com/2006/01/rails-on-iis-revisited.html">Rails on IIS</a></li>
<li><a href="http://rubyforge.org/">RubyForge</a> is the SourceForge of Ruby applications, you&#8217;ll find lots of applications here</li>
<li><a href="http://rubyonrails.org/docs">Ruby on Rails</a> has links to some useful documentation</li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dmortell.com%2F20061125%2Fplaying-with-ruby%2F&amp;title=Playing%20with%20Ruby" id="wpa2a_12"><img src="http://www.dmortell.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20061125/playing-with-ruby/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cool WordPress Plugins</title>
		<link>http://www.dmortell.com/20060424/cool-wordpress-plugins/</link>
		<comments>http://www.dmortell.com/20060424/cool-wordpress-plugins/#comments</comments>
		<pubDate>Mon, 24 Apr 2006 12:44:40 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=130</guid>
		<description><![CDATA[Some very cool WordPress plugins to spice up your blog. Stock Quote Sidebar puts a list of stock quotes in your sidebar. PhotoPress is a set of tools to make working with images easier. It adds an uploader, a random image function for your sidebar, and a simple photo album. StatTraq adds some great hit [...]]]></description>
			<content:encoded><![CDATA[<p>Some very cool WordPress plugins to spice up your blog.</p>
<p><span id="more-130"></span></p>
<ul>
<li><a href="http://andy.hillhome.org/blog/code/stockquotesidebar">Stock Quote Sidebar</a> puts a list of stock quotes in your sidebar.
<li><a href="http://familypress.net/photopress/">PhotoPress</a> is a set of tools to make working with images easier. It adds an uploader, a random image function for your sidebar, and a simple photo album.
<li><a href="http://randypeterman.com/StatTraq/">StatTraq</a> adds some great hit statistics to your website
<li><a href="http://www.xdweb.net/wordpress/">XDForums</a> adds a forum like <a href="http://www.xdweb.net/wordpress/?a=xdforum">this</a> to your WordPress site.
<li><a href="http://txfx.net/code/wordpress/identify-external-links/">Identify external links</a> with this plugin, and even get them to open in a new window if you want to be cruel to your readers.
<li><a href="http://www.semiologic.com/software/publishing/admin-menu/" target="_blank">Admin Menu</a> adds useful admin links to the top of your blogs pages.
<li><a href="http://push.cx/sociable" target="_blank">Sociable</a> displays a list of icons for all the social bookmarking sites at the bottom of your posts for visitors to save and share the interesting pages they find.
<li>If you post source code in your blog, you need <a href="http://thislab.com/2007/12/16/release-wordpress-plugin-syntaxhighlighter-plus/" target="_blank">SyntaxHighlighter Plus</a>. Check out the Facebook source code.</li>
</ul>
<p>[code=php]<br />
// MONETIZATION BOX<br />
$minimize_monetization_box = user_get_hiding_pref($user, 'home_monetization');<br />
$show_monetization_box = (!$orientation &#038;&#038;<br />
  get_site_variable('HOMEPAGE_MONETIZATION_BOX'));<br />
tpl_set('show_monetization_box', $show_monetization_box);<br />
tpl_set('minimize_monetization_box', $minimize_monetization_box);</p>
<p>if ($show_monetization_box) {<br />
  $monetization_box_data = monetization_box_user_get_data($user);<br />
  txt_set('monetization_box_data', $monetization_box_data);<br />
}<br />
[/code]</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dmortell.com%2F20060424%2Fcool-wordpress-plugins%2F&amp;title=Cool%20WordPress%20Plugins" id="wpa2a_14"><img src="http://www.dmortell.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20060424/cool-wordpress-plugins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Moblogging with WordPress 2.0</title>
		<link>http://www.dmortell.com/20051230/moblogging-with-wordpress-20/</link>
		<comments>http://www.dmortell.com/20051230/moblogging-with-wordpress-20/#comments</comments>
		<pubDate>Fri, 30 Dec 2005 12:06:14 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=5</guid>
		<description><![CDATA[Moblogging is posting articles to the internet from a mobile device such as your mobile phone, PDA, or laptop. By default, WordPress comes with the functionality to let you post items from your email account or mobile phone. However there are some limitations, for example the default wp-mail.php file doesn&#8217;t support attached images or files, [...]]]></description>
			<content:encoded><![CDATA[<p>Moblogging is posting articles to the internet from a mobile device such as your mobile phone, PDA, or laptop. </p>
<p>By default, WordPress comes with the functionality to let you post items from your email account or mobile phone. However there are some limitations, for example the default wp-mail.php file doesn&#8217;t support attached images or files, at least in the v2.0 R133 version of WordPress I&#8217;m using now. It takes a bit of work, but it is possible to set up a very flexible moblogging system on your WordPress blog.</p>
<p>I was just about to start hacking the default wp-mail.php file when I found the excellent Postie plugin at <a href="http://www.economysizegeek.com/?page_id=395">Economysizegeek</a> which has all the features you&#8217;ll ever need. The only problem is that it needs to be patched before it will work with WordPress 2.0. Heres how&#8230;</p>
<p><span id="more-5"></span></p>
<ul>
<li>First <a href="http://www.economysizegeek.com/wp-mail/" target="_blank">download Postie</a> and uncompress it into your wp-contents\plugins\postie folder</li>
<li>Make two directories in your main wordpress directory wp-filez and wp-photos. Make sure these directories are writeable by your web server (chmod 777)</li>
<li>Login to WordPress as admin, go to the Plugins tab, and activate Postie.</li>
<li>Go to the Options tab and click on Configure Postie to configure the settings.</li>
<li>Set up a cron job to download mail at regular intervals, or check out the &#8220;Cronless Postie&#8221; plugin included in the package.</li>
</ul>
<p>Now to get it to work with the latest version of WordPress, I had to fix two Postie files, wp-content\plugins\postie\config_form.php and wp-content\plugins\postie\postie-functions.php</p>
<p>In config_form.php I fixed up the tables, there seemed to be some extra &lt;td&gt; tags screwing up the layout.</p>
<p>In postie-functions.php I fixed BuildBooleanSelect and BuildTextArea functions to get the options screen to display properly. I also fixed the ValidatePoster function to work with WordPress 2.0.</p>
<p>To make these changes in your installation, download the following patch and uncompress it, overwriting the two files in your wp-content\plugins\postie folder.</p>
<blockquote><p><a href="/wp-filez/postie-patch-001.zip">postie-patch-001.zip</a></p>
</blockquote>
<p>Now try sending a mail with an attached image and it should appear on your blog as soon as you click the Run Postie button!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dmortell.com%2F20051230%2Fmoblogging-with-wordpress-20%2F&amp;title=Moblogging%20with%20WordPress%202.0" id="wpa2a_16"><img src="http://www.dmortell.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20051230/moblogging-with-wordpress-20/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Installing Postie for WordPress</title>
		<link>http://www.dmortell.com/20051228/customizing-wordpress/</link>
		<comments>http://www.dmortell.com/20051228/customizing-wordpress/#comments</comments>
		<pubDate>Wed, 28 Dec 2005 18:08:25 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=9</guid>
		<description><![CDATA[I&#8217;ve been keeping notes while setting up WordPress on my PC at home. What I really want is to be able to moblog &#8211; post articles from my phone. Its been difficult, but it looks like its just about starting to work. The hard part is getting the Postie mail plugin to work with WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been keeping notes while setting up WordPress on my PC at home. What I really want is to be able to moblog &#8211; post articles from my phone. Its been difficult, but it looks like its just about starting to work. The hard part is getting the <a href="http://www.economysizegeek.com/?page_id=395" target="_blank">Postie</a> mail plugin to work with WordPress v2.0.</p>
<p><span id="more-9"></span></p>
<p><b>Setup an Email Account</b>    <br />First you&#8217;ll need a new POP email account. Don&#8217;t use your usual email account because any mail you receive will be added to your blog, and you probably don&#8217;t want that. Many Internet Providers give away a couple of extra email accounts with their internet access services, or you can try a free webmail service like Gmail, just make sure that POP3 is turned on in the settings.</p>
<p>Unfortunately Hotmail and Yahoo don&#8217;t allow POP access unless you subscribe to their advanced services, but if you have control of your webserver you can use a webmail client like <a href="http://mrpostman.sourceforge.net/" target="_blank">MrPostman</a> to act as a POP interface. When you&#8217;re making the account it&#8217;s a good idea to use a random account name to reduce the risk of spam.</p>
<p><b>Install Postie</b>    <br />Install the <a href="http://www.economysizegeek.com/?page_id=395" target="_blank">Postie</a> plugin by downloading the file and copying the uncompressed files into the wp-content\plugins\postie folder on your server. Back in your WordPress admin area, go to Plugins and activate the Postie plugin. Now under Options you will find a comprehensive Configure Postie section.</p>
<p>You should add your phone&#8217;s email address and any other emails you might want to post from, one per line, in the Authorized Addresses area.</p>
<p>Enter folder names for photos and files, say /wp-content/photos/ and /wp-content/uploads/ and make sure they exist on your server.</p>
<p>If your phone or mail software add signatures to mails, you can tell Postie to cut the signature before posting it. Do this by adding the pattern that starts the signature (usually a double dash &#8211;) in the Signature Patterns area. For example when AVG scans incoming mails for viruses it adds an unwanted &quot;Scanned by AVG&quot; message to each mail. Adding &#8212; to Signature Patterns will remove this message from your posts.</p>
<p>There are configuration settings for attached images and 3GP videos if you will be posting them from your phone. In most cases the default settings should work. </p>
<p>If you are posting from a different timezone than your server, you can set Postie Time Correction to get the correct timestamp on your posts.</p>
<p>Make sure your mail server and mail account settings are entered correctly then click Update Options.</p>
<p><b>Configure WordPress</b>    <br />Once you have Postie installed and a POP mail account set up and tested, configure WordPress. </p>
<p>Open www.yourdomain.com/wp-admin then under Options &gt; Writing you&#8217;ll find a Writing by E-mail section. Fill in your mailserver address which can be a domain name like mail.domain.com or the IP address of your server if you&#8217;re sure it will never ever change.</p>
<p>Set the port to 110 for a default POP server, or 11110 if you&#8217;re using MrPostman, or enter &quot;localhost&quot; if your mail server runs on your webserver.</p>
<p>Enter your mail account username and password and select a default category for your moblogging posts to go in.</p>
<ul>
<li>Mailserver: 192.168.11.30 </li>
<li>Port: 110 </li>
<li>Login name: mymoblog3333@example.com </li>
<li>Password: xxxxx </li>
<li>Default category: Moblog </li>
</ul>
<p><b>Testing</b>    <br />Click Test Config to check for inconsistencies in your configuration.</p>
<p>If all looks ok, then try sending a post from your phone to the special email address you set up.</p>
<p>When the mail has been sent, click the Run Postie button. Postie will check your email account for new mails and add them to your blog.</p>
<p><b>Automation</b>    <br />Instead of having to click Run Postie every time you want your mailbox scanned, you can set it to scan at regular intervals.</p>
<p>One way is to set a cron job or scheduler to run lynx or even php to open http://yourwebsite/yourblog/wp_mail.php once every couple of minutes.</p>
<p>An easier way is to use the cronless Postie plugin included in the Postie package.</p>
<p><b>Bugs</b>    <br />I had a few problems using the older version of Postie with WordPress 2.0. See <a href="http://www.dmortell.com/?p=5" target="_blank">this post</a> for fixes and new versions.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dmortell.com%2F20051228%2Fcustomizing-wordpress%2F&amp;title=Installing%20Postie%20for%20WordPress" id="wpa2a_18"><img src="http://www.dmortell.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20051228/customizing-wordpress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Software Development Tools</title>
		<link>http://www.dmortell.com/20051031/software-development-tools-2/</link>
		<comments>http://www.dmortell.com/20051031/software-development-tools-2/#comments</comments>
		<pubDate>Sun, 30 Oct 2005 15:29:35 +0000</pubDate>
		<dc:creator>dmortell</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.dmortell.com/?p=163</guid>
		<description><![CDATA[Some interesting new development tools and platforms are available these days. Microsoft is providing beta versions of its Visual Studio 2005 Mono is an open source IDE for developing .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. from http://www.mono-project.com/ Grasshopper is a Visual Studio .NET plug-in which enables you [...]]]></description>
			<content:encoded><![CDATA[<p>Some interesting new development tools and platforms are available these days.<br />
Microsoft is providing beta versions of its Visual Studio 2005<br />
Mono is an open source IDE for developing .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. from <a href="http://www.mono-project.com/">http://www.mono-project.com/</a></p>
<p>Grasshopper is a Visual Studio .NET plug-in which enables you to use C# or Visual Basic .NET to develop, debug and deploy Web applications and Web services that run on Windows, Linux and any Java-enabled platform. The Developer version is available free from <a href="http://dev.mainsoft.com/Default.aspx?tabid=130">http://dev.mainsoft.com/Default.aspx?tabid=130</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dmortell.com%2F20051031%2Fsoftware-development-tools-2%2F&amp;title=Software%20Development%20Tools" id="wpa2a_20"><img src="http://www.dmortell.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dmortell.com/20051031/software-development-tools-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

