Quote:
Originally Posted by InFeRnO
Hi does anyone know of a way to have the shoutbox display when a user posts in a forum thread or makes a bet in casino or black jack and radio tracks i know its been done but think where to start lol thanx
|
this is what ya after...
PHP Code:
$message = "".$CURUSER['username']." Replied To The Thread [URL="http://$BASEURL/forums.php?action=viewtopic&topicid=$topicid&page=p$postid#$postid"]".$subject."[/URL]";
if (in_array($forumid,$staffforum))
//if (in_array($forumid))
{
echo "";
} else {
autoshout($message);
}
//$message = "".$CURUSER['username']." Started A New Thread [URL="http://$BASEURL/forums.php?action=viewtopic&topicid=$topicid&page=p$postid#$postid"]".$subject."[/URL]";
if (in_array($forumid,$staffforum))
//if (in_array($forumid))
{
echo "";
} else {
autoshout($message);
}