layout | title | description | isHome | hide |
---|---|---|---|---|
default |
AVChat xenForo Add-on |
Documentation covering the AVChat add-on for xenForo |
false |
true |
The AVChat Video Chat Add-on for xenForo handles the integration between your xenForo community and our AVChat software:
- username and gender integration
- profile url integration
- profile picture integration
- Facebook and Twitter integration
- placement of video chat within the web site (user and admin interface)
- control what features each user group from xenForo has access to
- control AVChat 3 general settings from the xenForo admin area
If you're looking for something specific just hit Ctrl+F on your browser.
AVChat 3.0.zip
contains AVChatavchat3_video_chat_xenforo_addon.zip
contains the xenForo add-on
Extract the 2 archives somewhere on your computer.
Once we've downloaded & unzipped everything the next thing we need to do is to setup the media server app to which AVChat will connect to.AVChat uses a media server to send all the audio video and text data between users. AVChat supports the 3 major media servers:
- Red5
- Adobe Media Server
- Wowza
Here's how to install the avchat30
app on each one of them:
{% include media-server-app.md %}
Connect using an FTP client to your website and:
- upload the
library
andvideochat
folders from the xenForo's archive to your forum's root folder
If you use the xenForo's `.htaccess` (for [SEO friendly URLs](https://xenforo.com/help/friendly-urls/) or any other reason) you'll also have to prevent it from redirecting AVChat paths by editing the `.htaccess`in your forum's root folder and replacing the following line:
{% highlight PHP %} RewriteRule ^(data/|js/|styles/|install/|favicon.ico|crossdomain.xml|robots.txt) - [NC,L] {% endhighlight %}
with:
{% highlight PHP %} RewriteRule ^(data/|js/|styles/|install/|favicon.ico|crossdomain.xml|robots.txt|videochat/|index_popup.php) - [NC,L] {% endhighlight %}
If your website's hosted on a Linux server CHMOD the `/videochat/uploadedFiles` and `/videochat/tokens` folders to 777.
In the xenForos's Admin CP area:
- click on Install Add-on in the left side menu.
- on the Install New Add-on page click on Choose File
- select the
addon-AVChat3VideoChat.xml
from the xenForo add-on archive. - click Install Add-on
In the Admin CP:
- go to Home and click on Options in the left sidemenu
- select AVChat 3 Video Chat Options from the list (should be 1st)
- in the RTMP Connectionstring section insert your connection string for the media server app ( it should look like this
rtmp://media-server-ip/avchat30/_definst_
) - scroll to the bottom and click Save Changes
Your AVChat installation is now configured to connect to the media server.
From the Admin CP:
- Go to Users -> Group Permissions
- Click the group you want to have access to AVChat
- Scroll down to the AVChat 3 Video Chat - User Permissions section and click Allow (green box)
- Scroll to the end and click Update Permissions
Repeat 2-4 for each group you want to have access to the chat. Make sure you allow access to the Administrative user group since you're part of it.
-
Go to the forum's front end. There's a new Video Chat link in xenForo's main menu, click on it.
-
The page with AVChat on it will load and AVChat's login screen will show up. Your username will be automatically filled.
-
Click Enter Chat. AVChat will now connect to the media server and ask you for the license key.
-
Enter the key (It's in your private client/trial area) and press Submit.
By default no xenForo user group has access to the video chat as admin. You will need to configure this permission for each group.
While logged in the Admin CP do the following:
- Click on Users in the top menu
- Click on the user group you want to give AVChat admin access to
- On the following page search for AVChat 3 Video Chat - User Permissions and you will see AVChat's permissions list
- Check Allow (the green box) for Can access chat as admin
- Scroll to the bottom and click on Update Permissions
Now, whenever a user belonging to that user group will access the chat, the AVChat admin interface will now load, instead of the one for regular members.
By default AVChat 3 is embedded in your xenForo page but you might want AVChat to open in a pop up window to make it easier for your users to browse your website while in the chat.
- From Admin CP go to Home -> Options
- Search for AVChat 3 Video Chat Options and click on it
- Select Popup for Display Mode
- Scroll to the bottom and click Save Changes
xenForo ships with 4 user groups:
- Administrative
- Moderating
- Registered
- Unregistered / Unconfirmed
To control what AVChat features (creating rooms, sending PM's, viewing webcams, etc.) are available to each user group do the following from the AdminCP:
- go to Users and the click on User Group Permissions in the left sidebar.
- click on the user group you want to edit and then search for AVChat 3 Video Chat - User Permissions
- change the AVChat permissions for that user group and click Update Permissions at the bottom.
The xenForo addon does not allow any user group to access the chat by default. Every group (including Unregistered / Unconfirmed which covers visitors) need to be given permission from the group's permissions page.
From the Admin CP:
- go to Users -> Group Permissions
- click on the Unregistered / Unconfirmed
- Scroll down to AVChat 3 Video Chat - User Permissions and select Allow (the green box) for Can access chat
- Scroll down and click Update Permissions
When a user group doesn't have permission to access the chat they still see the `Video Chat` link in the menu but on the chat page they're asked to register or sign in.
- all the add-on files
index.swf
andadmin.swf
- language files
- themes
- audio/video quality profile files
avc_settings.xml
integration.php
are located in /videochat/
.