Posts Tagged ‘WordPress’

WordPress as a Group Twitter

08.29.2008 by Denis - 0 Comment
Posted in WordPress

XMPPHP is the successor to Class.Jabber.PHP. I use the class to setup a Gtalk bot and integrat it with WordPress, which turns WordPress into a group twitter.

  1. Change your WordPress’s setting: Anyone can register and New User Default Role is Author. These settings can be tweaked in Setting => Genenal of WordPress admin panel.
  2. Download the Prologue WordPress theme and install it.
  3. Download the Gtalk bot code file: xmpphp.zip
  4. Modify the wp-xmpphp.php file. Change the $gtalk_account and $gtalk_password according to your Gtalk bot account and password.
  5. Upload them to WordPress root directory. Make sure the wp-xmpphp.php and wp-config.php are placed in the same directory.
  6. Visit http://your-blog/wp-xampphp.php in your browser once to start the bot
  7. Use the cron job to run the following job: wget http://your-blog/wp-xampphp.php every 10 minutes.

During the test, this php GTalk bot occupied a lot of server resource.

Top Friends 0.3

08.26.2008 by Denis - 1 Comment
Posted in Plugin

I have upgraded my WordPress plugin Top Friends to version 0.3. The following features have beed added to the version:

  • Add a setting panel for the plugin
  • Compatible with the host which PHP version less than 5.2
  • Widgetize the plugin
  • .

Top Friends

More information about how to use the plugin please click Top Friends introduce page.

Download: Top Friends.

Top Friends

08.26.2008 by Denis - 7 Comments
Posted in Plugin

Top Friends is a WordPress blogroll enhancement plugin. The plugin will fetch your friends’ feeds, and then display the feed’s name and status icon base on last update time and latest two posts of the feed.

The plugin uses Google AjaxFeed API to fetch feed. So it need your server can manipulate JSON format data (PHP >= 5.2). The new version need’t it.

There are two options need to be setup for the plugin properly works.

  • Google AJAX Feed API Key is the API Key, you can apply it here.
  • Top Friends Feeds is the feeds that you want to fetch.

Top Friends

After upload and active the plugin, you can use the following function in your template.

<ol>
	<?php top_friends(); ?>
</ol>

Dowload: Top Friends

PureCSS Theme

08.13.2008 by Denis - 19 Comments
Posted in Theme

PureCSS theme is a pure CSS WordPress theme, no image. It is designed by Leslie and coded by Yixia .

The theme is compatible with latest WordPress, widget, valid CSS and XHTM, and has been tested with in Firefox, Internet Explorer 6 &, Opera, and Safari.

PureCSS theme

Demo | Download