User Tools

Site Tools


youtube_profile_field

YouTube Profile Field Mod

The mod allows users to include/embed a YouTube video in their profile.

Installation

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.

Step 2. Then create a name for the category, such as My Video for example.

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.

Step 4. Set the label and category options and add some help text, then save.

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.txt · Last modified: 2016/11/23 21:38 by admin