<?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>Business &#38; I &#187; WordPress</title>
	<atom:link href="http://arief.disolo.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://arief.disolo.com</link>
	<description>Business Development by Arief Fajar Nursyamsu</description>
	<lastBuildDate>Tue, 11 May 2010 05:13:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>[SOLVED] Can Not Delete Thumbnail In User Photo Plugin</title>
		<link>http://arief.disolo.com/resolved-can-not-delete-thumbnail-in-user-photo-plugin/</link>
		<comments>http://arief.disolo.com/resolved-can-not-delete-thumbnail-in-user-photo-plugin/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 06:21:28 +0000</pubDate>
		<dc:creator>Arief Fajar Nursyamsu</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://arief.disolo.com/?p=21</guid>
		<description><![CDATA[Solution for problem on: http://wordpress.org/support/topic/166501?replies=3 Here is a solution if you can not delete the picture thumbnail generated by User Photo plugin for WordPress. User Photo is a plugin to let your blog member to upload their picture. To solve the problem, you just need to edit the plugin file (user-photo.php) around line 212. &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Solution for problem on: <a href="http://wordpress.org/support/topic/166501?replies=3">http://wordpress.org/support/topic/166501?replies=3</a></p>
<p>Here is a solution if you can not delete the picture thumbnail generated by <a title="User Photo Plugin" href="http://wordpress.org/extend/plugins/user-photo/">User Photo</a> plugin for <a title="Wordpress" href="http://wordpress.org">WordPress</a>. User Photo is a plugin to let your blog member to upload their picture.</p>
<p>To solve the problem, you just need to edit the plugin file (<strong>user-photo.php</strong>) around line 212.</p>

<div class="wp_syntax"><div class="code"><pre class="php">&nbsp;
<span style="color: #000033;">$thumbpath</span> <span style="color: #339933;">=</span> ABSPATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;/wp-content/uploads/userphoto/&quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">basename</span><span style="color: #009900;">&#40;</span><span style="color: #000033;">$userdata</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">userphoto_image_file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Change it to:</p>

<div class="wp_syntax"><div class="code"><pre class="php">&nbsp;
<span style="color: #000033;">$thumbpath</span> <span style="color: #339933;">=</span> ABSPATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;/wp-content/uploads/userphoto/&quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">basename</span><span style="color: #009900;">&#40;</span><span style="color: #000033;">$userdata</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">userphoto_thumb_file</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Save the file and you can start delete your thumbnail. Make sure that your file permission is set correctly (777 or 775).</p>
<p>It seems that the developer forgot to change <code>userphoto_image_file</code> to <code>userphoto_thumb_file</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://arief.disolo.com/resolved-can-not-delete-thumbnail-in-user-photo-plugin/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
	</channel>
</rss>

