Login
Popular Posts
Categories
- Internet (1)
- News (6)
- PHP (4)
- Web Hosting (1)
- WordPress (3)
- Wordpress Plugins (12)
Tags
FV Code Highlighter V1.1
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
Sep29
Using Sessions in 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 do sessions not work in WordPress?” Finally I found a solution to fix this little issue and guess what, it is a simple one.
Continue reading →
Sep20
New PHP Highlighter In Town
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?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.
Sep18
Short If-Else Structure
Filed under PHP.
In addition to the enlarged if – else statement that you will use in most cases, there is also a short structure for an if – else statement. This format uses the so-called “ternary operator ‘. The syntax of this shorthand structure is as follows:
1
$var = [condition] ? [true] : [false];
- Condition = The condition which must be met.
- True = Executed if the condition is met.
- False = Executed if the condition failes.
Sep16
WordPress Plugin – FV Code Highlighter
Filed under Wordpress Plugins.
The main subject of this blog will be web development and feature some interesting articles and tutorials ranging from PHP and jQuery to HTML and CSS. The problem I was facing when I built this theme was the lack of awesome code highlight plugin. I just couldn’t find one that was working for me.
I thought maybe more people were looking for a plugin that simply publish codes that looks great. I started to write my own, and the FV Code Highlight plugin was born and now open for the public. The features are plain and simple, read on.
Continue reading →
Sep10
Code Highlighter Preview
Filed under Wordpress Plugins.
Below is an example of my Code Higlighter that I will release whithin this week.
A reallife example can be found at DivitoDesign.com.
CSS Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/* Comment */
@import url("main.css");
h3, .head2 {
font-family: "Sans-Serif";
font-weight: bold;
color: #336699 !important;
}
@media screen, print {
pre { margin: 0px 10px 10px; }
h1 { font-size: 14px; padding-top: 10px; }
}
Sep10


