• s3ven

    (@s3ven)


    I recently purchase a shoutmix prem. account which allow integration but the guide they provided isn’t very useful. Can someone walk my though or post a more realiable guide please and thanks.

    (shoutmix integration = use current user database as a login)

    I use wordpress 2.6.3 btw sorry >>> forgot to change it lol

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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="https://www5.shoutmix.com/?yourshoutmixid<?=shoutmix($user_identity);?>" width="200" height="200" frameborder="0" scrolling="auto">
    <a href="https://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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘shoutmix integration’ is closed to new replies.