<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Mustafa Ulu &#187; WordPress</title>
	<atom:link href="http://mustafaulu.net/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://mustafaulu.net</link>
	<description>Kişisel günlüğüm</description>
	<lastBuildDate>Sun, 05 Feb 2012 21:57:19 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mustafaulu.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mustafa Ulu &#187; WordPress</title>
		<link>http://mustafaulu.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mustafaulu.net/osd.xml" title="Mustafa Ulu" />
	<atom:link rel='hub' href='http://mustafaulu.net/?pushpress=hub'/>
		<item>
		<title>WordPress &#8220;Piwik Analytics&#8221; eklentisi için &#8220;Dashboard widget&#8221; yaması</title>
		<link>http://mustafaulu.net/2009/04/23/wordpress-piwik-analytics-eklentisi-icin-dashboard-widget-yamasi/</link>
		<comments>http://mustafaulu.net/2009/04/23/wordpress-piwik-analytics-eklentisi-icin-dashboard-widget-yamasi/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 12:40:23 +0000</pubDate>
		<dc:creator>mustafa ulu</dc:creator>
				<category><![CDATA[Açık Kaynak]]></category>
		<category><![CDATA[Yazılım]]></category>
		<category><![CDATA[Piwik]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mustafaulu.net/?p=305</guid>
		<description><![CDATA[Piwik Analytics eklentisi WordPress ile Piwik kurulumları arasındaki iletişimi kolaylaştırıyor. Şimdilik bu eklenti sadece Piwik&#8217;in ihtiyaç duyduğu kodu WordPress sayfalarına yerleştirmeyi sağlıyor. Piwik&#8217;in Widgetize eklentisinin sağladığı widgetları WordPress yönetim panelinden görebilmenin yararlı olacağını düşündüm. Bu düşünceyle aşağıdaki yamayı hazırladım. Posted in Açık Kaynak, Yazılım Tagged: Piwik, WordPress<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&amp;blog=537600&amp;post=305&amp;subd=mustafau&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/plugins/piwik-analytics/">Piwik Analytics</a> eklentisi <a href="http://wordpress.org/">WordPress</a> ile <a href="http://piwik.org/">Piwik</a> kurulumları arasındaki iletişimi kolaylaştırıyor.</p>
<p>Şimdilik bu eklenti sadece Piwik&#8217;in ihtiyaç duyduğu kodu WordPress sayfalarına yerleştirmeyi sağlıyor. </p>
<p>Piwik&#8217;in Widgetize eklentisinin sağladığı widgetları WordPress yönetim panelinden görebilmenin yararlı olacağını düşündüm. Bu düşünceyle aşağıdaki yamayı hazırladım.</p>
<p><pre class="brush: xml;">
Index: piwikanalytics.php
===================================================================
--- piwikanalytics.php	(revision 112809)
+++ piwikanalytics.php	(working copy)
@@ -267,6 +267,31 @@
 	} // class PA_Filter
 } // endif
 
+/** Dashboard Stuff: WP &gt;= 2.5 */
+
+function piwikanalytics_register_dashboard_widget() {
+	if (!current_user_can('manage_options'))
+		return;
+	wp_register_sidebar_widget('dashboard_piwikanalytics', __('Stats'), 'piwikanalytics_dashboard_widget_content', array(
+		'width' =&gt; 'full'
+	));
+}
+
+function piwikanalytics_add_dashboard_widget($widgets) {
+	global $wp_registered_widgets;
+	if (!isset($wp_registered_widgets['dashboard_piwikanalytics']) || !current_user_can('manage_options'))
+		return $widgets;
+
+	array_splice($widgets, 2, 0, 'dashboard_piwikanalytics');
+	return $widgets;
+}
+
+function piwikanalytics_dashboard_widget_content() { ?&gt;
+&lt;!-- Put embedded iframe code here. --&gt;
+&lt; ?php
+	exit;
+}
+
 if (function_exists(&quot;get_option&quot;)) {
 	if ($wp_siteid_takes_precedence) {
 		$options  = get_option('PiwikAnalyticsPP');
@@ -276,7 +301,7 @@
 
 $gaf = new PA_Filter();
 
-$options  = get_option('PiwikAnalyticsPP',&quot;&quot;);
+$options = get_option('PiwikAnalyticsPP', &quot;&quot;);
 
 if ($options == &quot;&quot;) {
 	$options['phpurl'] = '/piwik/piwik.php';
@@ -284,14 +309,16 @@
 	$options['dltracking'] = true;
 	$options['dlextensions'] = '7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip';
 	//$options['position'] = 'footer';
-	update_option('PiwikAnalyticsPP',$options);
+	update_option('PiwikAnalyticsPP', $options);
 }
 
 // adds the menu item to the admin interface
 add_action('admin_menu', array('PA_Admin','add_config_page'));
 
-
 // adds the footer so the javascript is loaded
 add_action('wp_footer', array('PA_Filter','spool_analytics'));	
 
-?&gt;
+add_action('wp_dashboard_setup', 'piwikanalytics_register_dashboard_widget');
+add_filter('wp_dashboard_widgets', 'piwikanalytics_add_dashboard_widget');
+
+?&gt;
\ No newline at end of file
</pre></p>
<br />Posted in Açık Kaynak, Yazılım Tagged: Piwik, WordPress <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mustafau.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mustafau.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mustafau.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mustafau.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mustafau.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mustafau.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mustafau.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mustafau.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mustafau.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mustafau.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mustafau.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mustafau.wordpress.com/305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mustafau.wordpress.com/305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mustafau.wordpress.com/305/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&amp;blog=537600&amp;post=305&amp;subd=mustafau&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mustafaulu.net/2009/04/23/wordpress-piwik-analytics-eklentisi-icin-dashboard-widget-yamasi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f6d5acdf6beca511ac2003434abd4c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mustafa ulu</media:title>
		</media:content>
	</item>
		<item>
		<title>Drupal 7 kullanıcı parolalarını veritabanında nasıl tutuyor</title>
		<link>http://mustafaulu.net/2008/10/21/drupal-7-kullanici-parolalarini-veritabaninda-nasil-tutuyor/</link>
		<comments>http://mustafaulu.net/2008/10/21/drupal-7-kullanici-parolalarini-veritabaninda-nasil-tutuyor/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 20:38:47 +0000</pubDate>
		<dc:creator>mustafa ulu</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Güvenlik]]></category>
		<category><![CDATA[bbPress]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[phpass]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mustafau.wordpress.com/?p=262</guid>
		<description><![CDATA[Drupal 7 kullanıcı parolalarını saklamak için yeni bir yöntem kullanıyor. Bu yöntem önceki Drupal sürümlerine göre daha güvenli olan ve yazılımlar arası kullanıcı taşınabilirliği sağlayan phpass algoritmasına dayanıyor. Artık aynı algoritmayı uygulayan Drupal, WordPress, bbPress, phpBB ve Gallery yazılımları arasında kullanıcı hesapları parola yenilemeye gerek kalmadan taşınabilecek. phpass algoritmasının uygulaması Drupal dağıtımındaki password.inc dosyasından alıp [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&amp;blog=537600&amp;post=262&amp;subd=mustafau&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://drupal.org/">Drupal</a> 7 kullanıcı parolalarını saklamak için yeni bir yöntem kullanıyor. Bu yöntem önceki Drupal sürümlerine göre daha güvenli olan ve yazılımlar arası kullanıcı taşınabilirliği sağlayan <a href="http://www.openwall.com/phpass/">phpass</a> algoritmasına dayanıyor.</p>
<p>Artık aynı algoritmayı uygulayan <a href="http://drupal.org/cvs?commit=108551">Drupal</a>, <a href="http://trac.wordpress.org/ticket/2394">WordPress</a>, <a href="http://trac.bbpress.org/ticket/760">bbPress</a>, <a href="http://area51.phpbb.com/docs/code/phpBB3/_includes---functions.php.html#functionphpbb_hash">phpBB</a> ve <a href="https://gallery.svn.sourceforge.net/svnroot/gallery/trunk/gallery2/lib/phpass/PasswordHash.inc">Gallery</a> yazılımları arasında kullanıcı hesapları parola yenilemeye gerek kalmadan taşınabilecek.</p>
<p>phpass algoritmasının uygulaması Drupal dağıtımındaki <a href="http://cvs.drupal.org/viewvc.py/drupal/drupal/includes/password.inc?view=markup">password.inc</a> dosyasından alıp aşağıya eklediğim 5 satır kod içerisinde kolaylıkla anlaşılabilir.</p>
<p><pre class="brush: php;">

$hash = md5($salt . $password, TRUE);
do {
  $hash = md5($hash . $password, TRUE);
} while (--$count);
$output =  $setting . _password_base64_encode($hash, 16);

</pre></p>
<p>Uygulama bildiğimiz &#8220;parola&#8221; + &#8220;rastgele karakterler öbeği&#8221; yöntemini temel alıyor. Parola&#8217;ya önce rastgele karakterlerden oluşan bir kelime ekleniyor. Oluşan karakter dizisi bilinen algoritmalardan biriyle (<a href="http://tr.wikipedia.org/wiki/MD5">MD5</a>, <a href="http://en.wikipedia.org/wiki/SHA_hash_functions">SHA1</a>) karmaşıklaştırılıyor (hash). Daha sonra bu işlem belirli bir miktar tekrarlanıyor. En sonunda ortaya çıkan karmaşıklaştırılmış ürüne ilk belirlenen rastgele karakterler ve işlemin tekrarlanma değeri ekleniyor. Böylece kullanılan rastgele karakterler ve tekrarlanma sayısının ileride tekrar kullanılabilmesi sağlanıyor. Bilgisayarların ileride daha hızlı olacağı ve bu yöntemi aşabileceği göz önünde bulundurularak tekrarlanma miktarının her yeni Drupal sürümünde arttırılması öngörülüyor.</p>
<br />Posted in Drupal, Güvenlik Tagged: bbPress, Gallery, phpass, phpbb, WordPress <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mustafau.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mustafau.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mustafau.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mustafau.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mustafau.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mustafau.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mustafau.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mustafau.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mustafau.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mustafau.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mustafau.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mustafau.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mustafau.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mustafau.wordpress.com/262/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&amp;blog=537600&amp;post=262&amp;subd=mustafau&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mustafaulu.net/2008/10/21/drupal-7-kullanici-parolalarini-veritabaninda-nasil-tutuyor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f6d5acdf6beca511ac2003434abd4c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mustafa ulu</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress günlüğünüz için phpMyVisites eklentisi</title>
		<link>http://mustafaulu.net/2006/12/02/wordpress-gunlugunuz-icin-phpmyvisites-eklentisi/</link>
		<comments>http://mustafaulu.net/2006/12/02/wordpress-gunlugunuz-icin-phpmyvisites-eklentisi/#comments</comments>
		<pubDate>Sat, 02 Dec 2006 00:34:24 +0000</pubDate>
		<dc:creator>mustafa ulu</dc:creator>
				<category><![CDATA[Yazılım]]></category>
		<category><![CDATA[phpMyVisites]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mustafau.wordpress.com/2006/12/02/wordpress-gunlugunuz-icin-phpmyvisites-eklentisi/</guid>
		<description><![CDATA[Kendi sunucunuzda (veya FTP veya SHELL hesabınızın olduğu herhangi bir sunucuda) WordPress günlüğü barındırıyor iseniz size bir müjdem var. Artık WordPress günlüğünüzün istatistiklerini phpMyVisites ile rahatlıkla tutabilirsiniz. WordPress phpMyVisites2 Eklentisi WordPress günlüğünüz ile phpMyVisites uygulaması arasında köprü olacaktır. Not: Bu eklenti WordPress.com tarafından sunulan günlüklerde kullanılamaz.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&amp;blog=537600&amp;post=15&amp;subd=mustafau&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Kendi sunucunuzda (veya FTP veya SHELL hesabınızın olduğu herhangi bir sunucuda) WordPress günlüğü barındırıyor iseniz size bir müjdem var. Artık WordPress günlüğünüzün istatistiklerini phpMyVisites ile rahatlıkla tutabilirsiniz.<img src="http://mustafau.files.wordpress.com/2006/12/phpmyvisites.png?w=500" alt="phpmyvisites.png" align="left" /></p>
<p><a href="http://students.sabanciuniv.edu/~mustafau/wp-phpmv2/readme.html?pid=1" target="_blank">WordPress phpMyVisites2 Eklentisi</a> WordPress günlüğünüz ile phpMyVisites uygulaması arasında köprü olacaktır.</p>
<p>Not: <i>Bu eklenti WordPress.com tarafından sunulan günlüklerde kullanılamaz.</i></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mustafau.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mustafau.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mustafau.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mustafau.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mustafau.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mustafau.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mustafau.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mustafau.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mustafau.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mustafau.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mustafau.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mustafau.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mustafau.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mustafau.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mustafau.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mustafau.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mustafaulu.net&amp;blog=537600&amp;post=15&amp;subd=mustafau&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mustafaulu.net/2006/12/02/wordpress-gunlugunuz-icin-phpmyvisites-eklentisi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8f6d5acdf6beca511ac2003434abd4c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mustafa ulu</media:title>
		</media:content>

		<media:content url="http://mustafau.files.wordpress.com/2006/12/phpmyvisites.png" medium="image">
			<media:title type="html">phpmyvisites.png</media:title>
		</media:content>
	</item>
	</channel>
</rss>
