New JavaScript Used
Posted by Frank Verhoeven | Filed under Wordpress Plugins
Hey everyone.
After adding version 1.3, I received a few notifications about the javascript. It gave errors, wasn’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, telling about the JavaScript. The problem seems to be worse then I was thinking, so an early patch for the javascript is already available.
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.
2009, Here We Come
Posted by Frank Verhoeven | Filed under News
I wanna wish everyone all the best for 2009!
Fv Community News Version 1.3
Posted by Frank Verhoeven | Filed under Wordpress Plugins
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:
<!--fvCommunityNews:Form--> <!--fvCommunityNews:Submissions-->
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 – Template). You can simply put these tags in your post or page, and thats all.
FV Community News V1.2
Posted by Frank Verhoeven | Filed under Wordpress Plugins

Finally, after a lot of programming the time is here. It’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…
FV Community News Version 1.1
Posted by Frank Verhoeven | Filed under News, Wordpress Plugins
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 parts for users who are logged in
- The captcha could be removed for users who are already logged in.
- The captcha image can now easily refreshed, using AJAX
- A nonce field is added to fight spam.
- I added an RSS 2.0 feed for the submissions.
- AJAX is now used to submit the form.
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.
On to version 1.2
There are already some suggestions for version 1.2:
- Allow people to upload photo’s.
- The ability to edit submissions.
- Tags to add Community News in a post or page.
These will be implemented as soon as possible ![]()
Have any other suggestions? Please leave a comment and I will take a look at it.
Create a RSS Feed with WordPress
Posted by Frank Verhoeven | Filed under PHP, WordPress
When you are busy creating a wonderful plugin for your WordPress blog, it might be possible that you need to create a RSS feed. For example, when creating a guestbook people could ask for a RSS feed to view the recent added posts and stay updated, or take a look at my own Community News Plugin, isn’t it great if it had a build-in RSS feed as well?
Well don’t worry I am busy to create that and it is almost finished. In the mean while, I wanted to share some stuff I learned while creating this RSS feed.
The Beginning
The first thing we need is a function that actually creates the RSS feed. This function doesn’t need any parameters and it also shouldn’t return anything.
Wordpress Plugin – FV Community News
Posted by Frank Verhoeven | Filed under Wordpress Plugins
Many blogs out there can only produce a couple articles a week while their visitors ask for loads more. It’s sometimes a good idea to add related articles from other blogs to your sidebar. Adding them manually takes lots of time we don’t have. With this new Community News 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.
FV Code Highlighter V1.1
Posted by Frank Verhoeven | Filed under Wordpress Plugins
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’t done yet. The reason for this is that I simply already wanted to release this version because of the (better) support for PHP.
Also the admin panel is improved for better usability, see the screenshot below.

FV Code Highlighter – New Admin Interface
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.
For details on how to use this plugin, please visit original post.
Download here: FV Code Highlighter, Mirror
Using Sessions in WordPress
Posted by Frank Verhoeven | Filed under PHP, WordPress
Yesterday, when I was creating a new plugin for my friend Stefan Vervoort, I needed sessions to work. Unfortunately, WordPress doesn’t support them!??
I searched the whole source code of this great piece of blogging software, and not on one single line I found even one session. Also the session_start() function is not called, but I still needed my sessions to work
.
So I started searching Google for a fix of my problem. I found a lot of people asking the same question: “Why don’t sessions work in WordPress?” Finally I found a solution to fix this little issue and guess what, it is a simple one.
New PHP Highlighter In Town
Posted by Frank Verhoeven | Filed under PHP, Wordpress Plugins
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 PHP fixed, and I’m proud to announce that PHP is almost working the way it should. That means: including servers running PHP4.
You want an example? Sure, here it is:
PHP Code Like It Should
<?php mysql_connect ($host, $user, $password); $result = mysql_db_query ('Database', 'select * from table'); while ($row = mysql_fetch_assoc ($result)) { echo $row['user_id']; echo $row['fullname']; } mysql_free_result ($result); ?>
So, What’s Next?
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.
See you.
Loading...