Rudd-O’s Wordspew

This tool is also bundled with Turbocharged for WordPress. Need support? Buy it and get other plugins, themes and support for free.

Rudd-O’s Wordspew is an improved edition of the widely known shoutbox for WordPress (live Web chat box, also known as tagboard) created by Andrew Sutherland, the Jalenack’s Wordspew.

Features

So, here’s the lowdown on Rudd-O’s Wordspew:

  • No SQL injection bugs. Honest!
  • Live update of who’s online and chatting, with real nicknames
  • Easier on the Web server

Here it is. For you to peruse and download. So, do it now!

If you want a demo, look further to the right: the shoutbox on this weblog is powered by Rudd-O’s Wordspew. Be a good guy and leave a comment.

Why another shoutbox?

How did it come to life? Well, it’s simple. Three factors were at play here:

  • Jalenack’s Wordspew contained a serious SQL injection vulnerability. I intended to fix that ASAP. And I did.
  • One day, seeing the wp-useronline link that I had purposefully placed above the shoutbox, it hit me: what if the shoutbox itself tracked visitors, instead of using a separate plugin? What if the visitor count and nickname roster were updated live, in real time, so you’d know if the person you were chatting with went away? Thus, I decided to integrate the useronline plugin with Jalenack’s Wordspew. And it truly makes sense, because now everyone reading my weblog will appear as online until they navigate away from my weblog. Plus, the useronline code merged with Jalenack’s Wordspew has fixes for bugs present in the original version.
  • The original Wordspew was filling my Web server logs with PHP notices (due to coding slip-ups in the original implementation). Being the cautious individual that I am, I did not want to turn notices off. I fixed this slip-up
  • The original implementation of the shoutbox had a few hard-to-track JavaScript bugs, which caused error notices when pages containing it were saved as Konqueror Web archives. Other JavaScript errors caused visitors to involuntarily hit on the AJAX-invoked wordspew.php file one too many times (often bogging down my Web server). I fixed these bugs.

How to install this plug-in

Just unpack the archive into your WordPress installation’s wp-content/plugins directory (preserving the directory structure, so a wordspew directory with all its files should be created). Then go to the Plugin manager screen in your WordPress administration interface, and enable Rudd-O’s Wordspew. That’s it!

To place your shoutbox within your template, add the following code (a good place for this code would be the sidebar.php file):

<?php if (function_exists("jal_get_shoutbox")) { ?>
    <h2>Live chat</h2>
    <?php jal_get_shoutbox(); ?>
<?php } ?>

License

This work is distributed and licensed to you under the terms of the Attribution-NonCommercial-ShareAlike Creative Commons license.