<?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>Open Script Solution&#187; posts</title>
	<atom:link href="http://www.openscriptsolution.com/tag/posts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.openscriptsolution.com</link>
	<description>... where solutions for script programming are found ...</description>
	<lastBuildDate>Tue, 31 Jan 2012 03:22:52 +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>How to Overcome The Missing Posts/Pages After Upgrading to WPML plugin version 1.8.0 of WordPress</title>
		<link>http://www.openscriptsolution.com/2010/07/25/how-to-overcome-the-missing-postspages-after-upgrading-to-wpml-plugin-version-1-8-0-of-wordpress/</link>
		<comments>http://www.openscriptsolution.com/2010/07/25/how-to-overcome-the-missing-postspages-after-upgrading-to-wpml-plugin-version-1-8-0-of-wordpress/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 05:34:37 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[WPML]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=1244</guid>
		<description><![CDATA[For those of you who encountered the missing posts/pages after upgrading your WPML plugin to 1.8.0 version, then this following solutin might be help you. Since WPML changed the element_type value of post and page in the icl_translations table, ie each into post_post and post_page, then you have to adjust this value at the element_type [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who encountered the missing posts/pages after upgrading your <a href="http://wpml.org" title="WPML" target="_blank">WPML</a> plugin to 1.8.0 version, then this following solutin might be help you. Since WPML changed the <strong>element_type</strong> value of <strong>post</strong> and <strong>page</strong> in the <strong>icl_translations</strong> table, ie each into <strong>post_post</strong> and <strong>post_page</strong>, then you have to adjust this value at the element_type field. After doing comparison to several version of WMPL, I found out that this changes happened since WPML version above 1.7.7. In version 1.7.7, this field was still using <strong>post</strong> and <strong>page</strong> instead of <strong>post_post</strong> and <strong>post_page</strong>. Actually, when you upgrade your WPML to 1.8.0, this value will be automatically adjusted to the new value. But, in some cases, there are some websites that do not automatically turn to the new value, especially if they deactivate and activate the plugin manually (because they upgrade by replacing the files manually, and not using the auto-update feature). <span id="more-1244"></span></p>
<ol>
<li>
Go to your <strong>cPanel</strong> of your website, then choose <strong>phpMyAdmin</strong>.
</li>
<li>
Choose your WordPress database, and backup your database (as we will modify one of the tables of this database).
</li>
<li>
Click on the <strong>SQL</strong> tab, and then copy and paste this following SQL update:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">UPDATE wp_icl_translations t, wp_posts p
SET t.element_type = 'post_page'
WHERE p.ID = t.element_id
AND p.post_type = 'page';
&nbsp;
UPDATE wp_icl_translations t, wp_posts p
SET t.element_type = 'post_post'
WHERE p.ID = t.element_id
AND t.element_type = 'post';</pre></div></div>

<p>Assuming that the prefix of your table is <strong>wp_</strong>.<br />
Those 2 statement will update your <strong>wp_icl_translations</strong> table by replacing &#8220;post&#8221; become &#8220;post_post&#8221; for the posts you have already had, and then also replacing &#8220;post&#8221; become &#8220;post_page&#8221; for the pages you have already had.
</li>
<li>
Check again your site, and now the posts or your pages will appear properly.
</li>
<li>
If the problem still remains, then it usuallay caused by the older version of WordPress does not support to use WPML version 1.8.0. I have contacted WPML guru about this problem, and still waiting for the solution. Meanwhile, you can try those solutions above.
</li>
</ol>
<p>Hope it helps!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.openscriptsolution.com%2F2010%2F07%2F25%2Fhow-to-overcome-the-missing-postspages-after-upgrading-to-wpml-plugin-version-1-8-0-of-wordpress%2F&amp;title=How%20to%20Overcome%20The%20Missing%20Posts%2FPages%20After%20Upgrading%20to%20WPML%20plugin%20version%201.8.0%20of%20WordPress" id="wpa2a_2"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2010/07/25/how-to-overcome-the-missing-postspages-after-upgrading-to-wpml-plugin-version-1-8-0-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Solve Missed Schedule Issue on WordPress 2.9</title>
		<link>http://www.openscriptsolution.com/2009/12/21/how-to-solve-missed-schedule-issue-on-wordpress-2-9/</link>
		<comments>http://www.openscriptsolution.com/2009/12/21/how-to-solve-missed-schedule-issue-on-wordpress-2-9/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 15:51:35 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[missed]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[schedule]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=1060</guid>
		<description><![CDATA[One of the hot issue regarding WordPress 2.9 is about the Missed Schedule message appearing in the the scheduled posts. You are not able to schedule your posts and/or pages. In other words, you have to submit your posts and/or pages immediately and also manually! So here is the script to solve that problem which [...]]]></description>
			<content:encoded><![CDATA[<p>One of the hot issue regarding WordPress 2.9 is about the <strong>Missed Schedule</strong> message appearing in the the scheduled posts. You are not able to schedule your posts and/or pages. In other words, you have to submit your posts and/or pages immediately and also manually! So here is the script to solve that problem which I get it from http://blog.5ubliminal.com/posts/missed-schedule-future-posts-scheduled-mias-wordpress-plugin/. <span id="more-1060"></span></p>
<ol>
<li>
Create a new .php file named <strong>scheduled_mias.php</strong>, and then copy-paste this following code into it, and put this file into your <strong>/wp-content/plugins/</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
Plugin Name: Scheduled M.I.A.s
Plugin URI: http://blog.5ubliminal.com/topics/wordpress/plugins/
Description: Bring the left-for-dead &lt;code&gt;Missed Schedule&lt;/code&gt; posts back to life.
Version: 5.U.B
Author: 5ubliminal
Author URI: http://blog.5ubliminal.com/
Support URI: http://blog.5ubliminal.com/support/
*/</span>
<span style="color: #666666; font-style: italic;">// -----------------------------------------------------------------------------</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'PLUGIN_SCHEDULEDMIAS_DELAY'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">15</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Minutes .. change as you wish</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'PLUGIN_SCHEDULEDMIAS_OPTION'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'_5ub_scheduled_mias'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Option name</span>
<span style="color: #666666; font-style: italic;">// -----------------------------------------------------------------------------</span>
<span style="color: #000000; font-weight: bold;">function</span> _5ubliminal_Replacements_Deactivate<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #666666; font-style: italic;">// Drop last update time on deactivate</span>
	delete_option<span style="color: #009900;">&#40;</span>PLUGIN_SCHEDULEDMIAS_OPTION<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
register_deactivation_hook<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'_5ubliminal_Replacements_Deactivate'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// -----------------------------------------------------------------------------</span>
<span style="color: #000000; font-weight: bold;">function</span> _5ubliminal_ScheduledMIAs_Init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #666666; font-style: italic;">// I disable internal cron jobs for post publishing completely</span>
	<span style="color: #666666; font-style: italic;">// ... Comment the line below to let Wordpress try do its job before we kick in</span>
	remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'publish_future_post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'check_and_publish_future_post'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// Let's see if enough time passed from last publish</span>
	<span style="color: #000088;">$last</span> <span style="color: #339933;">=</span> get_option<span style="color: #009900;">&#40;</span>PLUGIN_SCHEDULEDMIAS_OPTION<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$last</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$last</span> <span style="color: #339933;">&gt;</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">time</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #009900;">&#40;</span>PLUGIN_SCHEDULEDMIAS_DELAY <span style="color: #339933;">*</span> <span style="color: #cc66cc;">60</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
		<span style="color: #b1b100;">return</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Too little time passed, bail here</span>
	<span style="color: #666666; font-style: italic;">// Update to the current time</span>
	update_option<span style="color: #009900;">&#40;</span>PLUGIN_SCHEDULEDMIAS_OPTION<span style="color: #339933;">,</span> <span style="color: #990000;">time</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// Global $wpdb object</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// Find MIA post_IDs, try both LOCAL datetime and GMT datetime</span>
	<span style="color: #000088;">$scheduledIDs</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get_col</span><span style="color: #009900;">&#40;</span>
		<span style="color: #0000ff;">&quot;SELECT `ID` FROM `<span style="color: #006699; font-weight: bold;">{$wpdb-&gt;posts}</span>` &quot;</span><span style="color: #339933;">.</span>
		<span style="color: #0000ff;">&quot;WHERE ( &quot;</span><span style="color: #339933;">.</span>
		<span style="color: #0000ff;">&quot;	((`post_date` &gt; 0 )&amp;&amp; (`post_date` &lt;= CURRENT_TIMESTAMP())) OR &quot;</span><span style="color: #339933;">.</span>
		<span style="color: #0000ff;">&quot;	((`post_date_gmt` &gt; 0) &amp;&amp; (`post_date_gmt` &lt;= UTC_TIMESTAMP())) &quot;</span><span style="color: #339933;">.</span>
		<span style="color: #0000ff;">&quot;) AND `post_status` = 'future'&quot;</span>
	<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$scheduledIDs</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">return</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// None found ... bail</span>
	<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$scheduledIDs</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$scheduledID</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$scheduledID</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Just in case</span>
		<span style="color: #666666; font-style: italic;">// Publish each post_ID the Wordpress friendly way</span>
		wp_publish_post<span style="color: #009900;">&#40;</span><span style="color: #000088;">$scheduledID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'init'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'_5ubliminal_ScheduledMIAs_Init'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// 0 Priority filter</span>
<span style="color: #666666; font-style: italic;">// -----------------------------------------------------------------------------</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

</li>
<li>
Go to your admin panel, activate the <strong>Scheduled M.I.A.s</strong> plugin. Have a nice try!</li>
</ol>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.openscriptsolution.com%2F2009%2F12%2F21%2Fhow-to-solve-missed-schedule-issue-on-wordpress-2-9%2F&amp;title=How%20to%20Solve%20Missed%20Schedule%20Issue%20on%20WordPress%202.9" id="wpa2a_4"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/12/21/how-to-solve-missed-schedule-issue-on-wordpress-2-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adjust MicroKid Related Posts v2.3 with qTranslate v2.4.3 Plugins</title>
		<link>http://www.openscriptsolution.com/2009/08/22/adjust-microkid-related-posts-v2-3-with-qtranslate-v2-4-3-plugins/</link>
		<comments>http://www.openscriptsolution.com/2009/08/22/adjust-microkid-related-posts-v2-3-with-qtranslate-v2-4-3-plugins/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 14:44:53 +0000</pubDate>
		<dc:creator>Masino Sinaga</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[adjust]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[MicroKid]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[qTranslate]]></category>
		<category><![CDATA[related]]></category>
		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://www.openscriptsolution.com/?p=29</guid>
		<description><![CDATA[I have been using qTranslate plugins for the last two days. I love this plugins so much since it is a simple plugins, yet easy to use and also has the powerful feature until now, especially when I edit or add the new post. Simply click the tab regarding to the language you want. If [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using <a href="http://wordpress.org/extend/plugins/qtranslate/" target="_blank"><strong>qTranslate</strong></a> plugins for the last two days. I love this plugins so much since it is a simple plugins, yet easy to use and also has the powerful feature until now, especially when I edit or add the new post. Simply click the tab regarding to the language you want. If I compare with the other translate plugins, qTranslate is still the best, at least for me. <span id="more-29"></span></p>
<p>Today I started to use <a href="http://www.microkid.net/wordpress/related-posts/" target="_blank"><strong>MicroKid Related Posts</strong></a> plugins for displaying the Related Posts at the bottom of the post. Unfortunately, I found a little bit problem after I have succeeded to implement this plugins. What was that? Well, since the post title has been saved by qTranslate plugins in one field in wp_posts table for all active languages, then each time the post title displayed, it contains of the title post belong to those all languages, and there is no space between them.</p>
<p>For example: I already have a post with title in English &#8220;Welcome to My World&#8221; whereas in Indonesian language this has the meaning as &#8220;Selamat datang di Dunia Saya&#8221;. For those of you who has not tried this plugins, the value for the post_title field would be like this:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;!--:en--&gt;Welcome to My World&lt;!--:--&gt;&lt;!--:id--&gt;Selamat datang di Dunia Saya&lt;!--:--&gt;</pre></div></div>

<p>that is why when it displayed the result will become like this:</p>
<p>&#8220;<strong>Welcome to My WorldSelamat datang di Dunia Saya</strong>&#8221;</p>
<p>whereas between one title with another belongs to other language does not separated by space character, and I think this is something that looks like not so good.</p>
<p>When I search this post and then select this post title as related post for my new post, then the title of this related post will become: &#8220;Welcome to My WorldSelamat datang di Dunia Saya&#8221;. As you can see, that post_title being shown contains of the both active language; English and Indonesian. I think it would be better if it should be like this:</p>
<p><strong>Welcome to My World</strong> if the selected language is English,<br />
or:<br />
<strong>Selamat datang di Dunia Saya</strong> is the selected language is Indonesian.</p>
<p>This is an interested challenge for me. So I started to search the script related to this, and trying to make it came true.</p>
<p>So, here was I made:</p>
<p><strong>1.</strong> Open <strong>mrp-search.php</strong> file belongs to MicroKid Related Posts plugins, and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>55
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$results</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$result</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>then replace with this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>55
56
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$results</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$result</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$related_post_title</span> <span style="color: #339933;">=</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>also, find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>63
64
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt; &lt;a href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;
     title=&quot;View this post&quot; target=&quot;_blank&quot;&gt;&amp;rsaquo;&lt;/a&gt;&lt;/li&gt;'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>and replace with this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>63
64
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$related_post_title</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt; &lt;a href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;
     title=&quot;View this post&quot; target=&quot;_blank&quot;&gt;&amp;rsaquo;&lt;/a&gt;&lt;/li&gt;'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>We have done with the mrp-search.php file.</p>
<p><strong>2.</strong> The next step is that we have to edit the code in <strong>microkids-related-posts.php</strong> file.<br />
Open the file and find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>95
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>replace with this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>95
96
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$related_post_title</span> <span style="color: #339933;">=</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$related_post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>also, find this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>317
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>and replace with this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>317
318
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$related_post_title</span> <span style="color: #339933;">=</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$related_post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>then, find also this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>367
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>and replace with this code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>367
368
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$related_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$related_post_id</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$related_post_title</span>  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$related_post_title</span> <span style="color: #339933;">=</span> wp_specialchars<span style="color: #009900;">&#40;</span>qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$related_post_title</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>That&#8217;s all. Now the title post in <strong>Related Posts</strong> section will look better than before. You can see the result in the bottom of this post at the <strong>Related Posts</strong> section, when you display a post with full-mode.</p>
<p>This has been tested and working good in <strong>MicroKid Related Posts version 2.3</strong> and <strong>qTranslate version 2.4.3</strong>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.openscriptsolution.com%2F2009%2F08%2F22%2Fadjust-microkid-related-posts-v2-3-with-qtranslate-v2-4-3-plugins%2F&amp;title=Adjust%20MicroKid%20Related%20Posts%20v2.3%20with%20qTranslate%20v2.4.3%20Plugins" id="wpa2a_6"><img src="http://www.openscriptsolution.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.openscriptsolution.com/2009/08/22/adjust-microkid-related-posts-v2-3-with-qtranslate-v2-4-3-plugins/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
