Martyn Posted September 21, 2015 Share Posted September 21, 2015 (edited) Currently the Live Chat Modules shows "Chat Now" even if no one is on live chat, right next to a "Contact Us" Button, I find it not needed.. and should only be available if someone is available to chat to... can anyone point me in the right direction to make the required changes? Many thanks http://puu.sh/kj3SA/1362018787.png Edited September 21, 2015 by Martyn 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 21, 2015 Share Posted September 21, 2015 Hi Martin, can anyone point me in the right direction to make the required changes? that's going to be a tricky one - I don't use it, but i'm guessing the Live Chat module is encrypted? it looks like it's either using it's own Navbar hook to add an entry to the menu, or more likely it already exists in the navbar code and is enabled when being used. that being the case, you may need to use an action hook to either modify the label, or remove it, based on chat availability... but i'm unsure if you have access to a variable to determine if anyone is available. http://docs.whmcs.com/Client_Area_Navigation_Menus_Cheatsheet 0 Quote Link to comment Share on other sites More sharing options...
Martyn Posted September 21, 2015 Author Share Posted September 21, 2015 The livehelp hook file, doesn't seem encrypted... maybe it will be possible to change But what excatly.. is going to be the hard thing. lol 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted September 21, 2015 Share Posted September 21, 2015 The livehelp hook file, doesn't seem encrypted... maybe it will be possible to change where did you find it? 0 Quote Link to comment Share on other sites More sharing options...
Martyn Posted September 21, 2015 Author Share Posted September 21, 2015 within the hook folder 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.