Quote:
Originally Posted by kh99
OK, maybe your plugin code could be this (using hook build_navigation_data - and you can disable the other plugin):
Code:
if (is_array($navdata['link_mzg2_354']))
{
$result = mysql_query("SELECT * FROM ajax_chat_online");
$num_chatting = mysql_num_rows($result);
$navdata['link_mzg2_354']['text'] = "Chat ($num_chatting)";
}
|
I'm trying to do the same thing but im using 4.1.10 and it doesn't have that hook, is there another way I can do it?
Thanks!