vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Minitube in Profile - Full URL - Auto Play - (right side block) (https://vborg.vbsupport.ru/showthread.php?t=188522)

xxalexkimxx 08-18-2008 10:00 PM

Minitube in Profile - Full URL - Auto Play - (right side block)
 
================================================== =============
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

Quote:

Originally Posted by TheProphet (Post 1602098)
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,
Code:

<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

Quote:

Originally Posted by stangger5 (Post 1602232)
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,
Code:

<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

Quote:

Originally Posted by Barakat (Post 1602749)
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


All times are GMT. The time now is 11:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01066 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete