The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mini YouTube Video in Profile (right side block) Details »» | ||||||||||||||||||||||
Mini YouTube Video in Profile (right side block)
Developer Last Online: Oct 2023
Mini YouTube Video for member profile in right side block v2.1
(New)Added cache_templates,,user group permissions and the option for auto-play... Demo-www.next-level-arcade.com ================================================== ========== First create 3 profile fields. One for YouTube ID' one for YouTube title and one for Auto-play.. ================================================== ========== admin >> User Profile Fields >> Add New User Profile Field 1: Single-Line Text Box Title: YouTube ID Description: Put your YouTube ID here. Private Field: Yes Field Searchable on Members List: NO Show on Members List: NO Then Save.. Remember the Field number.. Say the field number is 9,,you will need to change the i in $userinfo[fieldi] to 9 like this,, $userinfo[field9] ================================================== ========== Add anther Profile Field,, 2: 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.. Say the field number is 10,,you will need to change the t in $userinfo[fieldt] to 10 like this,, $userinfo[field10] ================================================== ========== Add anther Profile Field,, 3: Single-Line Text Box Title: YouTube Auto-play Description: Put &autoplay=1 in the input box below,to have it auto-play.. Private Field: Yes Field Searchable on Members List: NO Show on Members List: NO Then Save.. Remember the Field number.. Say the field number is 11,,you will need to change the a in $userinfo[fielda] to 11 like this,, $userinfo[field11] ================================================== ========== Import the plugin.. admin >> Plugins & Products >> [Add/Import Product] and import youtube-member-profile.xml file.. ================================================== ========== Edit two templates. 1: admincp >> Styles & Templates >> Member Info Templates >> memberinfo_block_youtube Find three $userinfo[fieldi] and change the i to the YouTube ID field number.. Find two $userinfo[fieldt] and change the t to the YouTube title field number.. Find one $userinfo[fielda] and change the a to the YouTube auto-play field number.. 2: Edit: Styles & Templates >> Member Info Templates >> MEMBERINFO Look for,, Code:
$blocks[stats_mini] $template_hook[profile_right_mini] $blocks[friends_mini] $blocks[albums] $template_hook[profile_right_album] $blocks[groups] $blocks[visitors] I have mine arter $blocks[friends_mini].. Like this,, Code:
$blocks[stats_mini] $template_hook[profile_right_mini] $blocks[friends_mini] $blocks[youtube] $blocks[albums] $template_hook[profile_right_album] $blocks[groups] $blocks[visitors] Go to youtube dot com,,find the video you want.. Say the link is Code:
http://www.youtube.com/watch?v=HhuVgywiO3w Then put,,Welcome Home Roscoe Jenkins,,in your YouTube title field.. To edit your YouTube fields.. USERCP >> Edit Your Details >> Additional Information ================================================== ============== To edit usergroups,, admincp >> Plugins & Products >> Plugin Manager: Mini right side YouTube for Member Profile Add the usergroup ID,,that you want to be able to use the YouTube vidoes.. Code:
if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7)) ================================================== ============== If you have an older version,,uninstall the plug-in and revert the memberinfo_block_youtube template before installing the newest version.. Enjoy !! stangger5 Show Your Support
|
Comments |
#62
|
||||
|
||||
Quote:
Usercp >> Your Profile >> Edit Your Details.. Scroll to the bottom,,thats where you`ll see,, YouTube ID and YouTube Title.. I added,, YouTube ID : MT8NfZ0jcj4&rel=1 and YouTube Title : bakugan episode 1 part 2 So you can see it works... |
#63
|
||||
|
||||
thanks ^_^
|
#64
|
|||
|
|||
Hi Friends,
I installed the mod and followed all the directions and everything looks to be working fine except that the video does not show up in the profile. The youtube Id and title shows up but below that i just see a blank box and i tried with 2-3 different youtube ids. I am using 3.7.0 beta 5, can someone please see the attached screenshot and help me out. Thanks |
#65
|
||||
|
||||
Quote:
Code:
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/Vv2dkd1ZiO0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/Vv2dkd1ZiO0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object> Code:
Vv2dkd1ZiO0 |
#66
|
|||
|
|||
Thanks Stangger,
Actually i was picking up that id from the Youtube URL but it's the same in the embed link as well.I also tried putting your id i.e "Vv2dkd1ZiO0" but still it does not shows the video. My doubts: 1. Could it be do to some file permissions ?? 2. Do i need to update counters or something ?? Please help. |
#67
|
||||
|
||||
Witch zip file did you download ??
mini youtube in profile (right side block)v2 full url.zip or mini youtube in profile (right side block)v2.zip The info for: mini youtube in profile (right side block)v2 full url.zip is in the zip.. You need to add the full url if useing that one.. If you use: mini youtube in profile (right side block)v2.zip All you need is the ID |
#68
|
|||
|
|||
any thought about this?
Page generated in 0.31901 seconds with 18 queries (1 queries for uncached templates) Uncached templates: memberinfo_block_youtube (1) |
#69
|
||||
|
||||
Quote:
|
#70
|
|||
|
|||
so how do you make it auto start the video????
|
#71
|
|||
|
|||
Add this at the end of the video code: &autoplay=1
I just put a deal in to let people know if they wanted it to autostart. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|