To exclude/hide the chat icon from displaying on certain pages when using the Standard HTML Code, there are couple of methods to accomplish this:
Method A (download solution only): pattern match on the URL
If wanting to exclude URLs that contains a certain string pattern, the $VALS["EXCLUDE"] variable is the best option. Create a file (if it does not exist) Util_Extra.php at the phplive/API/ directory (phplive/API/Util_Extra.php) and place the following code:
$VALS["EXCLUDE"] = "page1.php,page2,page3.php" ;
The $VALS["EXCLUDE"] value is comma separated string patterns with no spaces. It is a pattern match method (example: if the $VALS["EXCLUDE"] = "page.php,b,c" ; the system will not display the chat icon on all URLs that contain "page.php" or the letter "b" or "c".
var phplive_exclude = 1;
Both the above methods will still process all the features of the Standard HTML Code (automatic chat invite, operator chat invite, footprint tracking). Just the chat icon will not be displayed (online or offline).
Was this helpful?
could be more helpful? let us know