WordPress as a Group Twitter
08.29.2008 by Denis - 0 CommentPosted 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.
- 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.
- Download the Prologue WordPress theme and install it.
- Download the Gtalk bot code file: xmpphp.zip
- Modify the
wp-xmpphp.phpfile. Change the$gtalk_accountand$gtalk_passwordaccording to your Gtalk bot account and password. - Upload them to WordPress root directory. Make sure the
wp-xmpphp.phpandwp-config.phpare placed in the same directory. - Visit http://your-blog/wp-xampphp.php in your browser once to start the bot
- 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.