OK, is there a reason I cant use the following code in that plug in? (or do I need to also edit something somewhere where else?)....maybe I left out something important?
Code:
if ($userinfo['activity'] == 'flashchat')
{
$handled = true;
$userinfo['action'] = $vbphrase['in_flashchat'];
$userinfo['where'] = '<a href="/chat/flashchat.php" target="_blank" onclick="window.open('/chat/flashchat.php','','scrollbars=yes,width=650,height=570,left=100,top=50');return false;">The Chat Room</a>';
}
When I use it I get this error at the top of the WOL page when there is someone in the chat room:
Code:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/xxxx/public_html/includes/functions_online.php(1167) : eval()'d code on line 50
and the location looks like this:
Code:
Unknown Location
/chat/getxml.php