Page 1 of 1

PHP ShoutMix Shoutbox help - User Inegratipm

Posted: Sun Dec 06, 2009 12:54 am
by XBL Whore
Hi, I just recently bought a shoutmix premium account, and I want to make the users that signed up inegrate to my shoutbox on my website. It is a SMF forum website. Here is the coding they sent me. I tried 10 different times and still no luck.
PHP Function
If you're using PHP, you can add the following function to your script for quick integration. The function will produce correct parameters to be appended at the end of your shoutbox URL.

Code: Select all

function shoutmix($name = '') {
    return htmlspecialchars(
        '&name='.rawurlencode($name)
        .'&code='.md5($name.'UNIQUEUSERID'));
}
 
Then alter your shoutbox HTML codes by adding the following codes (after your shoutbox URL):

Code: Select all

Example 
...mix.com/?jizzinurmouth69<?=shoutmix($name);?>" width="...
here is the HTML code I used

Code: Select all

 
<!-- Begin ShoutMix - http://www.shoutmix.com --><iframe title="jizzinurmouth69" src="http://www6.shoutmix.com/?jizzinurmouth69" width="100" height="200" frameborder="0" scrolling="auto"><a href="http://www6.shoutmix.com/?jizzinurmouth69">View shoutbox</a></iframe><!-- End ShoutMix -->
 
please help me out, I really need this working, thanks.