On the guide they give the php function like this
function shoutmix($name = '') {
return htmlspecialchars(
'&name='.rawurlencode($name)
.'&code='.md5($name.'uniquecodehere'));
}
…mix.com/?ourname< ? =shoutmix($name); ? >” width=”…
my question too how to combine the md5+current username registered on our blog
i found this code can be help
global $user_ID, $user_identity, $user_level
if ( $user_ID ) :
OK got it work now 🙂
<?php global $user_ID, $user_identity ?>
<?php function shoutmix($user_identity = '') {
return htmlspecialchars(
'&name='.rawurlencode($user_identity)
.'&code='.md5($user_identity.'uniquecodehere'));
}
?>
<?php if ( $user_ID ) : ?>
<iframe title="yourshoutmixid" src="http://www5.shoutmix.com/?yourshoutmixid<?=shoutmix($user_identity);?>" width="200" height="200" frameborder="0" scrolling="auto">
<a href="http://www5.shoutmix.com/?yourshoutmixid<?=shoutmix($user_identity);?>">View shoutbox</a>
</iframe>
<?php endif; ?>
So will this code be able to log someone into the chatbox with the user name that they signed up for the blog with?