xxalexkimxx
08-18-2008, 10:00 PM
================================================== =============
Minitube in Profile - Full URL - Auto Play - (right side block)
by Alex Kim
Demo: http://www.khmerfun.net/alexkim.html
================================================== =============
Welcome friends
The ideas was from
Mini YouTube Video in Profile (right side block) Embed-URL https://vborg.vbsupport.ru/showthread.php?t=171969
stannger5 was created this and I just modified to make it work as I want to be which is Autoplay and Full URL.
Hope you guys enjoy!!!!!
================================================== =============
Step 1:
================================================== =============
Go to Admincp:
User Profile Fields >> Add New User Profile Field
Profile Field Type: Single-Line Text Box
Title: YouTube URL
Descriptions: Put your YouTube link here.
Field Length: 50
Private Field: No
Save it
****Remember your field id number******
My field id number is field10 for this one, it might be different from yours.
****Remember your field id number******
================================================== =============
Step 2:
================================================== =============
Go to Admincp:
User Profile Fields >> Add New User Profile Field
Profile Field Type: Single-Line Text Box
Title: YouTube Title
Descriptions: Put your YouTube Title here.
Field Length: 100
Private Field: No
Save it
****Remember your field id number******
My field id number is field11 for this one, it might be different from yours.
****Remember your field id number******
================================================== =============
Step 3: Files upload
================================================== =============
Upload swfobject.js and mediaplayer.swf to minitube. Please create a folder name minitube.
Mine is http://www.khmerfun.net/minitube/swfobject.js
================================================== =============
Step 4:
================================================== =============
Import the plugin..
admin >> Plugins & Products >> [Add/Import Product] and import
youtube_member_profile_url.xml file..
================================================== =============
Step 5:
================================================== =============
Edit: Styles & Templates >> Member Info Templates >> MEMBERINFO
Look for:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Put $blocks[youtube] anywhere in there..
I have mine arter $blocks[friends_mini]..
Like this,,
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[youtube]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Edit: Styles & Templates >> Member Info Templates >> memberinfo_block_youtube
Please remember to go there and change the field id #
Find:
$userinfo[field10]
replace 10 to your field id you just created on step 1. This is the YouTube URL.
Find:
$userinfo[field11]
replace 11 to your field id you just created on step 2. This is the YouTube Title.
================================================== ============
Step 6:
================================================== ============
Done :-)
I hope you guys understand the tutorial. I'm not a coder or anything I just tried my best to make this work.
Thanks to stannger5 - Mini YouTube Video in Profile (right side block) Embed-URL https://vborg.vbsupport.ru/showthread.php?t=171969
Minitube in Profile - Full URL - Auto Play - (right side block)
by Alex Kim
Demo: http://www.khmerfun.net/alexkim.html
================================================== =============
Welcome friends
The ideas was from
Mini YouTube Video in Profile (right side block) Embed-URL https://vborg.vbsupport.ru/showthread.php?t=171969
stannger5 was created this and I just modified to make it work as I want to be which is Autoplay and Full URL.
Hope you guys enjoy!!!!!
================================================== =============
Step 1:
================================================== =============
Go to Admincp:
User Profile Fields >> Add New User Profile Field
Profile Field Type: Single-Line Text Box
Title: YouTube URL
Descriptions: Put your YouTube link here.
Field Length: 50
Private Field: No
Save it
****Remember your field id number******
My field id number is field10 for this one, it might be different from yours.
****Remember your field id number******
================================================== =============
Step 2:
================================================== =============
Go to Admincp:
User Profile Fields >> Add New User Profile Field
Profile Field Type: Single-Line Text Box
Title: YouTube Title
Descriptions: Put your YouTube Title here.
Field Length: 100
Private Field: No
Save it
****Remember your field id number******
My field id number is field11 for this one, it might be different from yours.
****Remember your field id number******
================================================== =============
Step 3: Files upload
================================================== =============
Upload swfobject.js and mediaplayer.swf to minitube. Please create a folder name minitube.
Mine is http://www.khmerfun.net/minitube/swfobject.js
================================================== =============
Step 4:
================================================== =============
Import the plugin..
admin >> Plugins & Products >> [Add/Import Product] and import
youtube_member_profile_url.xml file..
================================================== =============
Step 5:
================================================== =============
Edit: Styles & Templates >> Member Info Templates >> MEMBERINFO
Look for:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Put $blocks[youtube] anywhere in there..
I have mine arter $blocks[friends_mini]..
Like this,,
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[youtube]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Edit: Styles & Templates >> Member Info Templates >> memberinfo_block_youtube
Please remember to go there and change the field id #
Find:
$userinfo[field10]
replace 10 to your field id you just created on step 1. This is the YouTube URL.
Find:
$userinfo[field11]
replace 11 to your field id you just created on step 2. This is the YouTube Title.
================================================== ============
Step 6:
================================================== ============
Done :-)
I hope you guys understand the tutorial. I'm not a coder or anything I just tried my best to make this work.
Thanks to stannger5 - Mini YouTube Video in Profile (right side block) Embed-URL https://vborg.vbsupport.ru/showthread.php?t=171969