<?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>Aytemir.com &#187; plugin</title>
	<atom:link href="http://aytemir.com/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://aytemir.com</link>
	<description>Creative Daydreaming</description>
	<lastBuildDate>Wed, 09 Jun 2010 08:28:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Or how I stopped worrying and started being creative again</title>
		<link>http://aytemir.com/or-how-i-stopped-worrying-and-started-being-creative-again/</link>
		<comments>http://aytemir.com/or-how-i-stopped-worrying-and-started-being-creative-again/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 22:54:08 +0000</pubDate>
		<dc:creator>Fan-tas-tic</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://aytemir.com/?p=1358</guid>
		<description><![CDATA[Worrying? Yes, that is blogging. Kind of. How do I get the next traffic peak? What should I do to the make the peak last longer? Is my content/title SEO-ish enough? Is there any blog post at all that hasn&#8217;t been blogged, saved, shared and bookmarked already thousands times before? Well, you get the point: [...]]]></description>
			<content:encoded><![CDATA[<p>Worrying? Yes, that is blogging. Kind of. How do I get the next traffic peak? What should I do to the make the peak last longer? Is my content/title SEO-ish enough? Is there any blog post at all that hasn&#8217;t been blogged, saved, shared and bookmarked already thousands times before?<br />
Well, you get the point: it&#8217;s hard to be creative with blogging (in your lill&#8217; free time) and make it stand out and promote it enough to get enough traffic back, which should make the time and energy spend worth while. </p>
<p><img src="http://www.quotationspage.com/weblog/wp-content/zzzmnjki17.jpg" alt="Millionaire or  Creative?" /></p>
<p>Very frustrating indeed. So? So, I&#8217;ve made the bold decision to blog (a lot) less and to start being creative (again) and to get things done: meaning among others that I should <em>read less about</em> designing and developing and <em>actually start</em> designing and develeoping.<br />
I&#8217;m already occupied with two humble projects at the same time and I should get those finished first.</p>
<p>This article kind of gave me the last push to make the decision: <a href="http://www.inspiredm.com/2010/02/19/stop-launching-blogs/">Stop Launching Blogs, Start Contributing</a>. If I should need to promote one of my projects, I think it would be more productive if I do that via another blog, which has a decent amount of audience and gets promoted already by the community.<br />
See how I already got rid of all these &#8216;social&#8217; save and bookmark buttons? </p>
<p>So? So, I heavily customized the Portfolio theme you&#8217;re looking at now and made the projects the homepage: The focus is clearly on the projects and I&#8217;m not looking for traffic spikes (any more), but trying to get things done.<br />
Expect less blogs (unless project related) and expect more humble projects, which do get finished on the homepage.</p>
<p>I&#8217;m actually quite relieved, that I can spent all this time and energy on actually delivering &#8216;new stuff&#8217; instead of &#8216;just another blog&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://aytemir.com/or-how-i-stopped-worrying-and-started-being-creative-again/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Gallery Image Sharing with Google Buzz</title>
		<link>http://aytemir.com/gallery-image-sharing-google-buzz/</link>
		<comments>http://aytemir.com/gallery-image-sharing-google-buzz/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:14:17 +0000</pubDate>
		<dc:creator>Tschai</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[google buzz]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://aytemir.com/?p=1126</guid>
		<description><![CDATA[Google Buzz seems the next hot thing in the tech savy blog world&#8230;and I kinda like it. There are already a lot of tutorials for getting started as a developer/designer with it, but as always the one feature I need for my gallery site is missing: sharing gallery images with Google Buzz. For some live [...]]]></description>
			<content:encoded><![CDATA[<p>Google Buzz seems the next hot thing in the tech savy blog world&#8230;and I kinda like it. There are already a lot of tutorials for getting started as a developer/designer with it, but as always the one feature I need for my gallery site is missing: <strong>sharing gallery images with Google Buzz.</strong></p>
<p>For some live demo and examples check out the <a href="http://fan-tas-tic.com/categories/">sub categories</a>, <a href="http://fan-tas-tic.com/stats/">sub stats</a>, <a href="http://fan-tas-tic.com/tags/">tags</a> or any single posts at the <a href="http://fan-tas-tic.com/">Fan-tas-tic! Inspiration Galleries</a>: click on the Google Buzz button and see what the buzz is about!</p>
<p><span id="more-1126"></span></p>
<p>As you may have noticed from de demo above I&#8217;ve got my social sharing and bookmark stuff also <em>outside the loop</em>, which makes this a bit trickier than it should.</p>
<p>That&#8217;s why my code is centrally in the functions.php of my WordPress theme. And here&#8217;s how full code behind the Google Buzz button looks like:<br />
<img src="http://aytemir.com/wp-content/uploads/2010/02/buzz-code.png" alt="Buzz Code for Sharing Images" /></p>
<p>Let&#8217;s dissect the code for a quick analysis.</p>
<h3>The URL</h3>
<p>Line 1 contains the URL you want to buzz; the variable <strong>$share_link</strong> is the URL you want to pass through.  You can replace this with <strong>the_permalink()</strong> if you are on a single post page.<br />
I use the Buzz button also on other pages than the single post page. Therefore I need to use the following function in the <em>functions.php</em>:</p>
<pre class="brush: php">
function ftt_get_currenturl(){ return &#039;http://&#039;.$_SERVER[&quot;HTTP_HOST&quot;].$_SERVER[&quot;REQUEST_URI&quot;]; }
</pre>
<h3>The title</h3>
<p>Line 2 contains the title we want to buzz: although you can use <strong>the_title()</strong> when on a single post page, I use <strong>wp_title()</strong>, because I use the Buzz button also on other pages.</p>
<h3>The thumbnail</h3>
<p>Line 3 contains the actual image we want to buzz, along with some optional text.<br />
Already somewhere above this you should have the following statement to get the proper thumbnail for the current post (when on a single page) or the last thumbnail/post on the page, which should be satisfactory too:</p>
<pre class="brush: php">$thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id(), &#039;thumbnail&#039;);
</pre>
<h3>The Result</h3>
<p>That should do the trick! Now, when you click on the Google Buzz, you should get something like this:<br />
<a href="http://aytemir.com/wp-content/uploads/2010/02/Image-Sharing-with-Google-Buzz.jpg"><img class="alignleft size-full wp-image-1127" title="Image Sharing with Google Buzz" src="http://aytemir.com/wp-content/uploads/2010/02/Image-Sharing-with-Google-Buzz.jpg" alt="" width="521" height="273" /></a></p>
<p>You can play around and adjust stuff to your liking. Let me know in the comments, whether this works for your (gallery) site.</p>
<h3>UPDATE</h3>
<p>Note that something is messing the code displayed in this post! Maybe because I&#8217;ve just upgraded to WP 2.9.2!?<br />
So I had to resort to screenshots&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://aytemir.com/gallery-image-sharing-google-buzz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AZIndex: sort groupheader URL</title>
		<link>http://aytemir.com/azindex-sort-groupheader-url/</link>
		<comments>http://aytemir.com/azindex-sort-groupheader-url/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 21:28:46 +0000</pubDate>
		<dc:creator>Tschai</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[fan-tas-tic]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://aytemir.com/?p=1112</guid>
		<description><![CDATA[Like the TDO mini form plugin the AZIndex is an incredible powerful plugin&#8230;but also lacks a certain feature, which would make it just perfect: URL&#8217;s for the header, the subheaders are grouped by. AZIndex is just great, but the following mini-hack will make it simply perfect. By adding a simple yet necessary feature: generating an [...]]]></description>
			<content:encoded><![CDATA[<p>Like the <a href="http://aytemir.com/tdo-mini-forms-upload-pathurl-mini-hack/">TDO mini form plugin</a> the <a href="http://azindex.englishmike.net/">AZIndex</a> is an incredible powerful plugin&#8230;but also lacks a certain feature, which would make it just perfect: URL&#8217;s for the header, the subheaders are grouped by. </p>
<p><a href="http://aytemir.com/wp-content/uploads/2010/02/AZIndex-groupby-URL.jpg"><img src="http://aytemir.com/wp-content/uploads/2010/02/AZIndex-groupby-URL.jpg" alt="" title="AZIndex BEFORE and AFTER example" width="500" height="150" class="alignleft size-full wp-image-1113" /></a></p>
<p><span id="more-1112"></span></p>
<p>AZIndex is just great, but the following mini-hack will make it simply perfect. By adding a simple yet necessary feature: generating an URL for the groupheaders: see <a href="http://fan-tas-tic.com/artists/">http://fan-tas-tic.com/artists/</a> for a live demo and imagine you can&#8217;t click the author names for an example of the original plugin without this lill&#8217; hack. </p>
<p>The general assumption is that the plugin is abandoned by its original author, since there hasn&#8217;t been any reaction on the <a href="http://azindex.englishmike.net/azindex/feedback/">official AZIndex plugin feedback page</a> by the author. So I had to it myself. Again.</p>
<p>The following instructions makes sure a groupheader (tags, author or categy) has an accompanying link (when a subheader is selected).<br />
The most recent version (0.8.1) has been used for this hack, but you should be able to implement it also in older or newer versions following the next steps:<br />
0. Make your backups or try this on a local installation as always with hacks (although I&#8217;ve got a nasty habit myself of hacking directly on my live sites <img src='http://aytemir.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  but do as I say, not as I do)<br />
1. Get the original plugin from <a href="http://wordpress.org/extend/plugins/azindex/">the WordPress plugin repository</a>.<br />
2a. Either unzip the plugin and <em>edit az-index-content.php</em><br />
2b. Or upload the unzipped plugin directly and open <em>az-index-content.php</em> via the plugin-editor<br />
3. Apply the following changes:<br />
a. Find around rownumber 172 the following statement:</p>
<pre class="brush: php">
$link = get_permalink($item[&#039;id&#039;]);
</pre>
<p>b. Add the next statements <strong>beneath</strong> this line:</p>
<pre class="brush: php">
//aytemir.com: start mini-hack
$groupheader=&#039;&#039;;
$groupheader=$index-&gt;head;
if ($groupheader==&#039;author&#039;) {
  $groupheader_id=get_userdatabylogin($item[&#039;head&#039;]);
  $groupheader_url=get_bloginfo(&#039;url&#039;).&#039;/?author=&#039;.$groupheader_id-&gt;ID;
} elseif ($groupheader==&#039;cats&#039;) {
  $groupheader_id=get_cat_id($item[&#039;head&#039;]);
  $groupheader_url=get_bloginfo(&#039;url&#039;).&#039;/?cat=&#039;.$groupheader_id;
} elseif ($groupheader==&#039;tags&#039;) {
  $groupheader_id=$item[&#039;head&#039;];
  $groupheader_url=get_bloginfo(&#039;url&#039;).&#039;/?tag=&#039;.$groupheader_id;
}
//aytemir.com: end mini-hack
</pre>
<p>c. The code is self-explanatory, I think: just get the header you want to sort/order by, retieve the accompanying ID and generate an URL and apply URL in case of tag, category or author.<br />
d. Find (around rownumber 203) the following statement:</p>
<pre class="brush: php">
$output .= &#039;&lt;li&#039;.$charlink.($odd ? &#039; class=&quot;azalt&quot;&#039; : &#039;&#039;).&#039;&gt;&lt;span class=&quot;head&quot;&gt;&#039;.$item[&#039;head&#039;].$cont.&#039;&lt;/span&gt;&#039;.$cr;
</pre>
<p>e. And <strong>replace</strong> it with the following statement:</p>
<pre class="brush: php">
//aytemir.com: start mini-hack
if ($groupheader==&#039;author&#039; || $groupheader==&#039;cats&#039; || $groupheader==&#039;tags&#039;) {
  $output .= &#039;&lt;li&#039;.$charlink.($odd ? &#039; class=&quot;azalt&quot;&#039; : &#039;&#039;).&#039;&gt;&lt;span class=&quot;head&quot;&gt;&lt;a href=&quot;&#039;.$groupheader_url.&#039;&quot;&gt;&#039;.$item[&#039;head&#039;].$cont.&#039;&lt;/a&gt;&lt;/span&gt;&#039;.$cr;
} else {
  $output .= &#039;&lt;li&#039;.$charlink.($odd ? &#039; class=&quot;azalt&quot;&#039; : &#039;&#039;).&#039;&gt;&lt;span class=&quot;head&quot;&gt;&#039;.$item[&#039;head&#039;].$cont.&#039;&lt;/span&gt;&#039;.$cr;
}
//aytemir.com: end mini-hack
</pre>
<p>5. Save and test it (locally) and let me know if it works for you.</p>
<p>Don’t want to bother &#8216;hacking&#8217; yourself? You could also download the fully zipped version with the hack already implemented:<br />
1. <a href="http://aytemir.com/wp-content/files/azindex.zip">Download this hacked version, which I doped 0.8.2</a><br />
2. Upload, activate and test the plugin.</p>
<p>For usage and configuration instructions please refer to the original plugin site. </p>
<p>If you should run into issues regarding this specific hack, please let me know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://aytemir.com/azindex-sort-groupheader-url/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>TDO Mini Forms: upload path/URL mini hack</title>
		<link>http://aytemir.com/tdo-mini-forms-upload-pathurl-mini-hack/</link>
		<comments>http://aytemir.com/tdo-mini-forms-upload-pathurl-mini-hack/#comments</comments>
		<pubDate>Fri, 22 May 2009 14:26:34 +0000</pubDate>
		<dc:creator>Tschai</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[fan-tas-tic]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://aytemir.com/?p=965</guid>
		<description><![CDATA[The TDO Mini Forms WordPress Plugin is simply one of these plugins you&#8217;ll end up using, when you&#8217;ll be using WordPress for more than &#8216;just another blog&#8217;. For my upcoming project I was looking for a fully customizable end user form and after having tried a bunch, TDO mini forms was simply the best. I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://aytemir.com/wp-content/uploads/2009/05/hack2.jpg" alt="" /></p>
<p>The <a href="http://thedeadone.net/download/tdo-mini-forms-wordpress-plugin/">TDO Mini Forms WordPress Plugin</a> is simply one of these plugins you&#8217;ll end up using, when you&#8217;ll be using WordPress for more than &#8216;just another blog&#8217;.</p>
<p>For my upcoming project I was looking for a fully customizable end user form and after having tried a bunch, TDO mini forms was simply the best.<br />
I still don&#8217;t understand why it is called &#8216;mini&#8217; because it has a ton of options and almost all of them very useful.<br />
<span id="more-965"></span><br />
The only issue I got with it was with the file/image upload widget: It was putting the uploaded files in  <strong>wp-content/uploads/subfolder</strong> where I wanted them in <strong>wp-content/uploads/year/month</strong>.</p>
<p>Although there are usefull hints in <a href="http://thedeadone.net/forum/?cat=8">the support forum</a>, they wont get you there exactly. So here is the hack to solve this issue:<br />
In the plugins folder replace line 552 (up until the line &#8220;// store info about files on post&#8221;) in file <strong>tdomf-upload-functions.php</strong> from this</p>
<pre class="brush: php">
$postdir = $options[&#039;path&#039;].DIRECTORY_SEPARATOR.$post_ID;
</pre>
<p>to this</p>
<pre class="brush: php">
$yearID=date(&quot;Y&quot;);
$monthID=date(&quot;m&quot;);

$postdir = $options[&#039;path&#039;].$yearID.DIRECTORY_SEPARATOR.$monthID;
$postdir2 = $options[&#039;url&#039;].$yearID.&quot;/&quot;.$monthID;

tdomf_recursive_mkdir($postdir,TDOMF_UPLOAD_PERMS);
tdomf_recursive_mkdir($postdir2,TDOMF_UPLOAD_PERMS);
$newpath = $postdir.DIRECTORY_SEPARATOR.$theirfiles[$i][&#039;name&#039;];
$newpath2 = $postdir2.DIRECTORY_SEPARATOR.$theirfiles[$i][&#039;name&#039;];

if(rename($theirfiles[$i][&#039;path&#039;], $newpath)) {

        $newpath = realpath($newpath);
        $newpath2 = realpath($newpath2);
</pre>
<p>Note that a variable 2 is added, just after the original.<br />
Also note, that I&#8217;ve replaced the variable DIRECTORY_SEPARATOR in $postdir2 into &#8220;/&#8221;, cause it was giving me headaches.</p>
<p>In line 564 in the same file add just beneath this line</p>
<pre class="brush: php">
add_post_meta($post_ID,TDOMF_KEY_DOWNLOAD_PATH.$i, $wpdb-&gt;escape($newpath),true);
</pre>
<p>the following</p>
<pre class="brush: php">
add_post_meta($post_ID,ftt_path,$postdir2,true);
</pre>
<p>Make sure you do use $postdir2 here again. Will be using <strong>ftt_path</strong> to retrieve the stored URL, so remember what name you give it here.</p>
<p>And now we&#8217;ll be calling the uploaded files via the URL like this</p>
<pre class="brush: php">
get_post_meta($post-&gt;ID, &quot;ftt_path&quot;,true);
</pre>
<p>instead of this, which will give you only the absolute path</p>
<pre class="brush: php">
get_post_meta($post-&gt;ID, &quot;_tdomf_download_name_0&quot;,true);
</pre>
<p>This way it&#8217;s not even necessary to check &#8216;Organize my uploads into month- and year-based folders&#8217; at your Miscellaneous Settings.</p>
<p>Hope this helps others out also. If you have any other issues with TDO Mini forms, please refer to the <a href="http://thedeadone.net/forum/?cat=8">original support form</a>.</p>
<h3>UPGRADE warnings</h3>
<p>Remember that automatically upgrading the plugin to the newest version will overwrite the hacks above&#8230;so make sure to actually backup before you upgrade!</p>
]]></content:encoded>
			<wfw:commentRss>http://aytemir.com/tdo-mini-forms-upload-pathurl-mini-hack/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Replacing your comments with Intense Debate</title>
		<link>http://aytemir.com/replacing-your-comments-with-intense-debate/</link>
		<comments>http://aytemir.com/replacing-your-comments-with-intense-debate/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 21:28:32 +0000</pubDate>
		<dc:creator>Tschai</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://aytemir.com/?p=898</guid>
		<description><![CDATA[There are some very great and creative ways to design the comment section of your blog: check out these examples for some inspiration (37 Ways to Design the Comments Form, 30 and 30 More Must See Comment Designs for Web Designers). And while I was thinking about how to design my own comment parts of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://aytemir.com/wp-content/uploads/2009/01/intense-debate-example.jpg" alt="Intense Debate Example" /><br />
There are some very great and creative ways to design the comment section of your blog: check out these examples for some inspiration (<a href="http://www.blogdesignblog.com/blog-design/37-ways-to-design-the-comments-form/">37 Ways to Design the Comments Form</a>, <a href="http://www.blogdesignblog.com/blog-design/30-comment-designs-for-webdesigners/">30</a> and <a href="http://www.blogdesignblog.com/blog-design/30-more-must-see-comment-designs-for-blog-designers/">30 More Must See Comment Designs for Web Designers</a>).<br />
And while I was thinking about how to design my own comment parts of my upcoming WP powered sites, I decided I should go for the easier way&#8230;which by the way kinda is the philosophy of this blog.<br />
<span id="more-898"></span><br />
So just recently I’ve installed the <a href="http://intensedebate.com/">Intense Debate</a> commenting system on this blog. As you may notice however, the older posts with no comments are still using the built in commenting system. The reason for this is that somehow I’ve not been able to synchronize my WP account with my ID account.<br />
The new plugin crashed and I was forced to use the older version of the plugin. Also with this version however I’m still not able to import my older comments. In general, <em>you</em> should not have any trouble, so don&#8217;t be alarmed.</p>
<p>So why did I bother then? Well I’ve got three reasons for that:</p>
<p>1.  I want for all my WordPress powered projects one common commenting system. Although not many of my visitors may register, some of them will be automatically registered when they’ve got an Intense Debate account already. This should encourage them to participate more interactively.</p>
<p>2. I’m expecting Automatticto fully integrate Intense Debate into WordPress in the near future. It is a logical next step and I would not be surprised if they do this well before version 2.8. The <a href="http://ma.tt/2008/09/intense-debate-goes-automattic/">acquisition by Automattic</a> is also the reason that for example Disqus is no more an option for me.</p>
<p>3. It saves me a lot of development and design time when I decide to use a free WP template, which does not support gravatars and threaded comment. The <a href="http://aytemir.com/the-unstandard-2-widgetized-and-gravatarized/">Unstandard theme</a> is a good example of this. Although you can’t design it fully to your own taste, it still is flexible enough.</p>
<p>So if you should also run into troubles with the newest version of Intense Debate and the support team is not able to help you out, like in my case, you should consider using the old plugin/version. And take the lack of some features for granted, I’m afraid.</p>
<h3>UPDATE</h3>
<p>Ironically on 23th January 2009 the Intense Debate site is down. And another con for using a third party commenting system is beeing illustrated very typical with this: it slows down my site significantly and when a post has been loaded, you can not comment!<br />
I&#8217;ll give them yet another chance&#8230;for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://aytemir.com/replacing-your-comments-with-intense-debate/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
