1. مهمان گرامی، جهت ارسال پست، دانلود و سایر امکانات ویژه کاربران عضو، ثبت نام کنید.
    بستن اطلاعیه

Getting started with xenForo and AVChat

شروع موضوع توسط AftabGardoon ‏12/2/19 در انجمن XenForo

Tags:
  1. مدیر بازنشسته☕

    تاریخ عضویت:
    ‏15/8/17
    ارسال ها:
    5,336
    تشکر شده:
    42,669
    امتیاز دستاورد:
    113
    همونطور که قول دادم تاپی زبان مادر تاپیک ترجمه شده ی موضوع بالا رو قرار میدم! تا دوستان مسلط تر از من بهتر استفاده ببرن: )!@};-
     
  2. مدیر بازنشسته☕

    تاریخ عضویت:
    ‏15/8/17
    ارسال ها:
    5,336
    تشکر شده:
    42,669
    امتیاز دستاورد:
    113
    The AVChat Video Chat Add-on for xenForo handles the integration between your xenForo community and our AVChat software. Here's what it will do:

    user name integration
    profile url integration
    profile picture integration
    profile gender integration
    Facbook and Twitter integration
    placement of video chat within the community (user and admin interface)
    control what features each user group from xenForo has access to directly from the xenForo Admin area
    control AVChat 3 general settings from xenForo Admin area​
     
  3. مدیر بازنشسته☕

    تاریخ عضویت:
    ‏15/8/17
    ارسال ها:
    5,336
    تشکر شده:
    42,669
    امتیاز دستاورد:
    113
    1. Installing the AVChat Video Chat Add-on for xenForo
    First you have to download 2 archives from the client/trial area on nusofthq.com to your computer. These 2 archives are:
    AVChat 3.0.zip (contains media server files for Red5/FMIS/Wowza and AVChat Standalone)
    avchat3_video_chat_xenforo_addon.zip (contains the AVChat Video Chat Add-on for xenForo)

    Extract the 2 archives somewhere on your computer to have all the files handy! We will use files from both archives!

    After you follow the installation instructions below, the first
     
  4. مدیر بازنشسته☕

    تاریخ عضویت:
    ‏15/8/17
    ارسال ها:
    5,336
    تشکر شده:
    42,669
    امتیاز دستاورد:
    113
    1.1 Setting up the avchat30 application on the media server
    First you need to install the avchat30 app on your media server. If you don't know what a media server is check out the requirements. If you already have a media server (Red5, FMIS, FMIS hosting, Wowza) here's what you need to do:
    Red5 installed on a dedicated server or VPS
    Upload the avchat30 folder from the Files to upload to your media server (Red5)folder to the webapps folder of your Red5 installation (C:\Program Files\Red5\webapps on Win, /opt/red5/webapps/ on Linux)

    Chmod the new avchat30 folder to 777.

    Restart the Red5 server

    You're done, move to step below
    Wowza installed on a dedicated server or VPS
    Upload the applications, lib and conf folders from the Files to upload to your media server (Wowza) folder to the root folder of your Wowza Media Server installation: C:\Program Files\Wowza Media Systems\Wowza Media Server Pro 1.7.2\ on my computer.

    Restart the Wowza server

    You're done, move to step below
    AMS installed on a dedicated server or VPS
    Upload the avchat30 folder (you will find it in your AVChat archive in the Files to upload to your media server (FMS) folder) to the applications folder of your FMIS installation (C:\Program Files\Macromedia\Flash Media Server\applications on Windows,/opt/macromedia/fms/applications/ on Linux)

    Chmod the new avchat30 folder to 777

    You're done, move to step below

    Now that we've got that out of the way, let's move on to installing the AVChat Video Chat Add-on on xenForo.​
     
  5. مدیر بازنشسته☕

    تاریخ عضویت:
    ‏15/8/17
    ارسال ها:
    5,336
    تشکر شده:
    42,669
    امتیاز دستاورد:
    113
    1.2 Installing the actual AVChat Video Chat Add-on for xenForo
    1. Unpack the avchat3_video_chat_xenforo_addon.zip archive​
    2. From uploads/ folder copy the the videochat/ folder into the root of your xenForo website.​
    3. From uploads/library/ folder copy the the AVChat3VideoChat/ folder into the [your site]/library/.​
    4. Now go to the folder where you unzipped the latest AVChat3 archive and copy all the content from Files to upload to your website to the videochat folder that you just copied​
    5. Chmod the videochat/uploadedFiles folder to 777 (otherwise the upload function might not work)​
    6. Create a new folder tokens (videochat/tokens) and CHMOD it to 777 (otherwise we might have token generation issues later on)​
    7. Login as admin into your forum and go to Admin CP and click Install Add-on from the left menu ​
      [​IMG]
    8. On the following page click Browse, select the file addon-AVChat3VideoChat.xml, you can find it your avchat3_video_chat_xenforo_addon.zip archive, and press Install Add-on
      [​IMG]
      The Add-on will do its installation routine and it will automatically place a link in the forum's Main Menu​
    9. Go to Admin home page and click on Options icon, on the next page search for AVChat 3 Video Chat Options in the list options and click on it. ​
      [​IMG]
    10. On the following page, fill in the "RTMP Connectionstring" field with "rtmp://myFMSserver.com/avchat30/_definst_" where myFMSserver.com is the domain name or ip of the server where your media server is installed. ​
      [​IMG]
    11. Now open the .htaccess file from the root of your xenForo website, find the next line of code (line 28): ​
    12. کد:
      RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
      and replace it with:
      RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt|videochat/|index_popup\.php) - [NC,L]
    13. Click that link in the menu and you will be taken to the login screen of AVChat (first time you will login you will be asked for the license key tough).​
     
  6. مدیر بازنشسته☕

    تاریخ عضویت:
    ‏15/8/17
    ارسال ها:
    5,336
    تشکر شده:
    42,669
    امتیاز دستاورد:
    113
    2. Accessing the AVChat admin interface in xenForo
    By default no user group havs access to the video chat as admin. You will need to configure this permission for each user group.

    To give the access to the admin area of AVChat from where they can ban and kick users, close/delete rooms etc. you need to:
    1. Login as admin and go to Admin CP
    2. Click on Users tab and go to User Group Permissions, from the left side menu.​
    3. Click on a user group you want to give access to the admin area of AVChat (let's say Moderating) ​
      [​IMG]
    4. On the following page search for AVChat 3 Video Chat - User Permissions and you will see the permissions list.​
    5. Click Allow for the question Can access chat as admin
    6. Click Update Permissions at the bottom ​
      [​IMG]
    That's it, you can give anyone admin access.​
     
  7. مدیر بازنشسته☕

    تاریخ عضویت:
    ‏15/8/17
    ارسال ها:
    5,336
    تشکر شده:
    42,669
    امتیاز دستاورد:
    113
    3. Location of AVChat files in a xenForo installation
    All the AVChat Standalone files including language files, audio/video quality profile files, avc_settings.php and, well, everything else are on your xenForo web site in:

    [your site root]/videochat/
     
  8. مدیر بازنشسته☕

    تاریخ عضویت:
    ‏15/8/17
    ارسال ها:
    5,336
    تشکر شده:
    42,669
    امتیاز دستاورد:
    113
    4. Opening up the video chat in a pop up
    By default AVChat 3 is embedded in your xenForo page.

    To open chat in popup window, you need to:
    1. Login as admin and go to Admin CP
    2. Go to Admin home page and click on Options icon, on the next page search for AVChat 3 Video Chat Options in the list options and click on it.​
    3. At Display Mode option select Popup
      [​IMG]
    4. Press Save Changes!​
     
  9. مدیر بازنشسته☕

    تاریخ عضویت:
    ‏15/8/17
    ارسال ها:
    5,336
    تشکر شده:
    42,669
    امتیاز دستاورد:
    113
    5. xenForo's user groups and AVChat
    xenForo ships with user groups: Administrative, Moderating, Registered, Unregistered / Unconfirmed.

    On xenForo to set up different features/limits for each users group you will need to:
    1. Login as admin and go to Admin CP
    2. Click on Users tab and go to User Group Permissions, from the left side menu.​
    3. Click on a user group (let's say Moderating). Then click on AVChat3. On the following page search for AVChat 3 Video Chat - User Permissions and you will see the permissions list: ​
      [​IMG]
    4. Change whatever permissions you want and click Update Permissions
     
  10. مدیر بازنشسته☕

    تاریخ عضویت:
    ‏15/8/17
    ارسال ها:
    5,336
    تشکر شده:
    42,669
    امتیاز دستاورد:
    113
    6. Allowing visitors/guests to join the video chat
    1. Login as admin and go to Admin CP
    2. Click on Users tab and go to User Group Permissions, from the left side menu​
    3. Click on a user group that represents the visitors ( by default should beUnregistered / Unconfirmed)​
    4. On the following page search for AVChat 3 Video Chat - User Permissions and you will see the permissions list​
    5. Click Allow to the permisions that you want to make like : Can access chat:
    6. Click Update Permissions at the bottom​
    Please contact the support team at support@nusofthq.com for further information on this one​