<?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>Thariqul Huda &#187; WP-hack</title>
	<atom:link href="http://hudatoriq.web.id/tag/wp-hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://hudatoriq.web.id</link>
	<description>Huda's Life, On The Row</description>
	<lastBuildDate>Sat, 18 Feb 2012 15:41:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CommentMailer Localization on The Fly</title>
		<link>http://hudatoriq.web.id/2007/11/30/commentmailer-localization-on-the-fly/</link>
		<comments>http://hudatoriq.web.id/2007/11/30/commentmailer-localization-on-the-fly/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 14:08:38 +0000</pubDate>
		<dc:creator>huda</dc:creator>
				<category><![CDATA[Berita]]></category>
		<category><![CDATA[CommentMailer]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WP-hack]]></category>

		<guid isPermaLink="false">http://hudatoriq.web.id/2007/11/30/commentmailer-localization-on-the-fly/</guid>
		<description><![CDATA[Being one of WordPress localization maintainer, I&#8217;m concerned to the fact that WP should be internationally accepted and easily localized into many languages. It applies to plugins too, so I always gettext all WP plugins I ever wrote (unfortunately only &#8230; <a href="http://hudatoriq.web.id/2007/11/30/commentmailer-localization-on-the-fly/">Lanjutkan membaca <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://hudatoriq.web.id/files/commentmailer.jpg" style="margin: 0 10px 10px 0" align="left" />Being one of WordPress localization maintainer, I&#8217;m concerned to the fact that WP should be internationally accepted and easily localized into many languages. It applies to plugins too, so I always gettext all WP plugins I ever wrote (unfortunately only 2 of them are fully maintained and available for <a href="http://hudatoriq.web.id/wp-hacks">download here</a>). <img src='http://www.keritikentang.com/smilies/yahoo_smiley.gif' alt='&#58;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;' /></p>
<p>Lately I&#8217;ve been working on my 2nd plugin&#8211;<a href="http://hudatoriq.web.id/wp-hacks/commentmailer">commentmailer</a> (currently in ver 0.1)&#8211;and found that it needs special i18n treatment. Unlike most plugins that need gettext to localize their appearance on the web page, commentmailer prints the localized strings into an e-mail.</p>
<p>Even as a non-English blog author, sometimes you do need to answer your visitor&#8217;s comment in English. More than that, if you are a true polyglot and writes your blog in several languages, you will also have to answer the comment in as many languages as you use. If you use commentmailer plugin to email those answers, you probably want to localize the email depending on the content language.</p>
<p>I&#8217;ve provided the localization schema to commentmailer since the first time I released it. But switching which language to use is as painful as changing your WordPress locale environment, unless you are using some multilingual plugin.</p>
<p>So I  put some function that makes commentmailer prompt the user (blog author) with an option of which language he/she want to use to answer the visitor&#8217;s comment. It searches for commentmailer localization files inside your plugin dir and print a locale selection menu to your comment form.</p>
<p>Here&#8217;s what you need to do to take some advantage of this new feature:</p>
<ol>
<li>Update your commentmailer plugin to the latest version</li>
<li>Use the localization template (commentmailer.pot) included in the distribution file to localize the plugin. Name your localization file (the machine object) <code>commentmailer-[locale].mo</code> and put it directly inside the plugin directory&#8211;next to commentmailer.php</li>
<li>Using the corresponding WordPress localization is recommended since it will localize the date format printed in you e-mail</li>
<li>When you are writing a reply in the comment form, select the language in which you are writing</li>
<li>Of course you have to write the comment content in your language to match your preferred locale</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://hudatoriq.web.id/2007/11/30/commentmailer-localization-on-the-fly/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>WordPress untuk Situs Surat Kabar Harian</title>
		<link>http://hudatoriq.web.id/2007/11/12/wordpress-untuk-situs-surat-kabar-harian/</link>
		<comments>http://hudatoriq.web.id/2007/11/12/wordpress-untuk-situs-surat-kabar-harian/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 04:14:47 +0000</pubDate>
		<dc:creator>huda</dc:creator>
				<category><![CDATA[Tips & Tutorial]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WP-hack]]></category>

		<guid isPermaLink="false">http://www.hudatoriq.web.id/2007/11/12/wordpress-untuk-situs-surat-kabar-harian/</guid>
		<description><![CDATA[Jangan anggap bahwa WordPress hanya cocok digunakan untuk membuat blog. WordPress memang diciptakan sedemikian rupa sehingga kemasan distribusinya kecil dan sederhana. Hal itu sebenarnya ditujukan agar pengguna tidak dijejali dengan berbagai fitur-fitur yang tidak semua format situs membutuhkan. Aplikasi ini &#8230; <a href="http://hudatoriq.web.id/2007/11/12/wordpress-untuk-situs-surat-kabar-harian/">Lanjutkan membaca <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Jangan anggap bahwa <a href="http://wordpress.org">WordPress</a> hanya cocok digunakan untuk membuat blog. WordPress memang diciptakan sedemikian rupa sehingga kemasan distribusinya kecil dan sederhana. Hal itu sebenarnya ditujukan agar pengguna tidak dijejali dengan berbagai fitur-fitur yang tidak semua format situs membutuhkan. Aplikasi ini bahkan dilengkapi dengan API yang membuatnya sangat fleksibel. Itu membuatnya mudah dikembangkan menjadi apapun&#8211;hanya imajinasi kita yang dapat membatasinya.</p>
<p>Salah satu contoh sederhana penerapan penggunaan WordPress yang ingin saya bahas di sini ialah sebagai <em>engine</em> sebuah situs surat kabar harian. Ini bukan artikel tutorial lengkap, sekedar sebuah wacana, dilengkapi dengan sedikit <em>scripting</em> kasar yang membantu Anda melangkah ke sana.</p>
<p>Fitur-fitur yang menjadi persyaratan untuk sebuah situs surat kabar antara lain:</p>
<ol>
<li>Halaman utama dapat berupa halaman selamat datang ataupun langsung cuplikan berita-berita hari ini. Namun bentuk yang pertama saya sebutkan agaknya sedikit merepotkan bagi pengunjung.</li>
<li>Halaman yang menampilkan suatu berita secara utuh</li>
<li>Halaman yang menampilkan cuplikan seluruh berita pada tanggal tertentu.</li>
<li>Menu yang disajikan sedemikian rupa sehingga memudahkan pengunjung untuk memilih hari/tanggal/edisi tertentu dari surat kabar yang bersangkutan. Biasanya disajikan dalam bentuk kalender bertaut.</li>
</ol>
<p>Untuk mewujudkan fitur-fitur yang ada di atas, kita dapat membuat templat suai (<em>custom template</em>) yang agak berbeda dengan templat blog biasa.</p>
<p><span id="more-82"></span><strong>Halaman Utama</strong></p>
<p>Sebagai contoh, sebuah koran bernama &#8220;<code><strong>example</strong></code>&#8221; menggunakan situs yang beralamat di <code><strong>http://example.com</strong></code>. Dengan mengklik URL tersebut, pengunjung akan melihat cuplikan berita-berita untuk hari ini.</p>
<p>Untuk menciptakan halaman utama yang demikian, yang perlu kita lakukan ialah membuat struktur loop berikut dalam berkas index.php tema Anda.</p>
<pre class="code">&lt;?php get_header(); ?&gt;

[struktur halaman sebelum loop]

&lt;?php
$query = 'year=' . date('Y') . '&amp;monthnum='
. date('m') . '&amp;day=' . date('d');
query_posts($query);
if (have_posts()) :
	while (have_posts()) :
		the_post(); ?&gt;

		[struktur halaman dalam loop]

	&lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;

[struktur halaman setelah loop]

&lt;?php get_footer(); ?&gt;</pre>
<p>Yang membedakan loop di atas dari loop standar WordPress ialah dipanggilnya fungsi <code><strong>query_posts()</strong></code> dengan parameternya yang berisi tahun, bulan dan tanggal tulisan yang ingin diambil (tahun, bulan dan tanggal saat ini). Data tersebut diambil dari server menggunakan fungsi <code><strong>date()</strong></code>. Oleh karena itu, halaman utama ini selalu menampilkan <strong>artikel hari ini</strong>, bukan sejumlah artikel terakhir berdasarkan kronologis waktu seperti blog pada umumnya.</p>
<p>Jika artikel untuk koran terbitan esok sudah siap, sang editor bisa saja langsung menerbitkannya ke web menggunakan tanggal besok sebagai tanda waktunya, tanpa khawatir tulisan tersebut akan muncul di halaman muka (edisi hari ini). Setelah hari berganti, begitu juga dengan tanggal dalam server maka tinggal ucapkan manteranya, &#8220;<em>paginagenerosa..!!</em>&#8220;. Dan halaman muka secara otomatis berganti menjadi berita-berita di hari berikutnya. <img src='http://www.keritikentang.com/smilies/yahoo_laughloud.gif' alt='&#58;&#41;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;&#41;' /></p>
<p>Struktur halaman dan berita dapat Anda kreasikan sendiri sesuka Anda. Silakan membuat tampilan halaman seprofesional mungkin. Paduan antara ringkasan berita dan miniatur (<em>thumbnail</em>) akan tampak manis, dengan masing-masing dilengkapi taut ke <em>permalink</em> berita tersebut.</p>
<p><strong>Halaman Artikel Tunggal</strong></p>
<p>Halaman ini yang akan dimunculkan setelah pengunjung mengklik salah satu (<em>permalink</em>) cuplikan berita. Halaman ini seperti laiknya sebuah halaman <em>single post</em> dalam blog. Sesuaikan berkas <code>single.php</code> tema Anda untuk menentukan struktur halaman ini.</p>
<p>Ide yang bagus untuk tetap mencantumkan taut ke artikel lainnya pada edisi yang sama. mungkin di kolom sisi (<em>sidebar</em>).</p>
<p><strong>Halaman Edisi Tanggal XX/XX/XXXX</strong></p>
<p>Anda yang biasa menggunakan WordPress mungkin sudah mengenal halaman arsip serta berkas archive.php dalam tema (<em>theme</em>). Berkas ini akan digunakan ketika WordPress menerima kueri publik tertentu. Dalam versi 2.3, ada tiga belas variabel kueri publik yang akan memicu pemanggilan berkas archive.php. Empat diantaranya yang dapat kita gunakan dalam bagian ini ialah variabel tahun (<code><strong>year</strong></code>), angka bulan (<code><strong>monthnum</strong></code>) dan tanggal (<code><strong>day</strong></code>). Sebagai alternatif dari year, monthnum dan day, Anda juga bisa menggunakan variabel <code><strong>m</strong></code>, yaitu penggabungan <em>string</em> tahun, bulan dan tanggal.</p>
<p>Cara menerima kueri publik dari pengunjung ialah dengan memasukkannya pada URL. Sebagai contoh, jika Anda ingin menyediakan halaman arsip berita untuk edisi terbitan 12 Juni 1985, maka gunakan URL berikut:</p>
<p class="code">http://example.com/?year=1985&amp;monthnum=06&amp;day=12</p>
<p>Atau alternatif lainnya:</p>
<p class="code">http://example.com/?m=19850612</p>
<p>Sedangkan untuk menanggapi kueri publik tersebut, kita akan bermain-main dengan loop di berkas archive.php. Kira-kira berikut struktur berkas archive.php yang perlu Anda buat.</p>
<pre class="code">
&lt;?php get_header(); ?&gt;
&lt;?php if (have_posts()) : ?&gt;
&lt;?php $post = $posts[0]; ?&gt;
&lt;?php } if (is_day()) { ?&gt;

[struktur pembuka hal. edisi tgl xx/xx/xxxx]

&lt;?php while (have_posts()) : the_post(); ?&gt;

[struktur hal. edisi tgl xx/xx/xxxx dalam loop]

&lt;?php endwhile; ?&gt;

[struktur penutup hal. edisi tgl xx/xx/xxxx]

&lt;?php } elseif (is_month()) { ?&gt;

	[struktur halaman edisi bulan xx/xxxx]

&lt;?php } elseif (is_year()) { ?&gt;

	[struktur halaman tahun xxxx]

&lt;?php else : ?&gt;

	[struktur halaman "tidak ditemukan"]

&lt;?php endif; ?&gt;
&lt;?php get_footer(); ?&gt;</pre>
<p>Pada struktur di atas, bila kueri publik &#8220;<code><strong>day</strong></code>&#8221; atau &#8220;<code><strong>m</strong></code>&#8221; (asalkan mencakup tanggal) diterima, maka akan dilakukan loop yang mengambil berita-berita pada tanggal tersebut. Dengan loop ini, kita bisa menyusun tampilan halaman yang mirip seperti halaman utama, namun dengan konten berita di edisi terdahulu. Anda juga bisa membuatnya lebih sederhana daripada halaman utama, terserah Anda yang mendesainnya.</p>
<p><em>Placeholder</em> <code>[struktur halaman edisi bulan xx/xxxx]</code> di atas merupakan tempat di mana Anda membuat struktur halaman yang tampil jika pengunjung mengirim kueri bulan dan tahun. Sebagai contoh, jika pengunjung mengklik URL:</p>
<p class="code">http://example.com/?m=200706</p>
<p>Strukturnya tergantung apa yang ingin Anda sajikan di sini. Dalam contoh di atas saya tidak memasukkan loop di dalam sini dengan asumsi bahwa untuk sebuah situs surat kabar harian, akan banyak sekali tulisan yang memenuhi faktor inklusi bulan dan tahun tertentu. Sebagai alternatifnya, Anda bisa menampilkan taut-taut ke masing-masing edisi di bulan tersebut. Atau, dengan sedikit penyesuaian (<em>customization</em>) loop, Anda dapat mempersempit kueri dengan hanya menampilkan kategori tertentu, misalnya: berita utama hari itu.</p>
<p>Untuk <em>placeholder</em> <code>[struktur halaman tahun xxxx]</code>, saya rasa perlakuannya hampir sama.</p>
<p><strong>Rubrik</strong></p>
<p>Pengelompokan artikel-artikel dalam surat kabar ke dalam rubrik-rubrik tertentu dapat dilakukan dengan menggunakan fitur &#8220;Kategori&#8221; dalam WordPress. Menilik struktur perubrikan dalam media cetak, rasanya tidak mungkin sebuah artikel memiliki lebih dari satu kategori. Hal ini nantinya akan mempermudah klasifikasi tulisan. Jika ingin membuat pengelompokan artikel yang mengenal irisan (<em>intersection</em>), gunakan sistem tag natif WordPress.</p>
<p><strong>Pretty Permalink &amp; URL<br />
</strong></p>
<p>Salah satu kelebihan WordPress ialah sistem pretty permalinknya yang solid. Bahkan, format yang disarankan (<em>recommended</em>) WordPress, yaitu berdasarkan penanggalan&#8211;<code>/%year%/%monthnum%/%day%/%postname%/</code>, amat cocok diterapkan pada sebuah situs surat kabar harian.</p>
<p>Dengan format ini, jika pengunjung ingin melihat edisi cetak tanggal 28 Oktober 2007, maka ia cukup mengunjungi alamat ini:</p>
<p class="code">http://example.com/2007/10/28</p>
<p>Pengunjung yang cerdas tidak akan kesulitan melakukan navigasi untuk mencari edisi yang dicari. Juga tidak perlu menghapal format URL kompleks yang penuh dengan tanda &#8220;<code>?</code>&#8220;, &#8220;<code>&amp;</code>&#8221; dan &#8220;<code>=</code>&#8220;.</p>
<p><strong>Kalender</strong></p>
<p>Ini merupakan salah satu alat navigasi yang amat membantu sebuah situs dengan arsip artikel yang sangat banyak seperti situs surat kabar. WordPress telah dilengkapi dengan <em>widget</em> yang salah satu di antaranya ialah kalender. Kalau Anda tidak menginginkan kalender di kolom sisi, Anda pun dapat membuat kalender sendiri di manapun. Berbagai macam fungsi bawaan WordPress sangat membantu. Fitur <em>pretty URL</em> WordPress pun akan mempermudah menentukan tujuan taut kalender tersebut.</p>
<p><strong>Input Berita</strong></p>
<p>Dengan menggunakan <em>engine</em> WordPress, proses input berita menjadi sangat sederhana. Dengan sedikit pelatihan wartawan dapat langsung melakukan entri konten. Sistem pengelompokan pengguna berdasarkan &#8220;peran&#8221; dapat kita manfaatkan. Misalnya, seorang wartawan diberi &#8220;peran&#8221; sebagai &#8220;kontributor&#8221;. Ia dapat memasukkan naskah dan menyimpannya. Kemudian seorang editor yang akan mengevaluasinya dan menerbitkannya, dengan terlebih dahulu mengatur tanggal berita tersebut.</p>
<p><strong>Tambahan</strong></p>
<p>Uraian di atas menunjukkan bahwa WordPress amat sesuai untuk dijadikan sebuah <em>engine</em> situs web surat kabar. Yang saya sampaikan masih berupa gambaran kasar. Silakan Anda mengembangkannya.</p>
<p>Berikut beberapa hal tambahan yang harus dipikirkan dalam membuat templat WordPress untuk sebuah situs surat kabar:</p>
<ol>
<li>Antisipasi pengunjung yang mengunjungi halaman berita untuk besok menggunakan kueri &#8220;m&#8221;. Jangan sampai ia melihat berita sebelum waktunya tiba (pergantian tanggal). Hal ini bisa dilakukan dengan membuat kondisi di berkas <code>archive.php</code></li>
<li>Jika suatu hari tidak ada berita sama sekali (misal: harian itu tidak terbit dikarenakan hari libur nasional), maka jangan sampai pengunjung melihat halaman kosong. Sesuaikan berkas <code>index.php</code> Anda. Misal: alihkan ke hari terakhir di mana masih ada berita.</li>
<li>Sesuaikan pula umpan RSS dan atom situs Anda</li>
<li>Hmm.. apa lagi ya? Kalau Anda punya pendapat, silakan tambahkan dan kita diskusikan di bagian komentar</li>
</ol>
<p>Yang ingin saya sampaikan di sini ialah bahwa menggunakan sebuah aplikasi blog seperti WordPress dalam sebuah situs surat kabar bukanlah berarti kompromi. Aplikasi blog yang nampaknya sederhana ini justru dapat meningkatkan efisiensi pengelolaan konten situs Anda.</p>
<p>Kompleksitas situs yang Anda harapkan dapat dicapai dengan membuatkan aplikasi lagi di atasnya, baik dalam templat (<em>theme</em>) atau plugin. Sebisa mungkin hindari penyuntingan skrip inti WordPress (berkas-berkas di direktori akar dan dalam direktori <code><strong>wp-includes</strong></code> dan <code><strong>wp-admin</strong></code>). Ini memudahkan Anda untuk terus mengikuti pengembangan WordPress dan memutakhirkan instalasi WordPress Anda ke versi yang terbaru).</p>
]]></content:encoded>
			<wfw:commentRss>http://hudatoriq.web.id/2007/11/12/wordpress-untuk-situs-surat-kabar-harian/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>CommentMailer</title>
		<link>http://hudatoriq.web.id/2007/08/20/commentmailer/</link>
		<comments>http://hudatoriq.web.id/2007/08/20/commentmailer/#comments</comments>
		<pubDate>Sun, 19 Aug 2007 19:35:09 +0000</pubDate>
		<dc:creator>huda</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[CommentMailer]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WP-hack]]></category>

		<guid isPermaLink="false">http://www.hudatoriq.web.id/2007/08/20/commentmailer/</guid>
		<description><![CDATA[Comment Mailer is a WordPress plugin that helps you maintaining the discussion on your blog by letting the commenters know that you have replied their comments on the comment section of your post. Everytime you post a comment to answer &#8230; <a href="http://hudatoriq.web.id/2007/08/20/commentmailer/">Lanjutkan membaca <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Comment Mailer is a WordPress plugin that helps you maintaining the discussion on your blog by letting the commenters know that you have replied their comments on the comment section of your post. Everytime you post a comment to answer previous comments from your visitors, you&#8217;ll be given an option to send a notification email to a spcecific commenters. It&#8217;s simple and easy.</p>
<p><strong>Why You Should Use This Plugin</strong></p>
<ul>
<li>You&#8217;ll never know whether your blog commenters is going to visit back to look for your reply for his/her comment, subscribe a comment feed for a specific post, or choose to receive notification e-mail (if you provide one). By using this plugin, you&#8217;ll have a full control to decide whether it is necessary to notify a commenter for a new reply.</li>
<li>It keeps the discussion rolling on your blog comment system.</li>
</ul>
<p><strong>Grab it</strong></p>
<p>Currently there is only unstable version of this plugin. But yet, you can still take the advantage by installing  it. Use the following link to download the plugin.</p>
<p class="download"><a href="http://downloads.wordpress.org/plugin/commentmailer.0.1-beta.zip" title="Comment Mailer">commentmailer-0.1-beta</a></p>
<p><span id="more-72"></span><strong>Installation</strong></p>
<ol>
<li>Download the package and decompress it</li>
<li>Upload the file named commentmailer.php to your /wp-content/plugins/ directory</li>
<li>Go to your Plugin activation section and activate the plugin</li>
<li>Well done!</li>
<li>If necessary, you can configure anything on the admin panel. Login into your wp-admin and select Options -&gt; CommentMailer</li>
</ol>
<p><strong>Usage</strong></p>
<p>If you are logged in as an administrator on your blog, you&#8217;ll see an additional list menu on the comment submission form. Select the commenters to whom you are going to send a notification e-mail. Then click the submit button as usual. Leave the rest to the plugin to work</p>
<p><strong>Localization</strong></p>
<p>There is still only one localization available for this plugin: Bahasa Indonesia.  If you are interested in translating it into your language, you can use the template (commentmailer.pot) file included in the plugin package archive. You can send the translation result back to me so I could include the translation in the next release.</p>
<p>Localization plays an important role in this plugin since it determines the content of your notification e-mail.</p>
<table class="table_post_line download" margin="1" border="0" width="100%">
<tr>
<th align="center">Language</th>
<th align="center">Version</th>
<th align="center">Translator</th>
<th align="center">Source code</th>
<th align="center">Binary</th>
</tr>
<tr>
<td align="left">Bahasa Indonesia</td>
<td align="center">0.1-alpha</td>
<td align="center"><a href="hudatoriq.web.id">Huda Toriq</a></td>
<td align="center"><a href="http://svn.wp-plugins.org/commentmailer/l10n/trunk/commentmailer-id_ID.po">id_ID</a></td>
<td align="center"><a href="http://svn.wp-plugins.org/commentmailer/l10n/trunk/commentmailer-id_ID.mo">id_ID</a></td>
</tr>
</table>
<p>To use the localization, simply upload the desired .mo to your plugin directory (/wp-content/plugins/). Your WPLANG value in your wp-config.php should match the .mo file. e.g. you should use the id_ID.mo if your WPLANG is set to id_ID.</p>
<p><strong>Frequently Asked Questions</strong></p>
<p class="question" style="text-align: left">Can my blog visitors use same list menu to send comment notification to the other commenters?</p>
<p>No unless they are registered as your blog user and are logged in when they are submitting a comment. Otherwise they would see the regular comment form, without the additional list menu.</p>
<p class="question" style="text-align: left">The e-mail header configuration can only be filled with a single setting (single sender name, single e-mail address). How could a multi user blog specify multiple settings for the plugin?</p>
<p>You couldn&#8217;t. But you can leave it blank so that the display name and email address from the user profile will be used instead of the commentmailer option</p>
<p class="question" style="text-align: left">Why I don&#8217;t see any extra options on the comment submission form?</p>
<p>It&#8217;s probably because your theme doesn&#8217;t have a hook called comment_form. I use this hook to automatically insert the multiple list menu containing the names of the commenters. Check your theme file for a code that look like this: <code>&lt;&amp;php do_action('comment_form', $post-&gt;ID); &amp;&gt; </code>Usually it&#8217;s located inside &#8216;comments.php&#8217;. If you don&#8217;t have one, try adding it manually.</p>
<p><strong>Version History</strong></p>
<ul>
<li>September 2 2007 &#8211; Version 0.1-beta<br />
Major fixes for previously broken functions. The multiple list is now working.</li>
<li>August 20 2007 &#8211; Version 0.1-alpha<br />
Initial release. The multiple list is not 100% working actually. You could only send notification to 1 visitor. I have recoded the list and will surely provide the real multiple list function in the next release. (soon <img src='http://www.keritikentang.com/smilies/yahoo_smiley.gif' alt='&#58;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;' /> ).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hudatoriq.web.id/2007/08/20/commentmailer/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Yahoo Messenger Online Status Plugin for WordPress</title>
		<link>http://hudatoriq.web.id/2007/05/01/yahoo-messenger-online-status-plugin-for-wordpress/</link>
		<comments>http://hudatoriq.web.id/2007/05/01/yahoo-messenger-online-status-plugin-for-wordpress/#comments</comments>
		<pubDate>Tue, 01 May 2007 15:17:02 +0000</pubDate>
		<dc:creator>huda</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WP-hack]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.hudatoriq.web.id/2007/05/01/plugin-status-online-yahoo-messenger-untuk-wordpress/id/</guid>
		<description><![CDATA[Now this plugin has its own page. For newer and more up to date information about this plugin, please refer to the new page. Do you love telling everybody whether you are online or not by adding your Yahoo Messenger &#8230; <a href="http://hudatoriq.web.id/2007/05/01/yahoo-messenger-online-status-plugin-for-wordpress/">Lanjutkan membaca <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Now this plugin has <a href="http://www.hudatoriq.web.id/wp-hacks/ym-online-status" title="Yahoo Messenger Online Status Plugin for WordPress">its own page</a>. For newer and more up to date information about this plugin, please refer to <a href="http://www.hudatoriq.web.id/wp-hacks/ym-online-status" title="Yahoo Messenger Online Status Plugin for WordPress">the new page</a>.</p>
<p>Do you love telling everybody whether you are online or not by adding your Yahoo Messenger online status to your blog? If you do, you might have been familiar to these standard YM online status button:</p>
<p><img src="http://hudatoriq.web.id/files/2007/05/online0.gif" class="noborder" alt="online0.gif" height="12" width="12" />  <img src="http://hudatoriq.web.id/files/2007/05/online1.gif" alt="online1.gif" class="noborder" /> <img src="http://hudatoriq.web.id/files/2007/05/online2.gif" alt="online2.gif" class="noborder" /> <img src="http://hudatoriq.web.id/files/2007/05/online3.gif" alt="online3.gif" class="noborder" /> <img src="http://hudatoriq.web.id/files/2007/05/online4.gif" alt="online4.gif" class="noborder" /> <img src="http://hudatoriq.web.id/files/2007/05/online5.gif" alt="online5.gif" class="noborder" /></p>
<p><img src="http://hudatoriq.web.id/files/2007/05/offline0.gif" alt="offline0.gif" class="noborder" height="12" width="12" />  <img src="http://hudatoriq.web.id/files/2007/05/offline1.gif" alt="offline1.gif" class="noborder" /> <img src="http://hudatoriq.web.id/files/2007/05/offline2.gif" alt="offline2.gif" class="noborder" /> <img src="http://hudatoriq.web.id/files/2007/05/offline3.gif" alt="offline3.gif" class="noborder" /> <img src="http://hudatoriq.web.id/files/2007/05/offline4.gif" alt="offline4.gif" class="noborder" /> <img src="http://hudatoriq.web.id/files/2007/05/offline5.gif" alt="offline5.gif" class="noborder" /></p>
<p>Bored with these button?</p>
<p>For you, WordPress users, I&#8217;ve written a simple plugin which allows you to show your YM online status using your custom images, so you can make sure that your online status button looks good on your blog&#8217;s theme and layout. My Yahoo Messenger online status button on the sidebar of this blog is a simple example for this plugin. Of course, this is only an example. You can create better buttons on your own.</p>
<p>Interested? Just download the latest version of this plugin and put it on your blog<br />
<span id="more-54"></span></p>
<p class="download">Latest stable version:<br />
<a href="http://downloads.wordpress.org/plugin/ym-online-status.0.3.zip">ym-online-status-0.3</a></p>
<p><strong>Installation and Usage:<br />
</strong></p>
<ol>
<li>Decompress this plugin&#8217;s archive file. It contains a folder named &#8216;ym-online-status&#8217;</li>
<li>Upload the folder into your plugins directory which is located by default in <code>/wp-content/plugins/</code> After uploading this folder, you should have a structure like this: <code>/wp-content/plugins/ym-online-status/[some files + folder]</code></li>
<li>Go to your admin section and select <strong>Plugins</strong> menu. Activate this plugin from the panel.</li>
<li>Now go to <strong>Options</strong>, select the <strong>YM Status </strong>submenu (you&#8217;ll find this new submenu after activating this plugin). Fill in the &#8216;Yahoo Messenger ID&#8217; field with your yahoo id. If you&#8217;d like to enter some different ids, separate each id with a <strong>space</strong> (see further notes about <a href="#multiple_ids">using multiple yahoo ids</a>). The &#8216;Text&#8217; field on the options represents the value of &#8216;alt&#8217; and &#8216;title&#8217; attributes of your button. It will show up as a tooltip when you hover your mouse pointer on your button and where browsers doesn&#8217;t load your button image.</li>
<li>Select your preferred YM status button to display.</li>
<li>Click the &#8216;Update Options&#8217; button.</li>
<li>Enter this code into your theme file, in which your online status button will be displayed:<code>&lt;?php get_ym_status() ?&gt;</code>It&#8217;ll be nice to put it in your sidebar.php, but it is up to you where you would like it to be displayed. <img src='http://www.keritikentang.com/smilies/yahoo_smiley.gif' alt='&#58;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;' /></li>
<li>Congratulations! Now you have a unique YM online status button. <img src='http://www.keritikentang.com/smilies/yahoo_smiley.gif' alt='&#58;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;' /></li>
</ol>
<p><strong>Using your own image</strong></p>
<p>I have included some sample online status buttons which you could use on your blog. But if you&#8217;d like to use your own creation, please follow these steps:</p>
<ol>
<li>Prepare a pair of images. One is for showing the visitors that you are online, and the other one is for showing that you are offline. These paired image&#8217;s format and extension have to be identical. You can&#8217;t pair an online .jpg image with an offline .gif image. I also suggest that you use a pair of image with the same pixel dimension, although this isn&#8217;t a must.</li>
<li>Name each of the images as <code>online-[image_name].[extension]</code> and <code>offline-[image_name].[extension]</code> As an example, you might want to name them as online-myimage.gif and offline-myimage.gif.</li>
<li>Upload these images into this directory: <code>/wp-content/plugins/ym-online-status/images/</code></li>
<li>Get into the admin panel, select the <strong>Options </strong>menu and then the <strong>YM Status</strong> submenu. Select your custom images as your online status button just like you did before, and then click the <strong>Update Options</strong> button.</li>
</ol>
<p class="favorite">If you would like to share your custom images to WordPress communities, I would be glad to include them in this plugin, accompanied with the author&#8217;s credits and blog urls of course. <img src='http://www.keritikentang.com/smilies/yahoo_smiley.gif' alt='&#58;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;' /> Please send me your custom images via email: hudatoriq [at] gmail [dot] com. The images must be in PNG format, with 32 bits per pixel color depth (with 8 bit per pixel transparency).</p>
<p><a title="multiple_ids" name="multiple_ids"></a><strong>Using multiple yahoo ids<br />
</strong></p>
<p>If you want to display the online statuses of several yahoo ids, please follow these steps:</p>
<ul>
<li>In the YM Status Option page, specify multiple yahoo ids in the field labeled &#8216;Yahoo Messenger ID&#8217;. Separate each ids with a <strong>space</strong>.</li>
<li>To display all these ids at once, simply use this function on your theme file: <code>&lt;?php get_ym_status('list') ?&gt;</code> This will display the YM status of the given ids in an unordered list format.</li>
</ul>
<p>If it doesn&#8217;t fit your theme/layout, you can create your own HTML tags structure. Use this tags to show your custom image with link that executes Yahoo Messenger program when clicked:<code style="font-size: 0.8em">&lt;a href='ymsgr:sendim?[yahoo_id]' title='[title text]'&gt;<br />
&lt;img src='[weblog root]/wp-content/plugins/ym-online-status/image.php?id=[id number]' alt='[title text]' /&gt;<br />
&lt;/a&gt;<br />
</code></p>
<p>You should replace the value inside [ and ] as noted below:</p>
<ul>
<li>[yahoo id] with your yahoo id/username</li>
<li>[title text] with your custom text that you will use as a tooltip</li>
<li>[weblog root] with your web log root url</li>
<li>[id number] with the number dengan urutan keberapa id tersebut ditulis dalam field &#8216;Yahoo Messenger ID&#8217;. Misalkan Anda mengisi id-id berikut: tono tini tina. Jika ingin menampilkan status online tina, ganti nilai ini dengan nomor 3. Jika ingin menampilkan status online tono, ganti dengan nomor 1.</li>
</ul>
<p><strong>Localization</strong></p>
<p>Available translation file:</p>
<ul>
<li>Bahasa Indonesia</li>
</ul>
<p><strong>Frequently Asked Questions</strong></p>
<p class="question" style="text-align: left">Can somebody else use my image URL to show their YM online status on other site/weblog?</p>
<p>Yes, they can, provided that you allow them by specifying their yahoo username in the Options panel. Otherwise, they won&#8217;t be able to do this. You actually are able to lend your friends some help by hosting their custom image status while they don&#8217;t have the ability to use it due to their bloghost service limitation. Just tell them to use this url as their image source: <code style="font-size: 0.8em">[your weblog url]/wp-content/plugins/ym-online-status/image.php?id=[id number]</code></p>
<p class="question" style="text-align: left">Why does the button look bad on my blog? There is a rectangular gray background surrounding the button.</p>
<p>That&#8217;s probably due to incompatibility with your browser. The images included in this plugin is in PNG format. Besides storing color information, it also stores 256 level of transparency information for each pixel. It makes PNG image&#8217;s transparency look perfect on any background color. But unfortunately not all browser support this. If you use Internet Explorer prior to version 7.0, then you&#8217;ll have a good chance to face this problem. If you want your button to look fine in browsers that doesn&#8217;t support PNG&#8217;s transparency, try editing the image with some graphic editor. Remove the image transparency. Use your blog&#8217;s background color as your image&#8217;s background, then upload it back to your server.</p>
<p class="question" style="text-align: left">How do I upload my custom images into the designated directory? I can&#8217;t find any upload panel to do this from the YM Status Options Menu</p>
<p>Unfortunately I haven&#8217;t provided a form to upload images from the Admin panel yet. You have to upload it via FTP or your web host file manager.</p>
<p><strong>Copyright Notices</strong></p>
<p>This YM Online Status plugin for WordPress is released under GPL (General Public License).</p>
<p>Yahoo!, Yahoo! Messenger, Yahoo! logo, and some smiley image taken from Yahoo! website or Yahoo Messenger software are registered trademark and properties of Yahoo! Inc. This plugin is not officially released nor supported by Yahoo! Inc. Yahoo! is not responsible for the usage of this plugin on your blog.</p>
<p><strong>Version History</strong></p>
<ul>
<li><strong>Jul 14 2007 &#8211; Version 0.2</strong><br />
Bug repair &#8211; collision with other admin buttons named &#8216;submit&#8217; that creates undesired update triggers<br />
Compatibility fixes with WordPress 2.0 regarding array serialization<br />
Auto redirection to configuration page after activation<br />
Automatically assign smile.png as the default status button after plugin activation<br />
Notification messages in configuration page<br />
Using WP&#8217;s built in &#8216;init&#8217; hook to intercept user (admin) input (I should&#8217;ve done it earlier <img src='http://www.keritikentang.com/smilies/yahoo_smiley.gif' alt='&#58;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;' /> )<br />
Other minor changes (localizations, code cleaning, etc)</li>
<li><strong>May 3 2007 &#8211; Version 0.1</strong><br />
Now PHP 4 compatible (tested with PHP 4.3.11)</li>
<li><strong>May 2 2007 &#8211; Version 0.1 Beta</strong><br />
Initial release, still having problems with PHP 4.x.x</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hudatoriq.web.id/2007/05/01/yahoo-messenger-online-status-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>131</slash:comments>
		</item>
	</channel>
</rss>

