![]() |
Where exactly in the index.php file do I insert the following code for this hack?
//BEGIN CHAT HACK if ($bbusername) { $chatbulb = 'images/off.gif'; $numchattersa = $DB_site->query_first("SELECT count(username) AS username FROM c_users"); $numchatters = $numchattersa[username]; if ($numchatters == 0) { $chatbulb = 'images/off.gif'; $chatmessage = 'Chat room is currently empty'; } else { $chatbulb = 'images/on.gif'; $chatmessage = "There are $numchatters people in the chat room"; } eval("\$chatinfo .= \"".gettemplate("chatloggedin")."\";"); } else { eval("\$chatinfo .= \"".gettemplate("chatloggedout")."\";"); } //END CHAT HACK |
What chat hack is this? Didn't it come with instructions?
|
I'm sorry I meant to reply to the hack listed on this thread:
http://www.vbulletin.com/forum/showt...4&pagenumber=1 |
[QUOTE]Originally posted by Iliana
I'm sorry I meant to reply to the hack listed on this thread: http://www.vbulletin.com/forum/showt...4&pagenumber=1 |
All times are GMT. The time now is 03:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|