I'm using a program called Shoutmix it's a chatbox panel all works well but I can get it so that only members can see and use it.
The instructions to do this are below, where would I best place the script?
And is $name the same variable as is used by phpBB?
Thanks
Graham
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.'fbf2f9ab7c'));
}
Example
...mix.com/?poemchat<?=shoutmix($name);?>" width="...
Replace $name with the variable that holds the name of your member, as retrieved from the database.