<?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>Frank Verhoeven &#187; Wordpress Plugins</title>
	<atom:link href="http://www.frank-verhoeven.com/category/wordpress-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frank-verhoeven.com</link>
	<description>Webdevelopment Blog</description>
	<lastBuildDate>Sat, 08 Oct 2011 21:51:59 +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>Community News &#8211; Custom Templates</title>
		<link>http://www.frank-verhoeven.com/community-news-custom-templates/</link>
		<comments>http://www.frank-verhoeven.com/community-news-custom-templates/#comments</comments>
		<pubDate>Sat, 21 May 2011 15:54:45 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[FV Community News]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.frank-verhoeven.com/?p=469</guid>
		<description><![CDATA[With the latest version of the Community News plugin, customizing the templates had been brought to a whole new level. It is true that you are not able to simple edit the looks in your WP-Admin anymore, but instead there are simple PHP templates included with the plugin that you can easily modify. Preparation Before [...]]]></description>
			<content:encoded><![CDATA[<p>With the latest version of the <a href="http://www.frank-verhoeven.com/wordpress-plugin-fv-community-news/">Community News plugin</a>, customizing the templates had been brought to a whole new level.<br />
It is true that you are not able to simple edit the looks in your WP-Admin anymore, but instead there are simple PHP templates included with the plugin that you can easily modify.<br />
<span id="more-469"></span></p>
<h3>Preparation</h3>
<p>Before it is possible to start creating your own, custom, templates; a few things have to be done. This is necessary in order to keep your modifications while updating to a later version of the plugin.<br />
Don&#8217;t worry, these steps are nothing more then copying, pasting and renaming a directory.</p>
<p><strong>Preparation Steps</strong></p>
<ol>
<li>First go to the plugin directory, usually /wp-content/plugins/fv-community-news/.</li>
<li>Copy the <em>Template</em> directory.</li>
<li>Go to your themes directory, usually /wp-content/themes/.</li>
<li>Paste the <em>Template</em> directory here, and rename it to <em>fvcn</em></li>
<li>You can start editing the template files, located in the <em>fvcn</em> directory, now.</li>
</ol>
<h3>Template Files</h3>
<p>Located in the directory you just created, there are a few PHP files. These are the template files you can modify. A brief description of each file will follow below:</p>
<p><strong>form-widget.php</strong><br />
Displays the form in a widget.</p>
<p><strong>form.php</strong><br />
Displays the form.</p>
<p><strong>list-posts-widget.php</strong><br />
Displays the most recent posts in a widget.</p>
<p><strong>list-posts.php</strong><br />
Displays the most recent posts.</p>
<p><strong>posts-archive.php</strong><br />
Displays a complete archive of all the posts ever submitted.</p>
<p>So if, for example, you would like to change the looks of the recent posts in your sidebar widget; you will have to modify list-posts-widget.php.</p>
<h3>Template Functions</h3>
<p>With version 2.0 and up, the plugin has build-in template tags, very similar to the WordPress ones you use in your themes. You can use these functions to customize the default templates.</p>
<p><strong>Post Functions</strong><br />
These functions can be used to render anything related to a submitted post.</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
</pre>
<pre><span class="php">fvcn_has_posts<span class="php-brackets">(</span><span class="php-var">$args</span><span class="php-brackets">)</span>

fvcn_posts<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_the_post<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_id<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_id<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_author<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_author<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_author_email<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_author_email<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_status<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_status<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_author_ip<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_author_ip<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_title<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_title<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_content<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_content<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_excerpt<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_excerpt<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_url<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_has_post_url<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_url<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_link<span class="php-brackets">(</span><span class="php-var">$text</span><span class="php-brackets">)</span>

fvcn_post_link<span class="php-brackets">(</span><span class="php-var">$text</span><span class="php-brackets">)</span>

fvcn_get_post_title_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_date<span class="php-brackets">(</span><span class="php-var">$format</span><span class="php-brackets">)</span>

fvcn_post_date<span class="php-brackets">(</span><span class="php-var">$format</span><span class="php-brackets">)</span>

fvcn_get_post_views<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_views<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_approved<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_approved<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_approve_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_approve_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_unapprove_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_unapprove_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_edit_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_edit_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_spam_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_spam_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_unspam_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_unspam_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_post_delete_link<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_delete_link<span class="php-brackets">(</span><span class="php-brackets">)</span></span></pre>
</div>
<p><strong>Form Functions</strong><br />
Use these functions to create the submission form.</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
4
5
6
7
8
9
10
11
12
13
</pre>
<pre><span class="php">fvcn_get_form<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_form<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_get_form_message<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_form_message<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_form_processed<span class="php-brackets">(</span><span class="php-brackets">)</span></span></pre>
</div>
<p><strong>Render Functions</strong><br />
These functions render a complete section.</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
4
</pre>
<pre><span class="php">fvcn_list_posts<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_post_archives<span class="php-brackets">(</span><span class="php-brackets">)</span></span></pre>
</div>
<p><strong>Various Functions</strong><br />
Other functions.</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
4
</pre>
<pre><span class="php">fvcn_get_rss_url<span class="php-brackets">(</span><span class="php-brackets">)</span>

fvcn_rss_url<span class="php-brackets">(</span><span class="php-brackets">)</span></span></pre>
</div>
<p>More information on these functions will soon be available.<br />
All these functions are located in the file fv-community-news/Includes/TemplateFunctions.php. You can view this file for more information on these functions as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frank-verhoeven.com/community-news-custom-templates/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>FV Community News 2.0 &#8211; Beta 2</title>
		<link>http://www.frank-verhoeven.com/fv-community-news-2-0-beta-2/</link>
		<comments>http://www.frank-verhoeven.com/fv-community-news-2-0-beta-2/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 11:57:49 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://www.frank-verhoeven.com/?p=455</guid>
		<description><![CDATA[I am very pleased to announce that the plugin has reached a new milestone! Since the last update there have been significant changes. For people who like to browse the code, as well as for the default users who just like to use the plugin. Code Cleanup First of all, there has been a huge [...]]]></description>
			<content:encoded><![CDATA[<p>I am very pleased to announce that the plugin has reached a new milestone!</p>
<p>Since the last update there have been significant changes. For people who like to browse the code, as well as for the default users who just like to use the plugin.<span id="more-455"></span></p>
<h3>Code Cleanup</h3>
<p>First of all, there has been a huge cleanup in the source code. Comments have been added to all the functions to help people understand the code, and help solving problems. The code itself also has had big improvements; speed and customization are probably the biggest points here. With hooks added to almost every part of the plugin, you can customize it any way you want.</p>
<p>Also the addition of template functions, very similar to the functions you are used to using in your WordPress themes, allow you to change the look of your community news more then ever before. More information on theme customization will follow within a couple of days.</p>
<h3>Admin AJAXization</h3>
<p>Another thing I really, really wanted to do is speed up the moderation of your Community News. While thinking about it, I came to the conclusion that the only way to do that is by using AJAX. So from now on, Community News moderation will be faster then ever before. Both the dashboard and the moderation page are using JavaScript/AJAX for single post moderation. I think you will really enjoy this change.</p>
<h3>And More</h3>
<p>Besides these two points there have been a lot more changes of course. In fact, to many things have changed to list them here. In the next week(s) or so I will get documentation up on the various things that require it.</p>
<p>If you can&#8217;t wait that long, you don&#8217;t have to! You can download the beta right now from the WordPress repository. Just go the <a title="FV Community News download page" href="http://wordpress.org/extend/plugins/fv-community-news/download/" target="_blank">the download page</a>, and select the development version.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frank-verhoeven.com/fv-community-news-2-0-beta-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FV Community News 2.0 Public Beta</title>
		<link>http://www.frank-verhoeven.com/fv-community-news-2-0-public-beta/</link>
		<comments>http://www.frank-verhoeven.com/fv-community-news-2-0-public-beta/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 22:26:00 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Community News]]></category>

		<guid isPermaLink="false">http://www.frank-verhoeven.com/?p=406</guid>
		<description><![CDATA[The beta has been around for a while now, and since no major bugs have been discovered yet, I decided to make it public. The first thing I decided to do with the plugin is remove some `useless` features. Mostly these are settings hardly anyone uses and just confuses people. What I want is the [...]]]></description>
			<content:encoded><![CDATA[<p>The beta has been around for a while now, and since no major bugs have been discovered yet, I decided to make it public.</p>
<p>The first thing I decided to do with the plugin is remove some `useless` features. Mostly these are settings hardly anyone uses and just confuses people. What I want is the plugin to be super easy to use, not to much trouble with configuring and other stuff should be necessary.<span id="more-406"></span><br />
One other thing that I removed is the possibility to upload images. While this might have been a very nice feature for some of you, I decided it isn&#8217;t really something that does belong in this plugin.</p>
<p>Second I&#8217;ve completely rewritten the code. The whole plugin is now <a href="http://en.wikipedia.org/wiki/Object-oriented_programming">OOP</a> based, and I&#8217;m very happy with the current results, even though I&#8217;m not done with it yet.</p>
<p>So what is new then? Well, something that the plugin misses right now is the possibility to create some sort of archives from all the great posts you receive. And this is something that I really wanted to add, and improve further in the future.<br />
For now, I added pagination to the plugin, witch will be the start of being able to have an archive of news on your website. To get this simple archive on your website, use the following tag:<br />
<code>&lt;!--fvCommunityNews:Archive--&gt;</code><br />
Make sure to put it into your page using the code view!</p>
<p>Besides the start of archives, the plugin received numerous of other updates, bug fixes and other improvements.</p>
<p>If you are interested in testing the plugin, you can download it from <a href="http://downloads.wordpress.org/plugin/fv-community-news.zip">the wordpress repository</a>.</p>
<p>If while using it you find any bugs, find ways to improve things or just have this awesome idea, do not hesitate to leave a reply! Or just <a href="http://www.frank-verhoeven.com/contact/">send me an email</a>.</p>
<p>For new ideas you might have, I would like you to ask to post them into <a href="http://forums.frank-verhoeven.com/forum/suggestions">the forums</a>, created for exactly that kind of stuff.</p>
<p>Changes regarding the plugin can kept track of <a href="http://plugins.trac.wordpress.org/log/fv-community-news/">here</a>.</p>
<p>A quick side note; currently the beta says that it is version 1.4. This is correct, and done to make sure there will not be any problems with updating to the final version.</p>
<p>More information about new features of the plugin will follow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frank-verhoeven.com/fv-community-news-2-0-public-beta/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>New JavaScript Used</title>
		<link>http://www.frank-verhoeven.com/new-javascript-used/</link>
		<comments>http://www.frank-verhoeven.com/new-javascript-used/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 15:40:07 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Community News]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.frank-verhoeven.com/?p=339</guid>
		<description><![CDATA[Hey everyone. After adding version 1.3, I received a few notifications about the javascript. It gave errors, wasn&#8217;t compatible with most plugins and/or themes and just sucked My decision was to update the complete javascript used with version 2.0, since that one is going to have a complete makeover. However, more and more emails came, [...]]]></description>
			<content:encoded><![CDATA[<p>Hey everyone.</p>
<p>After adding version 1.3, I received a few notifications about the javascript. It gave errors, wasn&#8217;t compatible with most plugins and/or themes and just sucked <img src='http://www.frank-verhoeven.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>My decision was to update the complete javascript used with version 2.0, since that one is going to have a complete makeover. However, more and more emails came, telling about the JavaScript. The problem seems to be worse then I was thinking, so an early patch for the javascript is already available.<br />
<span id="more-339"></span><br />
I removed the Prototype framework for compatibility, since most themes and plugins are using jQuery. Now the Community News plugin does too. It uses the jQuery lib that comes with WordPress itself. I hope this will improve the compatibility. Also errors which occurred in the old javascript are fixed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frank-verhoeven.com/new-javascript-used/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fv Community News Version 1.3</title>
		<link>http://www.frank-verhoeven.com/fv-community-news-version-13/</link>
		<comments>http://www.frank-verhoeven.com/fv-community-news-version-13/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 13:54:56 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Community News]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.frank-verhoeven.com/?p=330</guid>
		<description><![CDATA[After more then 1000 downloads, and a few weeks since the last update, it is time for the next level of this plugin. Improved Akismet, Translatable, and more. Template Tags A lot of people were asking for it, template tags for use in posts/pages. Well, here they are: 1 2 3 &#60;!--fvCommunityNews:Form--&#62; &#60;!--fvCommunityNews:Submissions--&#62; The first [...]]]></description>
			<content:encoded><![CDATA[<p>After more then 1000 downloads, and a few weeks since the last update, it is time for the next level of this plugin. Improved Akismet, Translatable, and more.</p>
<h3>Template Tags</h3>
<p>A lot of people were asking for it, template tags for use in posts/pages. Well, here they are:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
</pre>
<pre><span class="html"><span class="html-comment">&lt;!--fvCommunityNews:Form--&gt;</span>
<span class="html-comment">&lt;!--fvCommunityNews:Submissions--&gt;</span></span></pre>
</div>
<p>The first one will display the form, just as the widget does, but then within a page or post. The next one will display a list of submissions, as defined in the admin panel (under: Settings &#8211; Template). You can simply put these tags in your post or page, and thats all.<br />
<span id="more-330"></span></p>
<h3>Uninstall Feature</h3>
<p>While I was thinking what this plugin needs, I decided that it should have an uninstall function. Before, you could only deactivate the plugin through the wp-admin panel under plugins, but when that was done, all the data/settings still remain in your database and on your server. With this new Uninstall function you can remove all settings, and/or all data before you deactivate the plugin and remove all the plugin files.</p>
<h3>Translatable</h3>
<p>Before version 1.3, all text displayed on the screen, produced by this plugin was static data, you couldn&#8217;t change it. From now on the plugin uses the WordPress functions for displaying text, wich makes it possible for you to translate it and run the plugin in your own language. There are no languages included yet, but don&#8217;t hesitate to <a href="http://www.frank-verhoeven.com/contact/">submit your own translation</a>. I will include it in the plugin and would be very thankfull.</p>
<h3>Custom Response Messages</h3>
<p>Didn&#8217;t like the standard responses? You are now able to customize them so they fit for you. Go to Settings &#8211; Appearance, and modify all possible responses. Also a simple stylesheet is included to give the form a little style.</p>
<h3>Improved Akismet</h3>
<p>As of the previous (1.2 series) version, I included an Akismet class to fight spam. Unfortunately, this class was causing some serious problems at random servers. Because of this I searched for another solution, and found the <a href="http://freshmeat.net/projects/microakismet/">MicroAkismet</a> functions. These do work on blogs where the old class failed. I want to thank my friend <a href="http://www.alltuts.com/">Ivan</a>, who made his blog availible for some tests.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frank-verhoeven.com/fv-community-news-version-13/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>FV Community News V1.2</title>
		<link>http://www.frank-verhoeven.com/fv-community-news-v12/</link>
		<comments>http://www.frank-verhoeven.com/fv-community-news-v12/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 15:33:45 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://www.frank-verhoeven.com/?p=292</guid>
		<description><![CDATA[Finally, after a lot of programming the time is here. It&#8217;s the time for another update of my Community News plugin. This version includes a better way to protect you from being spammed, image uploading, edit submissions and more&#8230; Spam Protection While I was looking how my plugin works on different sites, I noticed that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.akismet.com/"><img src="http://www.frank-verhoeven.com/wp-content/uploads/2008/10/akismet.png" alt="Akismet" title="Akismet" width="225" height="126" class="float-right size-full wp-image-295" /></a><br />Finally, after a lot of programming the time is here. It&#8217;s the time for another update of my Community News plugin. This version includes a better way to protect you from being spammed, image uploading, edit submissions and more&#8230;<br />
<span id="more-292"></span></p>
<h3>Spam Protection</h3>
<p>While I was looking how my plugin works on different sites, I noticed that a lot of spam was coming through the default spam protection, build-in since version 1.1. (This means the default protection without captcha) Personally I hate those no-life spammers, throwing a whole lot of crap to your blog and from the beginning I use Akismet om my blog to protect myself, witch works pretty good. So I decided to build this great peace of spam-killing code into my plugin.<br />
To accomplish this I used the <a href="http://miphp.net/blog/view/php4_akismet_class">Akismet PHP4 class</a>, written by Bret Kuhns. Submissions will be marked as spam, just like comments, if Akismet finds a message to be spam. This way you can still approve submissions that aren&#8217;t spam, but are marked as if they are.</p>
<h3>Image Uploading</h3>
<p>Another new feature is the possibility to let submitters upload an image along with their submission. I received a request for this, and thought: &#8220;Hey that&#8217;s a good idea!&#8221;. The image field is not required, and therefor you could setup a default image that is used when people don&#8217;t upload one. You are also able to configure the maximum sizes for an image (width and height separated).<br />
Note that it could happen that you have to create the upload folder manually. If so, the plugin let you know. Just create a new folder in your WordPress root folder called &#8216;wp-fvcn-images&#8217;, then chmod it to 755 and everything should work fine.</p>
<p>To add the images to your list of submissions, you could use the new <strong>%submission_image%</strong> tag. This tag will change into the location of the image, so to add a new image, in its img tag use something like this:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="html"><span class="html-image-element">&lt;img src=<span class="html-attribute">&quot;%submission_image%&quot;</span> alt=<span class="html-attribute">&quot;&quot;</span> /&gt;</span></span></pre>
</div>
<p>Note that when people upload an image they can&#8217;t use AJAX, because JavaScript can&#8217;t access the image. Here is taken care of automatically.</p>
<h3>My Submissions Page</h3>
<p>Want to let submitters view their own submissions? Now that is possible with the new &#8216;My Submissions&#8217; page. This is an optional page you could enable where registered users of your blog could view and submit their submissions.</p>
<h3>Edit Submissions</h3>
<p>I also received a request for this one. So from now on you can edit the submissions. Note that the &#8216;Edit Submissions&#8217; page is already created with and for WordPress 2.7. If you are using the 2.7 nightly-builds you won&#8217;t notice, but else you will see that the box with the Save button looks a bit crapy. I have thought a while about this one, but since 2.7 will be released within a few weeks, I think it isn&#8217;t worth the effort to make it look good in 2.6 and 2.5.</p>
<h3>Dashboard Widget</h3>
<p>Another 2.7+ feature is a dashboard widget. It looks almost the same as the comments widget and also has the same features. You could simply Approve, Unapprove, Spam or Delete a submission with one single click while your at the dashboard page.</p>
<h3>Other Fixes</h3>
<p>More little bug-fixes have been applied. A small list:</p>
<ul>
<li>The AJAX didn&#8217;t work when there was a ? in the URL, now it does work.</li>
<li>The settings page is separated in different tabs for a better usability.</li>
<li>Some problems with the function that shortens up the submission text are fixed.</li>
<li>You can now add a description if using the widgets.</li>
<li>The number of unmoderated submissions is added to the admin menu.</li>
<li>Link actions are added.</li>
<li>Some problems occurred when you have modified the location of your wp-content folder, this is fixed.</li>
<li>The &#8216;Post URL&#8217; field isn&#8217;t required anymore. (Had a request for this)</li>
<li>You now can override the template settings in your theme pages, instead of vice versa.</li>
<li>Some fixes are applied to the RSS feed.</li>
<li>Problems with the admin menu are fixed.</li>
<li>The reloading of the captcha is improved.</li>
</ul>
<p>That&#8217;s about it <img src='http://www.frank-verhoeven.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Any suggestions? Please leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frank-verhoeven.com/fv-community-news-v12/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>FV Community News Version 1.1</title>
		<link>http://www.frank-verhoeven.com/fv-community-news-version-11/</link>
		<comments>http://www.frank-verhoeven.com/fv-community-news-version-11/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 15:05:31 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://www.frank-verhoeven.com/?p=267</guid>
		<description><![CDATA[After one week of release, I already have a new version of my Community News plugin. This version has some improvements, new features, and some bug fixes: The submission moderation panel is improved and some bugs are fixed. The option that users must be logged in is added. The form is already filled in in [...]]]></description>
			<content:encoded><![CDATA[<p>After one week of release, I already have a new version of my Community News plugin. This version has some improvements, new features, and some bug fixes:</p>
<ul>
<li>The submission moderation panel is improved and some bugs are fixed.</li>
<li>The option that users must be logged in is added.</li>
<li>The form is already filled in in parts for users who are logged in</li>
<li>The captcha could be removed for users who are already logged in.</li>
<li>The captcha image can now easily refreshed, using AJAX</li>
<li>A nonce field is added to fight spam.</li>
<li>I added an RSS 2.0 feed for the submissions.</li>
<li>AJAX is now used to submit the form.</li>
</ul>
<p><span id="more-267"></span><br />
Note that all the JavaScript from this plugin uses the Prototype and Scriptaculous libraries, and if you already loaded jQuery in your page, the AJAX might not work.</p>
<h3>On to version 1.2</h3>
<p>There are already some suggestions for version 1.2:</p>
<ul>
<li>Allow people to upload photo&#8217;s.</li>
<li>The ability to edit submissions.</li>
<li>Tags to add Community News in a post or page.</li>
</ul>
<p>These will be implemented as soon as possible <img src='http://www.frank-verhoeven.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
Have any other suggestions? Please leave a comment and I will take a look at it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frank-verhoeven.com/fv-community-news-version-11/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin &#8211; FV Community News</title>
		<link>http://www.frank-verhoeven.com/wordpress-plugin-fv-community-news/</link>
		<comments>http://www.frank-verhoeven.com/wordpress-plugin-fv-community-news/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 16:02:23 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Community News]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.frank-verhoeven.com/?p=200</guid>
		<description><![CDATA[Many blogs out there can only produce a couple articles a week while their visitors ask for loads more. It&#8217;s sometimes a good idea to add related articles from other blogs to your sidebar. Adding them manually takes lots of time we don&#8217;t have. With this new Community News plugin you allow your visitors to [...]]]></description>
			<content:encoded><![CDATA[<p>Many blogs out there can only produce a couple articles a week while their visitors ask for loads more. It&#8217;s sometimes a good idea to add related articles from other blogs to your sidebar. Adding them manually takes lots of time we don&#8217;t have.  With this new <strong>Community News </strong>plugin you allow your visitors to add articles to the sidebar. Complete with moderation panel and a settings page, you can sit back while you have full control about the look and articles that being posted.<br />
<span id="more-200"></span></p>
<h3>Features</h3>
<p>Currently, the Community News plugin has the following features:</p>
<ul>
<li>Widget Ready (Different form/results widget)</li>
<li>Tags for use in posts/pages</li>
<li>AJAX Form Handling</li>
<li>Multi-Language Support</li>
<li>Moderation panel (with email option) &#8211; Make sure you approve the right articles.</li>
<li>Edit Submissions</li>
<li>&#8220;My Community News&#8221; Page &#8211; Allow registered users to view their submitted articles.</li>
<li>Customizable templates</li>
<li>Akismet Spam protection (API key required)</li>
<li>Build-in RSS 2.0 Feed</li>
<li>Settings Page</li>
<li>Uninstallation &#8211; Not the right plugin for you? You can easily remove it completely.</li>
</ul>
<h3>How To Install &amp; Use</h3>
<p>In order to successfully use this plugin, you will need the following:</p>
<ul>
<li>PHP 5 or higher</li>
<li>WordPress 3.0 or higher</li>
</ul>
<p><strong>Installation Steps</strong></p>
<ol>
<li>Download the files</li>
<li>Upload the files to /wp-content/plugins/</li>
<li>Activate the plugin (WP-admin > Plugins > FV Community News)</li>
<li>Browse Community News > Settings to select the settings you prefer.</li>
<li>Go to Design > Widgets to add the Community News widgets to your sidebar.</li>
</ol>
<p>You can also show your Community News on a static page. You can do that by placing the following codes on a page that supports <em>PHP</em>.</p>
<p><strong>Add Form</strong></p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> fvcn_form<span class="php-brackets">(</span><span class="php-brackets">)</span>; <span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p><strong>Latest Articles</strong></p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> fvcn_list_posts<span class="php-brackets">(</span><span class="php-brackets">)</span>; <span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p><strong>Archive</strong></p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> fvcn_post_archives<span class="php-brackets">(</span><span class="php-brackets">)</span>; <span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p>If you are not familiar with PHP, and you want the Community News to be shown on a WordPress page or post, you can use the build-in tags for that. <em>Make sure you are using the HTML editor while adding these tags!</em></p>
<p><strong>Add Form</strong></p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="html"><span class="html-comment">&lt;!--fvCommunityNews:Form--&gt;</span></span></pre>
</div>
<p><strong>List Posts</strong></p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="html"><span class="html-comment">&lt;!--fvCommunityNews:Posts--&gt;</span></span></pre>
</div>
<p><strong>Archive</strong></p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="html"><span class="html-comment">&lt;!--fvCommunityNews:Archive--&gt;</span></span></pre>
</div>
<h3>Custom Templates</h3>
<p>Every blog out there has different requests and needs. With version 2.0 and up, the plugin supports custom templates so it can meet all of those needs. Creating your own custom templates is simple, and more information on this can be found on the <a href="http://www.frank-verhoeven.com/community-news-custom-templates/">Custom Templates page</a>, dedicated to this topic.</p>
<h3>Example</h3>
<p>If you would like a live demo of the plugin, be sure to check out <a href="http://divitodesign.com/community-news/">DivitoDesign.com</a>. The plugin has been running there for quite some time now.</p>
<h3>Bugs &amp; Questions</h3>
<p>If you find any bug in the latest version of this plugin, I hope you&#8217;d be so kind to tell me about it. This will only improve the plugin, which is better for the users!  When you have anything else to say (<em>appreciated!</em>), please <a href="/wordpress-plugin-fv-community-news#respond">comment</a>!</p>
<h3>Plugin Info</h3>
<p>AUTHOR: <strong>Frank Verhoeven</strong><br />
AUTHOR URL: <strong><a href="http://www.frank-verhoeven.com/">http://www.frank-verhoeven.com/</a></strong><br />
WORDPRESS VERSION: <strong>3.0+</strong><br />
TESTED UP TO: <strong>3.1.2</strong><br />
CURRENT VERSION: <strong>2.0.2</strong></p>
<h3>Change log</h3>
<p>If you are interested in the changes this plugin has had, please check out the <a href="http://wordpress.org/extend/plugins/fv-community-news/changelog/">changelog</a> on the official WordPress page.</p>
<h3 id="download">Download</h3>
<p>DOWNLOAD: <a href="http://wordpress.org/extend/plugins/fv-community-news/">FV Community News</a></p>
<h3>Donate</h3>
<p>Like this plugin? Please consider making a small donation.</p>
<form class="donate-form" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="encrypted" type="hidden" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MR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oZIhvcNAQEBBQAEgYCoo/U8Bwn6nSb14xVbrOvg9BpYjJOoQZJSS0ITog3qoU76TdQ4ncEQ+Y2POdldtzZm2Mr4axeB7MWFnrq5MEnOULdmiEgVoY707FcPh06yfK1YU+Swng88Sb9dcREyUS/YmUJbqpUrfPEH5e9xEL0zjT8mlFQ33ipeDEHwPtOJ3g==-----END PKCS7-----" />
<input name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" type="image" /> </form>
<p>Or help promoting it by adding a link to this page, definitely appreciated!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frank-verhoeven.com/wordpress-plugin-fv-community-news/feed/</wfw:commentRss>
		<slash:comments>297</slash:comments>
		</item>
		<item>
		<title>FV Code Highlighter V1.1</title>
		<link>http://www.frank-verhoeven.com/fv-code-highlighter-v11/</link>
		<comments>http://www.frank-verhoeven.com/fv-code-highlighter-v11/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 17:36:00 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://www.frank-verhoeven.com/?p=180</guid>
		<description><![CDATA[The moment is here, the release of the FV Code Highlighter plugin version 1.1. In this release PHP is completely supported. I told you that I would try to implement JavaScript and Java as well, but unfortunately this isn&#8217;t done yet. The reason for this is that I simply already wanted to release this version [...]]]></description>
			<content:encoded><![CDATA[<p>The moment is here, the release of the <strong>FV Code Highlighter</strong> plugin version 1.1. In this release PHP is completely supported. I told you that I would try to implement JavaScript and Java as well, but unfortunately this isn&#8217;t done yet. The reason for this is that I simply already wanted to release this version because of the (better) support for PHP.</p>
<p>Also the admin panel is improved for better usability, see the screenshot below.</p>
<p><a href="http://www.frank-verhoeven.com/wp-content/uploads/2008/09/admin.png"><img src="http://www.frank-verhoeven.com/wp-content/uploads/2008/09/admin-300x147.png" alt="FV Code Highlighter - Admin Interface" title="FV Code Highlighter - Admin Interface" width="300" height="147" class="size-medium wp-image-182" /></a><br /><small>FV Code Highlighter &#8211; New Admin Interface</small></p>
<p>Furthermore, a security issue, which makes it possible for every subscriber of your blog to change the code display settings, is solved. And a few little bugs have been fixed.</p>
<p>For details on how to use this plugin, please visit <a href="http://www.frank-verhoeven.com/wordpress-plugin-fv-code-highlighter/">original</a> post.</p>
<p>Download here: <a href="http://downloads.wordpress.org/plugin/fv-code-highlighter.zip">FV Code Highlighter</a>, <a href="http://www.frank-verhoeven.com/download.php?f=ZnYtY29kZS1oaWdobGlnaHRlci56aXA=">Mirror</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frank-verhoeven.com/fv-code-highlighter-v11/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>New PHP Highlighter In Town</title>
		<link>http://www.frank-verhoeven.com/new-php-highlighter-in-town/</link>
		<comments>http://www.frank-verhoeven.com/new-php-highlighter-in-town/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 09:31:57 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://www.frank-verhoeven.com/?p=138</guid>
		<description><![CDATA[Hey everyone, As you could have read here, the current release of my code highlighter has some trouble with highlighting PHP on servers running PHP version 4. I told you I should try to fix the problem and include a better PHP highlighter in the next release. I worked very hard this morning to get [...]]]></description>
			<content:encoded><![CDATA[<p>Hey everyone,</p>
<p>As you could have read <a href="http://www.frank-verhoeven.com/wordpress-plugin-fv-code-highlighter/#comment-11">here</a>, the current release of my code highlighter has some trouble with highlighting PHP on servers running PHP version 4. I told you I should try to fix the problem and include a better PHP highlighter in the next release.</p>
<p>I worked very hard this morning to get PHP fixed, and I&#8217;m proud to announce that PHP is almost working the way it should. That means: including servers running PHP4.</p>
<p>You want an example? Sure, here it is:</p>
<h3>PHP Code Like It Should</h3>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span>
<span class="php-function">mysql_connect</span> <span class="php-brackets">(</span><span class="php-var">$host</span>, <span class="php-var">$user</span>, <span class="php-var">$password</span><span class="php-brackets">)</span>;
<span class="php-var">$result</span> <span class="php-operator">=</span> <span class="php-function">mysql_db_query</span> <span class="php-brackets">(</span><span class="php-string">'Database'</span>, <span class="php-string">'select * from table'</span><span class="php-brackets">)</span>;
<span class="php-keyword">while</span> <span class="php-brackets">(</span><span class="php-var">$row</span> <span class="php-operator">=</span> <span class="php-function">mysql_fetch_assoc</span> <span class="php-brackets">(</span><span class="php-var">$result</span><span class="php-brackets">)</span><span class="php-brackets">)</span>
<span class="php-brackets">{</span>
	<span class="php-keyword">echo</span> <span class="php-var">$row</span><span class="php-brackets">[</span><span class="php-string">'user_id'</span><span class="php-brackets">]</span>;
	<span class="php-keyword">echo</span> <span class="php-var">$row</span><span class="php-brackets">[</span><span class="php-string">'fullname'</span><span class="php-brackets">]</span>;
<span class="php-brackets">}</span>
<span class="php-function">mysql_free_result</span> <span class="php-brackets">(</span><span class="php-var">$result</span><span class="php-brackets">)</span>;
<span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<h3>So, What&#8217;s Next?</h3>
<p>After this highlighter is finished, I create one for JavaScript and properly one for Java. As soon as they all work the way it should, I will release version 1.1.</p>
<p>See you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frank-verhoeven.com/new-php-highlighter-in-town/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

