Помогите настроить данный хак, все настроил по инструкции.
Когда захожу в профиль, то ничего вообще не грузится, белый экран.
Если хак отключить, то все грузится.
Инструкция на английском:
Нажми для просмотра
This will put a mini youtube player in members profile,, (left side)..
(New) Version #4
*Fixes autoplay
* Works with "Store CSS Stylesheets as Files" set or not..
*No need to add anything to additional.css..
Options with this version..
*actual youtube url,
*player boarder color,
*player body color,
*auto start,
*change locations,
*usergroup permissions,
*100% XHTML valid,
*no template edits
First create 6 profile fields.
YouTube Title,
YouTube ID,
YouTube Boarder Color,
YouTube Body Color,
YouTube Location,
YouTube Auto Start.
================================================== ==========
admincp >> User Profile Fields >> Add New User Profile Field
1:
Single-Line Text Box
Title: YouTube Title
Description: Put your YouTube Title here.
Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO
Then Save..
Remember the Field number....Example: field5
================================================== ==========
Add anther Profile Field,,
2:
Single-Line Text Box
Title: YouTube ID Link
Description: Put your Actual YouTube Link here.
Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO
Then Save..
Remember the Field number....Example: field6
================================================== ==========
Add anther Profile Field
3:
Single-Line Text Box
Title: Youtube Boarder Color
Description:
Change Youtube boarder color here..
<br />
<b>Example</b>: 559944
Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO
Then Save..
Remember the Field number....Example: field7
================================================== ==========
Add anther Profile Field,,
4:
Single-Line Text Box
Title: Youtube Body Color
Description:
Change Youtube body color here..
<br />
<b>Example</b>: 007744
Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO
Then Save..
Remember the Field number....Example: field8
================================================== ==========
Add anther Profile Field,,
5:
Single-Selection Radio Buttons
Title: YouTube Auto Start
Description: This option will auto start the youtube player..
Options:
Yes
No
Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO
Then Save..
Remember the Field number....Example: field9
================================================== ==========
Add anther Profile Field,,
6:
Single-Selection Menu
Title: Youtube Location
Description: You can change your Youtube player location here..
Options:
show_first
under_stats
under_friends
under_albums
under_groups
show_last
Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO
Then Save..
Remember the Field number....Example: field10
================================================== ==========
Remember to look at the Field name and NOT the field Order
When adding the fields in the admincp,,you need the field name and the number..
Like this:
Place the custom profile field number for the Youtube Title. [ field5]
================================================== ==========
Import the plugin..
admin >> Plugins & Products >> [Add/Import Product] and import
product-youtube_profile_v3 file..
================================================== ==========
Go to : admincp >> Settings >> Options: Mini Youtube for member profile
Fill in all the profiles you just created..
================================================== ==========
Go to your Settings >> Edit your Details: and fill in the Youtube info..
Thats it !!
Ссылки на хак:
mini_youtube_profile_vb4_3
mini_youtube_profile_vb4_4
По идеи этот хак добавляет в личном кабинете блок, в котором будет проигрываться выбранное вами видео с ютубе.