PDA

View Full Version : Profile Enhancements - Minitube in Profile - Full URL - Auto Play - (right side block)


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

TheProphet
08-19-2008, 06:34 AM
Looks nice, i saw your collapse wasn't working. ;) .

xxalexkimxx
08-19-2008, 06:58 AM
Looks nice, i saw your collapse wasn't working. ;) .

hehe yeah
anyway to make it work?

stangger5
08-19-2008, 11:31 AM
I dont like seeing your site banner in every video...

You need to redo your links too...
Every link is still pointing back to your site..

See,
<script type="text/javascript" src="http://www.khmerfun.net/mediaplayer/swfobject.js"></script>

Not bad,,just need to clean it up...;)

I`m working on a new youtube,,plus other videos for you profile useing actual page URL without making the user fields and all the template editing...

At the most just one template edit...:rolleyes:

xxalexkimxx
08-19-2008, 07:40 PM
I dont like seeing your site banner in every video...

You need to redo your links too...
Every link is still pointing back to your site..

See,
<script type="text/javascript" src="http://www.khmerfun.net/mediaplayer/swfobject.js"></script>

Not bad,,just need to clean it up...;)

I`m working on a new youtube,,plus other videos for you profile useing actual page URL without making the user fields and all the template editing...

At the most just one template edit...:rolleyes:

Oh the watermark is working on my site only.
The zip files should contain swfobject.js so you just upload it to your server and change the folder name that's it.

Barakat
08-20-2008, 01:42 AM
works very nice .... thanks

xxalexkimxx
08-20-2008, 05:28 AM
works very nice .... thanks

Cool, i'm glad it works for ya.

Hornstar
08-20-2008, 08:34 PM
Thanks, hopefully this wont lag down the pageload much.

yotsume
08-31-2008, 01:49 PM
Anyway to not have this auto play?

xxalexkimxx
09-15-2008, 11:13 PM
Yes you can, you can go to edit template and change autoplay=1 to autoplay=0

Forumi Shqiptar
04-01-2009, 05:23 AM
is this mod going to be released for 3.8 version?