Wordpress Plugins – Extensions

Just another WordPress.com weblog

Pierre’s Wordspew 5.32

Author: Pierre Sudarovich
The shoutbox add a chat functionality to your blog and permit to easily interact with your users/visitors. It uses the Fade Anything Technique for extra glamour

Upload the folder pierres-wordspew to your /wp-content/plugins/ directory,
Activate the plugin through the “Plugins” menu in WordPress,
Use the Widget interface to place the shoutbox where you want it. Otherwise, if you use an old version of WP (before 2.x) call the function (usually in sidebar.php) by this way : <?php if(function_exists(jal_get_shoutbox)) { jal_get_shoutbox(); } ?>

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

I’d like to change the default sound – is this as simple as changing msg.mp3?

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.

My smileys have borders around them. How to remove them?

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

My smileys are not showing in my shoutbox, what is the problem?

Go to Options -> Writing and check : Convert emoticons…

Since my last update, i have to reload the page to be able to see new comments in my shoutbox or i always get these messages : “Your IP address have been banned from this blog…” or “SPAMMER : I DON’T LIKE SPAM !!!”. What did i do wrong?

Nothing ! you just have to clear your browser cache (and tell to your regulars users to do the same).

Does the shoutbox works with WP-MU?

Yes, since the version 5.0 🙂

I’d like to get the shoutbox in my native language. How can i do that?

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…

Ok, i’ve done what you explain above, but the shoutbox is still in english How to make it works?

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.

I wanted to add the shoutbox to a “new page” instead of my sidebar. How can i do that?

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…

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…’); ?>
<?php jal_get_shoutbox(); ?>
<?php endwhile; endif; ?>
<?php edit_post_link(‘<small>Edit</small>’); ?>

<?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.

Ok, ok we talk about the shoutbox, but how to implement it in my blog?

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.

There’s no break between comments in my shoutbox. What can i do to resolve that weird (and ugly) display?

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; }

How can i remove the upper left rounded corner from the shoutbox?

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.

I’ve added some banned words in my blacklist but users still can use them. What is wrong?

You have to put your banned words list in Comment Moderation List, NOT in Black list.

The CSS doesn’t get properly read with FIREFOX… Opera and IE works fine. What is the problem?

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.

Mingle Forum 1.0.06


June 27, 2010 - Posted by | download, extension, extensions, free, get, internet, plugin, plugins, Uncategorized, wordpress

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: