Global Vars

In addition to managing language translations for multilingual websites, the Translator tool also manages global variables.

Open the translator section of the application inside Media Factory and open the var section:


The following table describes each of these variables, and identifies which ones MUST be changed:

variablechange requiredpossible valuesnotes
allowedFiletypesCommentno['1','2','3,'4']Sets the types of files accepted as comments (1=image, 2=video, 3=audio, 4=text)
allowedFiletypesEnterno['1','2','3,'4']Sets the types of files accepted as uploads (1=image, 2=video, 3=audio, 4=text)
anonymousCommentsno'true' or 'false'Determines whether your site will accept anonymous comments
appNameyesThe name of your communitySets the name of the application that is used within the application
channelCommentsyesID of the 'Comments' channel you createdSets the base channel for the comments. If this value isn't changed, the site will break
channelContentyesID of the 'Content' channel you createdSets the base channel for uploads. If this value isn't changed, the site will break
collectionFeaturedyesID of the 'Featured' collection you createdSets the collection used to populate featured content across all groups, including the homepage featured item. Tip: Use a saved search to automate the featured items across your website!
fbConnectno'true' or 'false'Anything other then 'true' will hide all Facebook buttons and information
fblangnoen_USUsed to tell Facebook the language of our site
fbMessageLinknochannelsThis page name is used when directing Facebook users to your channels gallery
fileSizeLimitnoint >0 in MB (default 50)The maximum file size accepted by the uploader. Can be up to 1000MB, but very large files can negatively impact user experience.
file_upload_limitnointegerThe maximum number of files that can be uploaded at once.
galleryGroupFilteryesGroup IDThe ID of the top-level group to be included in the application. All child groups are also included.
groupListSortnosort parameterDetermines how groups are sorted on media details pages. (of approvedmediacount, notdeniedmediacount)
imageResizeUrlLivenohttp://cimg.filemobile.comThe address of the service to fetch resized images. FM support only, do not change.
imageResizeUrlStagingnohttp://mf.staging.filemobile.comThe address of the service to fetch resized images. FM support only, do not change.
langno'en', 'fr', etc...Language code used to tell our application how to render multilingual content
languageToggleyesThe public URLs of your applicationUsed to toggle between languages. Note that the English URL is on the French side, and vice versa.
maxDescriptionLengthnoint > 0Maximum number of characters allowed in the description on /upload
medialistCommentFiletypeno1,2,3,4Types of comments to appear in comment lists
moderationCommentno'approved' or 'notdenied''approved' will only show approved comments, 'notdenied' will show approved and unmoderated comments
moderationGroupsno'approved' or 'notdenied''approved' will only show approved media, 'notdenied' will show approved and unmoderated media
moderationMediano'approved' or 'notdenied''approved' will only show approved groups, 'notdenied' will show approved and unmoderated group
multimediaCommentsno'true' or 'false'Select whether your community will allow multimedia comments
pendingno'true' or 'false'Determines whether users can see their unmoderated content on their own dashboard.
privacyno'true' or 'false'Determines whether users can set their content as hidden.
subChannelUploadyes'true' or 'false'Only valid as false if you are NOT using groups for uploading - this should be set to true in most cases.
shareEmailnono-reply@yourdomain.comWhen people send email to each other from within the contest, this is the "from" address
subChannelUploadno'true' or 'false'If you have entry sub channels you'll want to set this to 'true' so users can choose what category their entries belong to. If you don't have sub channels, leave it set to 'false' so the 'Entries' channel will be automatically chosen
transcoderHDnoint > 0DEPRECATED - This is the transcoder profile ID for HD video. Leave this blank if you don't want to display the SD/HD toggle on /mediadetail
transcoderSDnoint > 0This is the transcoder profile ID for videos. The default is 22, but you can also set up custom transcoder profiles.
transcoderThumbnoint > 0 (default 15)This is the transcoder profile ID for video thumbnails. Change this if you have created a custom transcoder profile for watermarks or other effects.
uploadTonogroupsDetermines whether users are presented with groups or channel upload interface. The default and recommended setting is groups.
webcamCommentno'true' or 'false'Anything other then 'true' will hide the webcam in the comments
webcamUpload *no'true' or 'false'Anything other then 'true' will hide the webcam in the upload

* Caution: Webcam upload is beta only.

Back to Quick Start Guide

0 comments

Be the first to comment on Global Vars.

Add a Comment

  • captcha