Thank you for your outstanding support.

Frank from Famekeeper.com, View all testimonials.

AVChat newsletter

Subscribe to our (almost monthly) newsletter to receive updates by email:



*confirmation required
Read our no spam policy

FMS box    red5
AVChat 2 and AVConference are compatible with both FMS 2 & 3 and Red5 .

Making AVConference and AVChat 2 Joomla components open up in pop up windows.

Prerequisites:

  • working AVChat 2/AVConference Joomla component installation
  • FTP acess to the web server where the joomla website is hosted

By default the flash chat interfaces in the Joomla components show up inside the main website between all the usual elements of the website (menus, banners, etc...).

Heres what you need to do to make them show up in pop up windows:

  1. Log into the web server that hosts the Joomla website using FTP
  2. go to /components/com_avchat/ (or /components/com_avconference/) and open up avchat.php (or avconference.php) in a text editor.
  3. remove everything but the php tags and what is included in them: <?php ...?>
  4. add the code below:
  5.  

    <script type="text/javascript">
    function popitup(url,hh,ww) {
    newwindow=window.open(url, 'name', 'height='+hh+', width='+ww+', resizable=yes, scrollbars=yes');
    if (window.focus) {newwindow.focus()}
    return false;
    }
    </script>

    <a onclick="return popitup('http://site.com/components/com_avchat/index.swf',580,970)" target="_blank"> Launch AVChat 2 in a pop up window </a>




  6. Replace the text in red above, with the correct path to the flash user interface file! e.g. http://site.com/components/com_avchat/index.swf or http://joomla.site.com/components/com_avconference/index.swf.

580 is the width and 970 is the height of the pop up window that will open. You can also change those values to your liking.

 

Because the new browser window will opens the swf file directly and not a HTML file that embeds the .swf file, in order to change the background color of the flash user interface you need to open up /components/com_avchat/avc_settings.php with a text editor and configure it to load a a bacgkground image colored in the color you are looking for. The variables you need to change are: backgroundImageUrl and if needed backgroundImageScale and backgroundImageAlpha.