If you are making the wordpress plugin, many times we need to create new tables. You will see how easily we can create the wordpress plugin with new table in database.
Using following code:

global $my_db_version;
$my_db_version = "1.0";
function my_install () {
global $wpdb;
global $my_db_version;
$table_name = $wpdb->prefix . "liveshoutbox";
if($wpdb->get_var("show tables like '$table_name'") != $table_name) {
$sql = "CREATE TABLE " . $table_name . " (
id mediumint(9) NOT NULL AUTO_INCREMENT,
name tinytext NOT NULL,
UNIQUE KEY id (id)
);";
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
dbDelta($sql);
$rows_affected = $wpdb->insert( $table_name, array('name' => $welcome_name) );
add_option("my_db_version", $my_db_version);
}
}

Now that we have the initialization function defined, we want to make sure that WordPress calls this function when the plugin is activated by a WordPress administrator. To do that, we will use the activate_ action hook. If your plugin file is wp-content/plugins/plugindir/pluginfile.php, you’ll add the following line to the main body of your plugin:


register_activation_hook(__FILE__,'my_install');

Now you can easy add sliding text in your site or blog.

For this plugin is used jquery 1.4.2 library and jquery.marquee library.

Usage:
1. Download the plugin.
2. Extract It.
3. Upload to the /wp-content/plugins/ directory.
4. Activate the plugin through the ‘Plugins’ menu in WordPress.
5. Options can be edited from ‘Settings/Marquee’.

Insert in html:
1. Php inserts can be used as <?php echo show_marquee(); ?>.
2. You can also use trigger text such as <!– marquee –>.
3. Triggers can be inserted through HTML view of the wordpress editor.
4. Currently this version works with PHP 5.0 or above.

Download this plugin you can here: marquee.

Seo WordPress Plugins

1. All in One SEO Pack – By far the gold standard of SEO plugins, “All in One” provides a multitude of easy to understand options to get your blog up to par SEO wise. 99% of WordPress users will agree when I say this is an absolute must have when it comes to plugins. With over 2 million downloads and growing, you can’t go wrong.

2. SEO Title Tag – Although the plugin above can control title tags on your WordPress blog, this plugin is an outstanding solution to optimize and customize every title tag on your blog.

3. HeadSpace2 SEO – This handy dandy SEO plugin will allow you to customize meta-data for nearly every aspect of your blog including posts, pages, categories, home page, search pages, author pages, and even 404 pages. This is a super alternative to All in One SEO Pack, just not quite as popular.

Continue reading

I’ve moved my site in the last few days to a new dedicated server. I’ve decided to switch to Lighttpd. Now I can say that I’m fairly satisfied with the move.

But after I transfered the domain to the new server I’ve found out that none of my inner pages are accessible. The reason, as it turned up pretty quickly, is that the WordPress depends on Apache’s mod_rewrite to create the clean URLs (the so called permalinks).

Continue reading

One more product using google API. It is google analytics based counter. With help of this service you can show page statistic for all your visitors counter image or full visits graph. Statistic data is collected directly from google analytics, using it’s API.

Continue reading

The release of eZ Publish Enterprise 4.4 is a landmark event. A wide range of improvements further consolidate eZ Publish as the leading Open Source platform for Web Content Management and Publishing.
eZ Publish Enterprise 4.4 is based on the eZ Publish community project, but with the additional assurance of the eZ Publish Enterprise subscription–a service which fully supports the platform.

As an eZ Publish 4.4 user, you benefit from numerous exciting new features in this version, including:

Continue reading

1. Introduction

WordPress is gaining more and more popularity each day, not just as a blogging platform but also as a basic CMS, thus improving and extending its basic functionality becoming a day-to-day necessity for a lot of developers. Fortunately, the WordPress developers have foreseen these needs and added the possibility of customizing the basic functionality by adding plugins. Basicaly, a WordPress plugin is a (more or less) stand-alone piece of code that can be executed in different sections and stages within a page or site.

Let’s get started!

Continue reading