A plugin that creates a live shoutbox, using AJAX as a backend. Users can chat freely from your blog without refreshing the page!
In some explanations, i ask to edit a php file. Be careful to edit them with a good editor like Notepad++ and open each file with the format "UTF-8 without BOM". By the way you'll skip problems with headers in your blogs
Yes, all you have to do is to name your file as msg.mp3. Be careful with the size of your file (in ko), try to keep it as light as possible.
Edit css.php, at line 61 you'll find : #chatoutput .wp-smiley { vertical-align: middle; } add border: none; like this : #chatoutput .wp-smiley { vertical-align: middle; border: none; } and tada : no more border
Go to Options -> Writing and check : Convert emoticons...
Nothing ! you just have to clear your browser cache (and tell to your regulars users to do the same).
Yes, since the version 5.0 :)
Download the files of your native language. Adapt it, eventually, to your needs by using a PO file editor such as :
KBabel (Linux) should be available as a package for your Linux distribution, so install the package.
poEdit (Linux/Windows) available from http://www.poedit.net/.
Put the wordspew-xx_XX.mo file in the lang folder (under pierres-wordspew), the PO file is just here to generate the MO translation file...
Open your wp-config.php file (at the root of your blog) and search for : define ('WPLANG', 'xx_XX'); where xx_XX is your language. If this line doesn't exist add it in your file. Save your modifications and re-upload the wp-config on your server.
Create a template in your theme folder and name it Shoutbox for example. It should be like this if you use the WP default theme...
<?php
/*
Template Name: ShoutBox
*/
?>
<?php get_header(); ?>
<div id="content" class="widecolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<div class="entrytext">
<?php the_content('Read more...'); ?>
</div>
<div>
<?php jal_get_shoutbox(); ?>
</div>
</div>
<?php endwhile; endif; ?>
<?php edit_post_link('<small>Edit</small>'); ?>
</div>
<?php get_footer(); ?>
Now create a new page name it as you want and choose "Shoutbox" as template for this page. You, now, have your shoutbox in a page.
If you have WP 1.5.x edit your sidebar.php add this line where you want your shoutbox appears : <?php if(function_exists(jal_get_shoutbox)) { jal_get_shoutbox(); } ?>. If you have WP >= 2.x go to Theme -> Widgets drag and drop the shoutbox widget where you want it. You can change the title by editing the property of the shoutbox widget.
Edit css.php at line 53 you'll find : #chatoutput ul#outputList li { padding: 4px; margin: 0; color: #<?php echo $shout_opt['text_color']; ?>; background: none; font-size: 1em; list-style: none; min-height: <?php echo $shout_opt['avatar_size']; ?>px; } add display: block; in it like this : #chatoutput ul#outputList li { padding: 4px; margin: 0; color: #<?php echo $shout_opt['text_color']; ?>; background: none; font-size: 1em; list-style: none; min-height: <?php echo $shout_opt['avatar_size']; ?>px; display: block; }
Edit css.php line 32 you'll find : -moz-border-radius : 14px 0px 0px 0px; just comment this line by adding // in front of it.
You have to put your banned words list in Comment Moderation List, NOT in Black list.
if you use WP-PostRatings and the shoutbox you've got some incompatibility issues. So edit postratings.php and search for : header('Content-Type: text/html; charset='.get_option('blog_charset').'');. Comment this line and all will be ok.
Requires: 2.5 or higher
Compatible up to: 3.0.5
Last Updated: 2010-12-10
Downloads: 40,295
Got something to say? Need help?