User Tools

Site Tools


youtube_profile_field

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
youtube_profile_field [2014/03/31 19:04]
admin created
youtube_profile_field [2018/03/18 20:28] (current)
admin [Installation]
Line 1: Line 1:
-hello+===== YouTube Profile Field Mod ===== 
 + 
 + 
 + 
 +The mod allows users to include/​embed a YouTube video in their profile.\\ 
 + 
 +===== Installation ===== 
 + 
 +You can skip this step if you have installed Etano version 2.6 or higher as this profile field mod is already included. 
 + 
 +1. Download the **field_youtube-1.00.zip** package from the Etano Downloads Repository and upload it to your "​**tmp/​packages**"​ folder, be sure **NOT** to unzip it, the package manger will handle that.\\ 
 +2. In your admin panel go to the **Package Manager** page. You should see the addon listed there with an "​**install**"​ link next to it.\\ 
 +3. Click on install and follow the instructions if any. 
 + 
 +===== Setup ===== 
 + 
 +You can either create a new profile category for your YouTube video, or you can add it to an existing category such as the "Basic Info" for example. If you are going to add it to an existing category you can skip steps 1 and 2. 
 + 
 +**Step 1**. In the **Admin** go to the **Profile Categories** page and click the "**Add new**" link.\\  
 +{{:​profile_cat_1.png}} 
 + 
 +**Step 2**. Then create a name for the category, such as **My Video** for example.\\  
 +{{:​profile_cat_2.png}} 
 + 
 +**Step 3**. In the **Admin** go to the **Profile Fields** page and in the "Add a new field" drop down list select the **YouTube** profile field type and click the "​**add**"​ link.\\  
 +{{:​profile_fieldtype.png}} 
 + 
 +**Step 4**. Set the label and category options and add some help text, then save.\\ 
 +{{:​profile_fieldtype_2.png}} 
 + 
 +**Step 5**. Click on the link at top to regenerate the profile fields cache.\\ 
 +{{:​regenerate_fields.jpg}}\\ 
 + 
 + 
 +Once you have setup and included this addon in the admin profile fields section, then in the field provided in the user's profile manager they can simply enter either the "​SHARE"​ link code or the "​URL"​ link for the YouTube video and the mod will take care of creating the required embed code. Don't forget to include Help Text for Users that says something like .... //Simply include either the SHARE link code or the URL link for the YouTube video.// 
 + 
 + 
 +**NOTE** - if you have problems installing a profile field via the package manager, you can also manually install it by unzipping the file on your computer and then find and upload the **09field_youtube.class** file to the ... **/​includes/​classes/​fields/​** ... folder on your server. 
 + 
 +Also use the manual method if upgrading the YouTube mod. Once installed you should regenerate your skin. 
youtube_profile_field.1396292680.txt.gz · Last modified: 2014/03/31 19:04 by admin