Need Help ?




Changing the size of AVChat 3

Prerequisites:

  • working AVChat 3 installation
  • acess to the web server where the client side files are installed

Introduction

You can change the size of the AVChat 3 user/admin Interface to better fit with the design and size of your website.

The size of the AVChat3 user and admin interfaces is defined in the HMTL pages that embed these swf files. By default AVChat 3 ships with 2 HTML pages: index.html (that embeds the user interface: index.swf) and admin.html ( that embeds the admin interface: admin.swf).

How to do it

In order to change the size of the AVChat 3 user interface for example, you will need to edit index.html with a text editor and change the code below:

width="970" height="580"

The above code can be found in 2 places in the HTML file so make sure you change in both.

The above values are absolute values in pixels. You can also use relative values like in the example below:

width="100%" height="100%"

Done

Now, do not forget to save and upload the modified index.html to your web site, and refresh. The same procedure applies to admin.html .

Special notes for the AVChat 3 Joomla Component

If you are using the AVChat 3 Flash Video Chat Component for Joomla the files you need to edit in order to change the size are:

  • components/com_avchat3/avchat3.php for the user interface
  • administrator/components/com_avchat3/admin.avchat3.php for the admin interface

Special notes for the AVChat 3 Drupal Module

If you are using the AVChat 3 Flash Video Chat Module for Drupal the files you need to edit in order to change the size are:

  • modules/avchat3/avchat3.module for both user and admin interface (in Drupal 6.x)
  • sites/all/modules/avchat3/avchat3.module for both user and admin interface (in Drupal 5.x)

Special notes for the AVChat 3 osDate Plugin

If you are using the AVChat 3 Flash Video Chat Plugin for osDate 2.x the files you need to edit in order to change the size are:

  • plugins/AVChat3/templates/default/avchat3.tpl for the user interface
  • plugins/AVChat3/templates/default/admin/avchat3.tpl for the admin interface

Special notes for the AVChat 3 Social Engine Plugin

If you are using the AVChat 3 Flash Video Chat Plugin for Social Engine the files you need to edit in order to change the size are:

  • templates/browse_avchat3.tpl for the user interface
  • templates/admin_avchat3admin.tpl for the admin interface

Special notes for the AVChat 3 phpFox Plugin

If you are using the AVChat 3 Flash Video Chat Plugin for phpFox the files you need to edit in order to change the size are:

  • plugins/videochat/videochat.php for the user interface
  • plugins/videochat/videochat-admin.php for the admin interface

Special notes for the AVChat 3 vldPersonals extension

If you are using the AVChat 3 Flash Video Chat Extension for vldPersonals the files you need to edit in order to change the size are:

  • It opens in a resizeable popup window
  • templates/avchat3.tpl for the admin interface

Special notes for the AVChat 3 vBulletin product

If you are using the AVChat 3 Flash Video Chat Product for vBulletin the files you need to edit in order to change the size are:

  • It opens in a resizeable popup window (see installation instructions)
  • videochat/avchat3.php (the admin.swf object and embed) for the admin interface

Special notes for the AVChat 3 JamRoom module

If you are using the AVChat 3 Flash Video Chat Module for JamRoom the files you need to edit in order to change the size are:

  • /AVChat3.php for both user and admin interface

Special notes for the AVChat 3 Wordpress

If you are using the AVChat 3 Flash Video Chat Plugin for Wordpress the files you need to edit in order to change the size are:

  • wp-plugins/avchat3/avchat3.php for both user and admin interface

Special notes for the AVChat 3 IP.Board 3 application

If you are using the AVChat 3 Flash Video Chat Application for IP.Board the files you need to edit in order to change the size are:

  • admin/applications_addon/other/avchat3/modules_public/chat.php for both user and admin interface