![]() |
Well I installed it and it seems that it does not use the title form the template, and it also displays vBulletin MEssage on the table header for the chat, and I could not find anywhere in the hack code a place to change this, anyone had the same problem? If yes how can I change at least the "vBulletin Message" To Voice chat or whatever name I want?
Thanks |
Anyone?
|
That's because the template that the chat hack uses is the standard_error template, I believe. If you wanted to change it, you'd have to create a new template, and modify the hack to use that template instead.
-jim |
Thanks a lot, I have been trying to find which file the hack used, with out luck, if it's a template it should be easy to modify, I'll give it a try!
Thanks again! |
Yes you are right it does use the standarderror template, and if I edit the standarderror it will change the title, but this is not a good idea because I would have all other standard errors with a different title, I tried to copy the template and name it chat_template, and use it instead, the problem is htat the chathack.php file uses the standarderror function too, and the function must overwrite the chat_hack template on the title, because it does not work, anyone have any other idea on how I would change this and still keep my standarderror message the same?
Thanks |
Ok I finaly figured out a way of doing this, and I'm gonna post so anyone that runs int othis problem will know a solution!
ok here's what I did: first go to the standarderror template copy the contents and add a new template called "chat_template" or any other name you want to call then change the "vBulleting Message" bit to any other message like "Yoursite's Voice Chat" then go to global.php and find the code: Code:
// ###################### Start standarderror ####################### Code:
// ###################### Start chat_template ####################### Code:
eval("echo standarderror(\$bbtitle,\"".gettemplate("error_nopermission")."\");"); Code:
eval("echo chat_template(\$bbtitle,\"".gettemplate("error_nopermission")."\");"); Code:
eval("echo standarderror(\$bbtitle,\"".gettemplate("chat_hack")."\");"); Code:
eval("echo chat_template(\$bbtitle,\"".gettemplate("chat_hack")."\");"); |
Conan,
You're a lifesaver! That worked perfectly!!! Thanks so much for taking the time to share what worked on that! TigerLily:) |
does someone have a link to a demo with this hack in operation ?? i wouldn't mind checking it out..
thx |
<a href="http://forums.bronx-bombers.com/chat.php" target="_blank">http://forums.bronx-bombers.com/chat.php</a>
|
thx.. :)
|
All times are GMT. The time now is 04:26 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:
|