Files
Testing/AVChat3/BKPchat/avc_settings.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

759 lines
32 KiB
PHP

<?php
###################### AVChat 3.0 Configuration file, DO NOT EDIT THE NEXT FEW LINES ###
//when tne admin interface, admin.swf will request this file from the http server it will send &admin=true via GET
if (isset($_GET['admin']) && $_GET['admin']=="true"){
//integration_before_admin.php most commonly contains code for integrating with 3rd party cms systems
if (file_exists("integration_before_admin.php")){include("integration_before_admin.php");}
}else{
//integration_before.php most commonly contains code for integrating with 3rd party cms systems
if (file_exists("integration_before.php")){ include("integration_before.php");}
}
/**
//you can get the user id form flash vars through GET
if(isset($_GET["userId"])){
$userId = $_GET["userId"];
}
*/
###################### AVChat 3.0 Configuration file, DO NOT EDIT ABOVE ###
//CHANGE THE BELOW SETTINGS ACCORDING TO YOUR LIKING
//connectionstring:String
//description: the rtmp connection string to the avchat30 application on your media server
//examples: 'rtmp://my-media-server.com/avchat30/_definst_', 'rtmp://xysqdxcq6.rtmphost.com/avchat30/_definst_', 'rtmp://85.204.22.123/avchat30/_definst_'
$avconfig['connectionstring']='';
//emoticonsurl:String
//description: path to the XML file containing the list of emoteicons that will be used in the chat
//defaut: 'emoticons/standardPack/emoticons.xml'
$avconfig['emoticonsurl']='emoticons/standardPack/emoticons.xml';
//languagefile:String
//description: path to the XML file containing words and phrases to be used in the chat interface, use this setting to quickly toggle between languages
//defaut: 'translations/en.xml'
$avconfig['languagefile']='translations/en.xml';
//watermarkForOtherPeoplesStreams:String
//description: path to a png, gif or jpeg file to show over other peoples cameras, this feature has been introduced for blocking users from rebroadcasting other peoples stream using screen sharing software. Use this to put your logo over the video streams.
//defaut: fullStar.png
$avconfig['watermarkForOtherPeoplesStreams']='fullStar.png';
//kickUserAfterThisManySeconds:Number
//description: Number of seconds after which to kick the user from the chat, set to 0 to disable
//defaut: 0
$avconfig['kickUserAfterThisManySeconds']=0;
//kickUserAfterThisManySecondsURL:String
//description: if not empty, the user will be taken to this url when the above time expires, this url can be a register page or an upsell page on your website. If empty a message will be shown instead , this message can be configured in the language file.
//defaut: ''
$avconfig['kickUserAfterThisManySecondsURL']='';
//allowEmailsAndUrlsInUsernames:Number
//description: If users can login using URL's or emails as the username
//values: 0 to disallow, 1 to allow
//default: 1
$avconfig['allowEmailsAndUrlsInUsernames']=1;
//inviteLink:String
//description: path to be shown in the Invite window inside the chat, if left empty (the default), the chat will try to determine the page it sits on automatically
//defaut: "" , which means it will be automatically detected, a process which sometimes fails :(
$avconfig['inviteLink']='';
//disconnectButtonEnabled:Number
//description: If the disconnect/leave chat button should be shown in the upper right corner
//values: 0 for hidden, 1 for visible
//default: 1
$avconfig['disconnectButtonEnabled']=1;
//disconnectButtonLink:String
//description: The user will be taken to this URL when he will press the Leave/Disconnect button in the top right of the chat area. Leaving it empty will make the button disabled if it is visible.
//defaut: "/"
$avconfig['disconnectButtonLink']="/";
//floodControlEnabled:Number
//description: if enabled, after the user sends a message he will have to wait floodControlDelay milliseconds before he can send another message
//values: 0 for disabled, 1 for enabled
//defaut: 1
$avconfig['floodControlEnabled']=1;
//floodControlDelay:Number, milliseconds
//description: if floodControlEnabled=1, after the user sends a message he will have to wait floodControlDelay milliseconds before he can send another message
//defaut: 300
$avconfig['floodControlDelay']=300;
//maxStreams:Number
//description: The maximum number of audio,video or audio+video streams a user can view at once, lower this number to reduce bandwidth usage on your media server
//default: 4
$avconfig['maxStreams']=4;
//allowVideoStreaming:Number
//description: if set to 0, the user will not be able to broadcast his camera if he has one, only his microphone(if allowAudioStreaming=1)
//values: 0 for disabled, 1 for enabled
//defaut: 1
$avconfig['allowVideoStreaming']=1;
//allowAudioStreaming:Number
//description: if set to 0, the user will not be able to broadcast his mic if he has one, only his webcam (if allowVideoStreaming=1)
//values: 0 for disabled, 1 for enabled
//defaut: 1
$avconfig['allowAudioStreaming']=1;
//allowPrivateStreaming
//description: if set to 0, the user will not be able to set his audio/video stream to private so his audio/video stream will be always public
//values: 0 for not allowed, 1 for allowed
//defaut: 1
$avconfig['allowPrivateStreaming']=1;
/// FORMATTING
//formattingEnabled:Number
//description: controls the status (enabled, disabled, hidden) of the bold, italic, underline, color and font buttons are shown. These buttons controll teh formatting of the text chat messages
//values: 0 for disabled, 1 for enabled, 2 for hidden
//defaut: 1
$avconfig['formattingEnabled']=1;
//youTubeVideosEnabled:Number
//description: controls the status (enabled, disabled, hidden) of the YouTube button in the text chat area
//values: 0 for disabled, 1 for enabled, 2 for hidden
//defaut: 1
$avconfig['youTubeVideosEnabled']=1;
//emoteIconsEnabled:Number
//description: controls the status (enabled, disabled, hidden) of the Emoteicon button in the text chat area
//values: 0 for disabled, 1 for enabled, 2 for hidden
//defaut: 1
$avconfig['emoteIconsEnabled']=1; //TODO also controls the display of emoticons
//sendFileToRoomsEnabled:Number
//description: controls the status (enabled, disabled, hidden) of the SEND FILE TO ROOM button in the text chat area
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['sendFileToRoomsEnabled']=1;
//usersListType:String
//description: the type of user list to use
//values: 'small', 'thumbnail', 'smallthumbnail'
//default: 'small'
$avconfig['usersListType']='small';
//allowEmails:Number
//description: if set to 1, emails written in the text chat will become blue mailto: links, if set to 0 they will be censored with ******
//values: 0 for censored, 1 for highlighted
//defaut: 1
$avconfig['allowEmails']=1;
//allowUrls:Number
//description: if set to 1, urls written in the text chat will become blue links, if set to 0 they will be censored with ******
//values: 0 for censored, 1 for highlighted
//defaut: 1
$avconfig['allowUrls']=1;
//displayRoomOwners:Number
//description: Should the room creators/owners be shown in a separate column in the rooms window
//values: 1 to show them, 0 to hide them
//default: 1
$avconfig['displayRoomOwners']=1;
//showLoginError:Number
//description: when set to 1, as soon as it loads the chat will display an error and 2 buttons, one to register and one to login, the URLS that will be loaded when these buttons will be pressed can be configured below
//values: 1 to show the error, 0 to hide the error
//default: 0
$avconfig['showLoginError']=0;
//loginPageURL:String
//description: when showLoginError=1, a login button shows up, this is the URL that will be loaded by clicking that URL
//default: '/'
$avconfig['loginPageURL']= '/';
//registerPageURL:String
//description: when showLoginError=1, a register button shows up, this is the URL that will be loaded by clicking that URL
//default: '/'
$avconfig['registerPageURL']='/';
//regiserandloginPageFrame:String
//description: in what frame the above 2 urls should be loaded
//default: '_self'
$avconfig['regiserandloginPageFrame']='_self';
//maxUploadFileSize:Number
//description: uploaded file size can not be larger than this value (in bytes) 524288 bytes = 512 Kbytes
//default: 524288
$avconfig['maxUploadFileSize']=524288;
//textChatCharLimit:Number
//description: a text message can not be longer than this value (protection against long spam messages and flooding)
//default: 200
$avconfig['textChatCharLimit']=200;
//buzzButtonEnabled:Number
//description: configures the status (enabled, disabled, hidden) of the button in the side menu for individual users
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['buzzButtonEnabled']=1;
//$secondsBetweenBuzzez:Number
//description: after using the [BUZZ] button , it will be disabled for a few seconds, use this variable to set the amount of seconds between buzzez
//values:0,1,10,etc...
//default:5
$avconfig['secondsBetweenBuzzez']=5;
//sendFileToUserEnabled:Number
//description: configures the status (enabled, diabled, hidden) of the SEND FILE button in the side menu for individual users
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['sendFileToUserEnabled']=1;
//pmEnabled
//description: configures the status (enabled, diabled, hidden) of the PM button in the side menu for individual users. You can also start a PM discussion by double clicking a user, setting pmEnabled to 0 or 2 will prevent double clicking on users opening a pm discussion!
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['pmEnabled']=1;
//toggleRandomColors:Number
//description: set to 0 if you want all users text color to default to black as opposed to each user getting a random color
//values: 0 for black, 1 for random colors
//default: 1
$avconfig['toggleRandomColors']=1;
//$disableGenderSelection:Number
//description: if set to 1, gender options from the login screen are hidden and everyone is considered a male, has no effect on admins
//values:1,0
//default:0
$avconfig['disableGenderSelection']=0;
//joinRoomsEnabled:Number
//description: configures the status (enabled, diabled, hidden) of the JOIN ROOM button in the ROOMS LIST window
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default:1
$avconfig['joinRoomsEnabled']=1;
//maxRoomsOneCanBeIn:Number
//description: the maximum number of rooms a person can be in at any time
//vales: 1,2,5,etc...
//default:4
$avconfig["maxRoomsOneCanBeIn"]=4;
//createRoomsEnabled:Number
//description: configures the status (enabled, diabled, hidden) of the CREATE ROOM button in the ROOMS window
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['createRoomsEnabled']=1;
//$freeVideoTime:Number
//description: the ammount of time (in seconds) that a user can watch other streams in 1 day. Each "day" starts at midnight(00:00:00) and ends at 23:59:59 the same day, based on the clock of the users computer. Set to -1 to disable. If changed, the countdown on the users computer will reset to the new value when refreshing the chat!
//values:seconds
//default:3600 seconds = 1 hour
$avconfig['freeVideoTime']=3600;
//backgroundImageAlpha:Number
//backgroundImageAlpha: the opacity level of the background image, set to 100 for a non transparent background image, set to 0 for a fully transparent background image
//values:0 to 100
//default:20
$avconfig['backgroundImageAlpha']=20;
//backgroundImageUrl:String
//description: the URl to a jpeg, gif, png image or a swf animation to be shown as the background of the chat, the file needs to be on the same exact (sub)domain as the swf file
//default:'pattern_061.gif'
$avconfig['backgroundImageUrl']='pattern_061.gif';
//profileUrl:String
//description: the (full) URL to the users profile
//description: if the profileKey var below is set to 'siteId' or 'username' the siteId OR username vars will be added to the end of this string
//examles: http://www.mysite.com/profile.php?username=naicu. http://mysite.com/viewprofile.php?id=123, etc...
//default:''
$avconfig['profileUrl']='';
//profileKey:String (DEPRECATED)
//description: this was used to build to build the actual profile url from profileUrl+siteId OR depending of the value of profileKey profileUrl+siteId
//description: when empty it means nothing is added to profileUrl above
//why its deprectated: because you can now specify the full profile url in profileUrl
//values: '','username', 'siteId'
//default: ''
$avconfig['profileKey']='';
//siteId:String or Number (DEPRECATED)
//description: the id of the logged in user inside the website/cms, this variable WAS used for buildiong the profile URl for the user if the profileKey was set to "siteId"
//why its deprectated: because you can now specify the full profile url in profileUrl
//default:''
$avconfig['siteId']='';
//coupleGenderEnabled:Number
//description: if set to 0, the couple gender will not be visible anymore in the login window
//values: 1 to show the couple option, 0 to hide it
//default: 1
$avconfig['coupleGenderEnabled']=1;
//inviteEnabled:Number
//description: configures the status (enabled, diabled, hidden) of the INVITE button in the top bar
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['inviteEnabled']=1;
//roomsListEnabled:Number
//description: configures the status (enabled, diabled, hidden) of the ROOMS button in the top bar
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['roomsListEnabled']=1;
//dropInRoom:String
//Use the interface administration window to see what ids each room has, then come back here and paste that id here. If left empty the rooms list window will be shown automatically after login
//default:''
$avconfig['dropInRoom']='';
//$miccamsettingsurl:String
//description: relative path to the .xml file containing the audio and video encoding settings. Use it to give some users the ability to send higher quality video than others.
//default:\audio_video_quality_profiles/256k_high_motion_low_picture_quality.xml'
$avconfig['miccamsettingsurl']='audio_video_quality_profiles/512k_high_motion_medium_picture_quality_high_sound_quality.xml';
//automaticallyReduceBandwidthUsage
//description: when active a users video and audio data will not be sent to the video server unless someone is watching that user. This way a lot of bandiwdth is saved on the video server.
//values: 0 for disabled, 1 for enabled
//default: 1
$avconfig['automaticallyReduceBandwidthUsage']=1;
//$historyLength:Number
//description: when joining a room, the last X messages sent in that room are shown, this variable controls how many are shown
//values: 0,20,40,etc...
//default:20
$avconfig['historyLength']=20;
//$autostartCameras:Number
//description: if set to 1 as soon as a person starts his webcam, all the other persons logged in will start viewing it, also if set to 1 , when you log in all the avaialable PUBLIC cameras will start playing. Set to 1 for coneference scenarios
//values: 0,1
//default:0
$avconfig['autoStartCameras']=0;
//autoStartMyCamera:Number
//description: if set to 2, when a user has a webcam, immediatley after joining the first room, his camera will start broadcasting (the mic will start muted if the user has one)
//description: if set to 1, when a user has a webcam/microphone, immediatley after joining the first room, his camera/mic will start broadcasting,
//description: if set to 0, the user will have to press the "Start my camera/mic" buttons to start it . This setting also takes into consideration the allowAudioStreaming and allowVideoStreaming variables
//values 0,1,2
//default:0
$avconfig['autoStartMyCamera']=0;
//autoStartMyCamAndMicOnlyIfIHaveACam:Number
//description: if autoStartMyCamera=1 and autoStartMyCamAndMicOnlyIfIHaveACam=1 you will start broadasting only if you have a webcam (because everyone has sound cards and Flah Player does not detect if you have a mic it detects if you have a sound card), only has effect if autoStartMyCamera=1
//values 0,1
//default:1
$avconfig['autoStartMyCamAndMicOnlyIfIHaveACam']=1;
//usnmaxchars:Number
//description: the maximum numbers of characters a username can have
//defalt: 64
$avconfig['usnmaxchars']=64;
//usnminchars:Number
//description: the minimum numbers of characters a username must have, if you provide 0 or a negative value it will default to 1
//defalt: 3
$avconfig['usnminchars']=3;
//changegender:Number
//description: allows or denies a user the ability to modify his gender in the log in screen in the chat
//values: 0 for disabled,1 for enabled
//default: 1
$avconfig['changegender']=1;
//changeuser:Boolean
//description: allows or denies a user to edit his nickname in the username input box from the log in screen in the chat
//values: 0 for disabled,1 for enabled
//default: 1
$avconfig['changeuser']=1;
//username:String
//description: the default username to be used in the username input box from the log in screen in the chat
//default:''
$avconfig['username']='';
//gender:String
//description: the default gender to be used in the gender radio buttons set from the log in screen in in the chat, the admin and hidden ones are only available for the administration interface (admin.swf)
//values: '', 'male', 'female', 'couple', 'admin','hidden'
//default selected: '' means male for user interface, admin for admin interface
$avconfig['gender']='';
//thumbnailUrl:String
//description: relative or absolute path to the avatar of the logged in user, is only used when the usersListType variable is set to 'thumbnail' mode
//default selected: ''
$avconfig['thumbnailUrl']='';
//applyLanguageFilter:Number
//description: if set to 1, all words present in the badwords.xml will be filtered out from the text chat before they are displayed
//values: 0 for disabled, 1 for enabled
//default: 1
$avconfig['applyLanguageFilter']=1;
//ADMIN FUNCTIONS
//adminCanDeleteRooms:Number
//description: configures the status (enabled, diabled, hidden) of the DELETE ROOM button in the ROOMS LIST window
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default:1
$avconfig['adminCanDeleteRooms']=1;
//adminCanBan:Number
//description: configures the status (enabled, disabled, hidden) of the BAN button in the user side menu window and the ADD BAN button in the BANS LIST window
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['adminCanBan']=1;
//adminCanRemoveBan:Number
//description: configures the status (enabled, diabled, hidden) of the REMOVE BAN button in the BANS LIST window
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['adminCanRemoveBan']=1;
//adminCanKick:Number
//description: configures the status (enabled, diabled, hidden) of the KICK button in the user side menu window
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['adminCanKick']=1;
//hiddenGenderEnabled:Number
//description: if set to 0 the admin will not be able to login as hidden, the hidden option is never shown in the user interface (index.swf) regardless of this setting
//values: 0 for disabled, 1 for enabled
//default: 1
$avconfig['hiddenGenderEnabled']=1;
//showWhoIsTyping:Number
//description: if set to 0 it will not be shown anymore the who is typing bar in the text chat area
//values: 0 for disabled , 1 for enabled
//default: 1
$avconfig['showWhoIsTyping']=1;
//protectAgainstSpammyMessages
//description: if set to 1, spammy users will be the only ones seeing the spammy messages. If a user sends the same exact text message 5 times for example, he will be the only one seeing the message in the text chat 5 times, everyone else will see the message only 1 time
//values: 0 for disabled , 1 for enabled
//default: 1
$avconfig['protectAgainstSpammyMessages']=1;
//adminCanViewPrivateMessages
//description: can the admin view private PM's exchanged between people?!
//values: 0 for no , 1 for yes
//default:1
$avconfig["adminCanViewPrivateMessages"]=1;
//adminCanViewPrivateStreamsWithoutPermission
//if set to 1, the admins will not need permission from the broadcaster to view private streams
//values: 0 and 1
//default: 1
$avconfig["adminCanViewPrivateStreamsWithoutPermission"]=1;
//jlmessages:Number
//description: the default state of the [show join/leave button] in the text chat area
//values: 0 for unselected (messages will NOT be shown),1 for selected
//default: 1
$avconfig["jlmessages"]=1;
//kbmessages:Number
//description: set to 0 if you do not want the kicked/banned text chat messages to show up in the text chat area
//values: 0,1
//default: 1
$avconfig["kbmessages"]=1;
//fontsize
//description: the size of the font used in the text chat window
//values: 10,11,12,14,etc...
//default: 12
$avconfig["fontsize"]=12;
//camsArePrivateByDefault
//description: if set to 1, when users start their webcams/mics they will be private by default
//values: 1 for true, 0 for false
//default: 0
$avconfig["camsArePrivateByDefault"]=0;
//showImagesInline
//description: when someone posts a URL to an image (or uploads an image to a room/user) that image is shown automatically in the chat
//values: 1 for true, 0 for false
//default: 1
$avconfig["showImagesInline"]=1;
//sideMenusTransparency
//description: controls how transparent the side menus are (side menu for users, webcams, etc...)
//values: from 0 to 100 (100 being fully opaque and 0 fully transparent)
//default: 95
$avconfig["sideMenusTransparency"]=95;
//adminCanAccessSettings:Number
//description: configures the status (enabled, disabled, hidden) of the SETTINGS button in the admin area.
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['adminCanAccessSettings']=1;
//bandwidthChartEnabled
//description: wheater to show or not the bandwidth chart in the status bar
//values: 1 for enabled, 0 for disabled
//default: 1
$avconfig['bandwidthChartEnabled']=1;
//showTimeStampsInTextChat
//description: wheater to show or not the time of the text chat messages in the text chat
//values: 1 for enabled, 0 for diabled
//default: 1
$avconfig['showTimeStampsInTextChat']=1;
//kickURL
//description: url to take users to when they are kciked out of the chat, if left empty a kick message (You have been kicked!) is shown in the chat
//values: any url or empty ("") for no redirection
//default: ""
$avconfig['kickURL']="";
//banURL
//description: url to take users to when they are kciked out of the chat, if left empty a kick message (You have been baned!) is shown in the chat
//values: any url or empty ("") for no redirection
//default: ""
$avconfig['banURL']="";
//windowsCastShadows
//description: set to 0 to disable the shadows cast by the windows inside the video chat
//values: 1 for enabled, 0 for disabled
//default: 1
$avconfig["windowsCastShadows"]=1;
//adminCanJoinPrivateRoomsWithoutPermission
//if set to 1, the admins will not need a password to join private rooms
//values: 0 and 1
//default: 1
$avconfig["adminCanJoinPrivateRoomsWithoutPermission"]=1;
//adminCanViewIps
//if set to 1, the admins will be able to view the Ip of users in th user side menu (when clicking on a user)
//values: 0 and 1
//default: 1
$avconfig["adminCanViewIps"]=1;
//imagePreviewAreaWidthAndHeight
//type:number
//description: the width and height of the preview area in which uploaded images and image urls are reviewed in the text chat area
//values: numbers
//default: 120
$avconfig["imagePreviewAreaWidthAndHeight"]=120;
//adminGenderEnabled:Number
//description: if set to 0 the admin will not be able to login using the admin icon
//values: 0 for disabled, 1 for enabled
//default: 1
$avconfig['adminGenderEnabled']=1;
//adminCanAccessBannPanel:Number
//description: configures the status (enabled, disabled, hidden) of the BANNED IPS button in the admin area at the top right.
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['adminCanAccessBannPanel']=1;
//adminCanViewExtraInfo:Number
//description: if set to 1 the admin will see for each user its ip, flash player version, connection protocol, who the user is watching, siteId provided by this file, the media server internal id for the user and the FMIS nternal id and cid
//values: 0 for false, 1 for true
//default: 1
$avconfig['adminCanViewExtraInfo']=1;
//clickingUsernameDoes:Number
//description:when set to 0, clicking the uderlined username in the text chat will add the username and a comma to the input text filed. When set to 1 clicking it will open his profile page in another browser window.
//values: 0 and 1
//default: 0
//$avconfig['clickingUsernameDoes']=0;
//special notes: this var does not do anything at this time
//adminCanCloseRooms
//description: configures the status (enabled, disabled, hidden) of the CLOSE ROOM button in the admin area.
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig['adminCanCloseRooms']=1;
//adminCanJoinClosedAndFullRooms:Number
//description: if set to 1 be able to join rooms that are closed or full
//values: 0 for false, 1 for true
//default: 1
$avconfig['adminCanJoinClosedAndFullRooms']=1;
//showYTVideosPreview
//description: controls the default state of the [preview images & youtube videos button]
//values: 0 for unselected = previews will not be shown, 1 for selected = previews will be shown
//default: 1
$avconfig['showYTVideosPreview']=1;
//showUserIpInTextChatForAdmins
//description: if set to 1, in the text chat beside each username it will be the users ip
//values: 0 to not show it, 1 to show it
//default: 1
$avconfig['showToAdminsTheUserIpInTextChat']=1;
//showMemoryUsage
//description: if set to 1, in the top left hand side corner a number representing the used RAM memory will show
//values: 0 to not show it, 1 to show it
//default: 0
$avconfig['showMemoryUsage']=0;
//parseEmoteIcons
//description: set to 0 to not show emote icons in the text chat area
//values: 0 to not show them, 1 to show the emote icons in the text chat area
//default: 1
$avconfig['parseEmoteIcons']=1;
//defaultSort
//description: which of the 4 sort options for the users list should be used/selected when starting AVChat 3
//values: "alphanumeric","camsontop","timeonline","gender"
//default:"alphanumeric"
$avconfig['defaultSort']="alphanumeric";
//userBecomesIdleAfterXSeconds
//desc: if the user does not move the mouse inside the video chat flash area for more than X seconds he becomes idle in the users list, set to 0 to disable the idle status, the value is in seconds
//values: 0,15,30,60, any number, the value is in seconds
//default: 60
$avconfig['userBecomesIdleAfterXSeconds']=60;
//downForMaintenance
//description:if active at the start it will post an error message
//values:0 for innactive and 1 for active
//default:0
$avconfig['downForMaintenance']= 0;
//kickAfterIdleTime:Number
//description: the ammount of user idle-time (in seconds) before auto-kick.
//values: as example: 3600 - when user idle time reach 3600 (1 hour) user will be auto-kicked on page with message about auto-kick and button [Enter in chat again], 0 - for disabled (user not auto-kick by idle time)
//default:0
$avconfig['kickAfterIdleTime'] = 0;
//whosTypingPosition
//description:if the whosTyping text should be displayed in up position or down position of the text chat area
//values:0 for up position and 1 for down Position
//default:0
$avconfig['whosTypingPosition']= 0;
//maleImageUrl:String
//description: path to the male icon that will be diplayed if left empty will use the default icon
//default: ""
$avconfig['maleImageUrl']="";
//femaleImageUrl:String
//description: path to the female icon that will be diplayed if left empty will use the default icon
//default: ""
$avconfig['femaleImageUrl']="";
//coupleImageUrl:String
//description: path to the couple icon that will be diplayed if left empty will use the default icon
//default: "";
$avconfig['coupleImageUrl']="";
//rightToLeft:Number
//description: set to 1 for proper RTL support (beta)
//values: 0 for LTR, 1 for RTL 1
//default 0
$avconfig['rightToLeft']=0;
//hideStatusBar:Number
//description:hides the top status bar completely
//values:0 show the bar, 1 hide the bar
//default:0
$avconfig['hideStatusBar']=0;
//usersCanSwitchBetweenPrivateAndPublic:Number
//description: controls weather or not the user can swicth his cam between public and private
//values:0 user can not switch between public and private cam, 1 he can
//default: 1
$avconfig['usersCanSwitchBetweenPrivateAndPublic']=1;
//allowedRooms:Number
//description: controls weather a user can create public ,private or both types of rooms
//values: 0 for when user can create both public and private rooms, 1 for when users can create only private rooms, 2 if you want users to create only public rooms
//default: 0
$avconfig['allowedRooms']=0;
//adminCanEditRooms:Number
//description: configures the status (enabled, diabled, hidden) of the EDIT ROOM button in the ROOMS LIST window
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default:1
$avconfig['adminCanEditRooms']=1;
//ipLookupServiceUrl:String
//description:the url for the service used to lookup the ip addreses for the clients
//default: "http://whatismyipaddress.com/ip/"
$avconfig['ipLookupServiceUrl']= "http://whatismyipaddress.com/ip/";
//autoAddIpToUsername:Number
//description: if the ip sould be added automaticaly to the username
//values: 0 the ip will not be added 1 the ip will be added
//default:0
$avconfig['autoAddIpToUsername']= 0;
//showWhoisBanKickInText:Number
//description:if admin should see the kick/ban/whois menu inside the text area beside each text message
//values : 0 disabled 1 enabled
//default: 0
$avconfig['showWhoisBanKickInText']= 1;
//historyLengthForAdmin:Number
//description: when joining a room, the last X messages sent in that room are shown , this variable controls how many are shown if you are admin
//values: 0,20,40,100..
//default:100
$avconfig['historyLengthForAdmin'] = 100;
//adminCanKickOtherAdmins
//desc: weather or not admins can kick other admins
//values: 0 for no, 1 for yes
//default:0
$avconfig['adminCanKickOtherAdmins'] = 0;
//adminCanBanOtherAdmins
//desc: weather or not admins can ban other admins
//values: 0 for no, 1 for yes
//default:0
$avconfig['adminCanBanOtherAdmins'] = 0;
//adminCanViewHiddenAdmins
//desc: weather or not admins can view hidden admins
//values: 0 for no, 1 for yes
//default:1
$avconfig['adminCanViewHiddenAdmins'] = 1;
//showPreviewButton
//description: configures the status (enabled, disabled, hidden) of the [PREVIEW] button in the text chat area.
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig["showPreviewButton"] = 1;
//showJLButton
//description: configures the status (enabled, disabled, hidden) of the [Show Join/Leave messages] button in the text chat area.
//values: 0 for disabled, 1 for enabled, 2 for hidden
//default: 1
$avconfig["showJLButton"] = 1;
//profileCountryFlag:String
//description: relative or absolute path to the image representing the country flag for the user. The flag will be shown in the users list. If this var is empty no flag will be displayed in the users list.
//examles: http://www.mysite.com/flags/brasil.jpg
//default:''
$avconfig['profileCountryFlag']='';
//upgradeUrl:String
//description: the link to the upgrade page for the site members, the upgrade button is in the top right corner of the user interface, if lieave it empty the upgrade button will not show up.
//examles: http://www.mysite.com/upgrade_link
//default:''
$avconfig['upgradeUrl']='';
//showUserSideMenuOnTextArea
//description: if this is enabeled(set to 1) then when clicking on underlined usernames in the text chat area the user side menu will be shown
//if it is disabled then clicking on the undeliened usernames will add that username to the input text field
//values: 0 for disabled, 1 for enabled
//default: 0
$avconfig["showUserSideMenuOnTextArea"] = 0;
//showLast5ImagesThumbs
//description:if it is enabled(set to 1) it will show on the right side of the text area 5 thumbs containing the last 5 images added in that room
//values : 0 for disabled ,1 for enabled
$avconfig["showLast5ImagesThumbs"] = 0;
##################### DO NOT EDIT BELOW ############################
//integration.php most commonly contains code for integrating with 3rd party cms systems
if (file_exists("integration.php")){ include("integration.php");}
echo 'a=b';//as3 won't allow the var/value air to start with & so we echo some dummy data first
foreach ($avconfig as $key => $value){
echo '&'.$key.'='.urlencode($value);
}
?>