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 |
#42
|
|||
|
|||
The difference is brother the members are using the instructions to get a video from YouTube and use the URL and paste it into the blank space slotted for it. Not add code to the end of the code they just copied. Now the next issue is copying code for it to auto play. It don't work either. I tried another 10 videos with the theroy of adding the =en to make it work. Didn't work.
I have to get back to work. I will wait until this mod is debugged. I don't seem to be helping you but making it worse. Thanks for the efforts though. I do appreciate it. |
#43
|
||||
|
||||
Theres more then just =en different in the links..
Look at both the links real good... For the Auto-play,,did you ?? Find one $userinfo[fielda] and change the a to the YouTube auto-play field number.. If you tell the members how to get the embed url link.. There shouldnt be any problems... |
#44
|
|||
|
|||
I did everything exact according to your setup. I won't have members doing anything extra. I have AME for embedding YouTube and other media in a post. If it isn't that simple I won't install it. I have enough trouble with making tutuorials with pictures for members that don't even understand them much less doing that with code. Most don't even understand how BBCode works. Again. Thanks for the efforts.
|
#45
|
||||
|
||||
Installed. Works fine for me! Thanks!
|
#46
|
|||
|
|||
Anyone have this working for 3.7 RC2?
Thanks in advance! -Dave |
#47
|
|||
|
|||
just a blank box for me.
|
#48
|
||||
|
||||
Quote:
Make sure your useing the url from inside the embed code...Not the page url.. |
#49
|
|||
|
|||
stangger5, if even the guys who installed your addon doesn't know how to deal with it, why don't you change your addon into a "normal-url-use" addon?
i got no problem using it. im not as dumb as the other dudes in here XD *jk* but for the users it would be better if they don't have to copy and paste and cut codes xD edit: big respect for your work and time you put in there edit2: my users are too dumb for that xD they copy and paste the entire embed code or the normal url *facepalm* |
#50
|
||||
|
||||
Great MOD.
We have done a tutorial for NOOBS. Okies, this is fairly easy, but please read the instructions. 1. click UserCP ( User Control Panel ) 2. 3. Navigate to bottom of PAGE 4.Now open Youtube. Get the video you want, but dont copy the URL. Instead goto the EMBED box, and copy the code. 5. Now open Notepad. Paste the embed details in there. 6. Copy the URL. leave the =en out of it. Go to your Control Panel, and add the details. 7. Add the Copied URL in the first Box. Add a title etc. in second box, and in the third box put &autoplay=1 to play when profile is opened, or &autoplay=0 to not make it Auto Play Have Fun. If you rate this tutorial, and use it. Then say THANKS ! Or see www.yobromofo.com/forum |
#51
|
|||
|
|||
Hi stangger5
Thanks for the hack :up: (in 2 weeks many of my User use it but my User ask is it possible to ad more that one Video? So the Videos play?in random mode? Maby with multi line text box? (sorry for my bad english) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|