I have a chatbox for my website thats ran on wordpress. I use http://www.shoutmix.com/v3/ for the chatbox, not a fan of the forum chatboxes, I'd like to use
Code: Select all
<?php function shoutmixwalkingdead($user_identity = '') {
return htmlspecialchars(
'&name='.rawurlencode($user_identity)
.'&code='.md5($user_identity.'7f7ebe7421'));
}
?>
<?php if ( $user_ID ) : ?>
<iframe title="walkingdead" src="http://www.shoutmix.com/?nighttimescene<?=shoutmixwalkingdead($user_identity);?>" width="170" height="555" frameborder="0" scrolling="auto"> allowtransparency="true"
<a href="http://www.shoutmix.com/?nighttimescene<?=shoutmixwalkingdead($user_identity);?>">View shoutbox</a>
</iframe>
<?php endif; ?>
Also.. on top of that on my main website, I have it so that when users log in that name will be used in the chatbox also.. and so that users can't change names when chatting. Just helps me out. It's just taking info from the database.
So PLEASE have a cube that uses PHP.. and that can grab info from databases.