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) Embed-URL Details »» | ||||||||||||||||||||||
Mini YouTube Video in Profile (right side block) Embed-URL
Developer Last Online: Oct 2023
Mini YouTube Video for member profile in (right side block) Embed URL v2.6
(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 URL, 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 URL Description: Put your YouTube URL here. Field Length: 50 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_url.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.. You need to use the link from the Embed code.. Code:
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/7e9wgshS0qI&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/7e9wgshS0qI&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object> Just use the URL, Code:
http://www.youtube.com/v/7e9wgshS0qI&hl=en Then put,,two minute new knight rider preview,,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 |
#72
|
|||
|
|||
Seems like everybody got confuse about FULL URL. For me at first I was thinking that we just copy the full link on the Address bar and paste it and I will automatically replace the http://www.youtube.com/watch to http://www.youtube.com/v/
There's javascript that can replace watch to v |
#73
|
||||
|
||||
Right.. So, installed this product, followed the instructions word for word. Every time I try to see the video, I get the embed code for the title, even though I entered the video's title... and no matter what video I try to embed, and I did check to make sure they were embeddable, I keep getting the "We're Sorry. This Video Is No Longer Available" message.
Help? Please? Pretty please? |
#74
|
||||
|
||||
Quote:
$test = $userinfo[field27]; $youtube = substr_replace($test, "", 0, 31); I`m working on a new version,,that will use actual page URL and no more adding user fields or template editing....Maybe just one template edit...Will see.. Quote:
|
#75
|
||||
|
||||
Hehe... I feel so... yeah.
I mixed up the field number with the display number. All works like a charm now, thank you! |
#76
|
||||
|
||||
I have installed this hack and it works... however with varying results on different browsers.
When using IE all seems fine... but when using firefox the video will only play the video if autoplay is enabled... if not enabled.. i will see the video, but none of the buttons on the player function. any ideas? |
#77
|
||||
|
||||
Do you see the buttons in the Demo ??
I use IE and FF...I can see the buttons with both.. |
#78
|
|||
|
|||
Been working on this for 2 days now with no success, I have everything but the video. edit and changed id and even copy other templets posted and still not working! Had to uninstall.
|
#79
|
||||
|
||||
If you want to reinstall it and give me a link to your site,,,I can help you get it to work..
|
#80
|
|||
|
|||
Quote:
Also loaded your espn mini. That works Great too. Also would like to get that mp3 player! I stuck with it and now was able to setup the mp3 player in members profile. |
#81
|
|||
|
|||
Just Great
Installed, rated, nominated |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|