* Documentations are written assuming that your PHP Live! is always the latest version. If you do not see the menu options or the feature, you may want to upgrade your system to the latest version. The latest version can be downloaded at the client area.
For Download Clients, there are few variables that sets the embed chat window width and height and also the popup chat window width and height. The variables are located at phplive/API/Util_Vars.php file. The following are the default window size values:
$VARS_CHAT_WIDTH = 540 ;
The $VARS_CHAT_WIDTH and $VARS_CHAT_HEIGHT sets the popup chat widow size.
The $VARS_CHAT_WIDTH_WIDGET and $VARS_CHAT_HEIGHT_WIDGET sets the embed chat window size.
If you are wanting to resize the default values, DO NOT attempt to modify the phplive/API/Util_Vars.php file directly. Instead, create a new file phplive/API/Util_Extra.php and place the modified values there. This way, if new values are introduced to the Util_Vars.php file, it will not override your adjusted settings.
An example phplive/API/Util_Extra.php for a slightly bigger embed chat window size:
$VARS_CHAT_WIDTH_WIDGET = 480 ;
Relation documentation: Embed chat window width to span 100% of the webpage
Was this helpful?
could be more helpful? send comment
3 people found this helpful