Thanks for the reply. I tried making that plugin but it just made the link disappear.
Here is the plugin I was originally using:
Code:
$result = mysql_query("SELECT * FROM ajax_chat_online");
$num_chatting = mysql_num_rows($result);
vB_Template::preRegister('navbar',array('num_chatting' => $num_chatting));
vB_Template::preRegister('FORUMHOME',array('num_chatting' => $num_chatting));
Then adding this link in to the navbar manually:
Code:
<li><a href="/chat/">Chat ({vb:raw num_chatting})</a></li>
It wouldn't position itself properly in the submenu like I'd like but it did display the correct amount of users chatting as I want it. Any idea how to amend that plugin or where I can manually add the link in 4.2?
Thanks again for taking the time.