View Full Version : Profile Enhancements - Mini YouTube Video in Profile (right side block) Embed-URL
stangger5
03-02-2008, 10:00 PM
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 (http://www.next-level-arcade.com/member.php?u=31)
================================================== ==========
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,,
$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]
================================================== ==============
Go to youtube dot com,,find the video you want..
You need to use the link from the Embed 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,
http://www.youtube.com/v/7e9wgshS0qI&hl=en
in your YouTube URL field..
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..
if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))
Like this: ,1 ,2 , 3, 4, 5, 6, 7 ,8 ,9
================================================== ==============
If you have an older version,,uninstall the plug-in and revert the memberinfo_block_youtube template before installing the newest version..
Enjoy !!
stangger5
:)
stangger5
03-03-2008, 11:39 AM
Since this version uses the URL,,,you can embed YouTube play list..
Go into your YouTube account and use the embed code from your play list..
The play list embed link should look something like this,,
http://www.youtube.com/p/5615C768EE0D3BFC
:)
why not to update your existing thread:
https://vborg.vbsupport.ru/showthread.php?t=169824
:)
SwollenCranium
03-03-2008, 02:17 PM
Since this version uses the URL[/CODE]
:)
I installed following your instructions.
I get a block on my profile that shows NO video.
All edits done as you instructed.
** EDIT**
I got it working ... but is there a way to use it with just a c/p of the URL instead of having to extract the URL from the embed code ?
chatzworld
03-03-2008, 02:22 PM
I installed following your instructions.
I get a block on my profile that shows NO video.
All edits done as you instructed.
i am getting the same :(
chatzworld
03-03-2008, 02:31 PM
installed the other one you hve and working fine :)
stangger5
03-04-2008, 10:28 AM
why not to update your existing thread:
https://vborg.vbsupport.ru/showthread.php?t=169824
:)
Two different hacks...One uses youtube ID and this one uses youtube full URL...
i am getting the same :(
Did you use the link from the embed code ??
If you installed the YouTube ID version first,,uninstall the plug-in and revert the memberinfo_block_youtube template before installing the YouTube full URL version.
furst
03-08-2008, 08:04 AM
Would be nice if we didn't have to use the url from the embed code and could just use the regular url.
Thanks for the hack.
wicked80
03-08-2008, 07:28 PM
I reported this issue in v2.0 as well and since you released this for 3.7.0 beta 5 (the version i am using) i thought it might work. But yet again, i followed your instructions word-by-word and experience the same problem as before. Everything works fine except the video does not show up.Check this link:
http://www.cricfever.com/forum/member.php?u=9233
I need this plugin soooo much, so it would be great if you can help me. I have also checked those usergroups permissions and my registered group id is 2 which you already have included by default,so i dont think that's an issue.
Let me know..thanks
stangger5
03-09-2008, 12:01 PM
I reported this issue in v2.0 as well and since you released this for 3.7.0 beta 5 (the version i am using) i thought it might work. But yet again, i followed your instructions word-by-word and experience the same problem as before. Everything works fine except the video does not show up.Check this link:
http://www.cricfever.com/forum/member.php?u=9233
I need this plugin soooo much, so it would be great if you can help me. I have also checked those usergroups permissions and my registered group id is 2 which you already have included by default,so i dont think that's an issue.
Let me know..thanks
I just registered on your site and it works fine for me..
Look at my profile..
You must be useing the wrong URL..
Are you useing the URL from the embed code ??
This is what I used on your site,,
http://www.youtube.com/v/TZEfsXTRyCw
:)
wicked80
03-09-2008, 04:08 PM
Thanks Stangger,
That worked like a charm but it seems you have a typo in your manual above,check this:
You need to use the link from the Embed code..
URL =
Code:
http://www.youtube.com/watch?v=HhuVgywiO3w
Put
Code:
http://www.youtube.com/watch?v=HhuVgywiO3w
in your YouTube URL field..
So, I think the second URL should be:
http://www.youtube.com/v/HhuVgywiO3w
But thanks a lot and this is such a wonderful mod that it would be hard to miss this one out.One more thing, can the users use the youtube url directly instead of using the url in the embed code???
Thanks
christian8a
03-10-2008, 07:02 AM
Nice but since is for members profiles, this should be easy, just by pasting the URL they see on the top of the page.
They will not go and find what url to put.
Ill wait for your pro release, Im sure you will get it man soon, thanx by the way :up:
stangger5
03-10-2008, 11:27 AM
Thanks Stangger,
That worked like a charm but it seems you have a typo in your manual above,check this:
So, I think the second URL should be:
http://www.youtube.com/v/HhuVgywiO3w
But thanks a lot and this is such a wonderful mod that it would be hard to miss this one out.One more thing, can the users use the youtube url directly instead of using the url in the embed code???
Thanks
I fixed the URL in the manual above...Thanks for pointing that out..;)
Nice but since is for members profiles, this should be easy, just by pasting the URL they see on the top of the page.
They will not go and find what url to put.
Ill wait for your pro release, Im sure you will get it man soon, thanx by the way :up:
This will only work by useing the embed URL...
Pro release ???? :confused:
christian8a
03-10-2008, 04:14 PM
Well not actuallly the pro release, I think is good enough now, but just that URL, the same way "anymedia" hack works, so members dont get confused on wich url to type
Khalid-B
03-10-2008, 04:55 PM
thanks . working fine...
Greek76
03-10-2008, 09:05 PM
To difficult for a user to sit their copy and paste embed url code and edit the link aswell to work. Why not just make so all they have to do is post the url? Im sure you will get a lot more downloads. Alot easier for members on forums. Thanks
stangger5
03-10-2008, 10:28 PM
It will only work with the embed URL code..
There is no way to make it work useing the page URL..
Alfa1
03-11-2008, 04:35 PM
Please consider adding support for other sites like liveleak, dailymotion, googlevideo as well.
forumrunt
03-13-2008, 04:34 PM
I have a custom theme and I cant find 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]
Is there any other way to do this?
stangger5
03-13-2008, 04:50 PM
Are you useing vb 3.7 ??
Styles & Templates >> Member Info Templates >> MEMBERINFO
Its at the bottom of the MEMBERINFO template..
forumrunt
03-13-2008, 06:36 PM
no that would explain it LOL I will wait until I upgrade thanks
stangger5
03-18-2008, 11:05 AM
Please consider adding support for other sites like liveleak, dailymotion, googlevideo as well.
Any embed URL should work...
I got this from dailymotion..
<div><object width="420" height="257"><param name="movie" value="http://www.dailymotion.com/swf/x4i9tx&v3=1&autoPlay=1&related=0"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/x4i9tx&v3=1&autoPlay=1&related=0" type="application/x-shockwave-flash" width="420" height="257" allowFullScreen="true" allowScriptAccess="always"></embed></object><br /><b><a href="http://www.dailymotion.com/video/x4i9tx_episode-103-2008-naias-sights-and-s_auto">Episode #103 - 2008 NAIAS Sights and Sounds</a></b><br /><i>Uploaded by <a href="http://www.dailymotion.com/chhonda">chhonda</a></i></div>
all you need is,,
http://www.dailymotion.com/swf/x4i9tx&v3=1&autoPlay=1&related=0
The others should work too..
You`ll need to edit the memberinfo_block_youtube,,where is says YouTube Video to just Videos or something...;)
IRANCITY
03-18-2008, 08:52 PM
Not Work For Me Help Me Plz!!!!!!!!!!!!
IRANCITY
03-18-2008, 08:53 PM
video Cannot LOAD
www.iecloob.net
stangger5
03-19-2008, 10:39 AM
video Cannot LOAD
www.iecloob.net
Do you see the video box ??
maroceve
03-19-2008, 12:23 PM
this stuff should be bundled in next version !!! kicks ass
Kaleem
03-20-2008, 03:14 AM
Its not working for vBulletin 3.7 RC1
NeuroLancer
03-25-2008, 02:26 AM
Its not working for vBulletin 3.7 RC1
yes it is. You mean yours isnt ;)
CrashPush
03-30-2008, 07:34 PM
https://vborg.vbsupport.ru/external/2011/02/1.gif Excellent modification! Thank you very much.
Tom_S
03-30-2008, 09:32 PM
Nope..don't work with RC1..for me.
Tom_S
03-30-2008, 09:58 PM
Okay..what I don't get is your Knight Rider clip will play but nothing else. And yes I know how to copy just the url because we do that on one of our sites we have this built into for our blogs with no issues.
stangger5
03-30-2008, 10:43 PM
You have to use the link in the embed code,,not the page url..
Tom_S
03-30-2008, 10:50 PM
I am using
http://www.youtube.com/v/7e9wgshS0qI&hl=en
It don't work...I tried the embed code <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/tCPUnMz_gU8&hl=en"></param><param (http://www.youtube.com/v/tCPUnMz_gU8&hl=en%22%3E%3C/param%3E%3Cparam) name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/tCPUnMz_gU8&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
It don't work. The only thing that worked was "Knight Rider" from here.
Dang it..hit the enter key before I was done.
stangger5
03-30-2008, 10:52 PM
Post a link to a video you want to use..
Tom_S
03-30-2008, 10:56 PM
BTW..the embed code will not fit in there without going back and editing that field to accept that many characters. Also you clearly said if you will scroll back the following:
Just use the URL,
Code:
http://www.youtube.com/v/7e9wgshS0qI&hl=en
in your YouTube URL field..
Tom_S
03-30-2008, 10:57 PM
<a href="https://youtube.com/watch?v=ORzHF2kgqJ4" target="_blank">http://youtube.com/watch?v=ORzHF2kgqJ4</a>
AME embeds that fine within a post
stangger5
03-30-2008, 11:17 PM
You use the url link in the embed code,,not the whole embed code..
The embed code for the link you posted is..
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/ORzHF2kgqJ4&hl=en">
</param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/ORzHF2kgqJ4&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355">
</embed></object>
Just use the url from it..
http://www.youtube.com/v/ORzHF2kgqJ4&hl=en
Tom_S
03-30-2008, 11:18 PM
I am using that as I said. It dont work. The only one it works with is your Knight Rider url from YouTube. I have tried over 50 now.
Tom_S
03-30-2008, 11:22 PM
Okay..that worked when I copied yours but you have the =en on the end of it which is new to me but it is not on there from YouTube which is confusing and will be to the members as well. Is this going to have to be added each time?
stangger5
03-30-2008, 11:35 PM
You find the embed code on the right side below About This Video..
Your link,
http://youtube.com/watch?v=ORzHF2kgqJ4
My link,
http://www.youtube.com/v/ORzHF2kgqJ4&hl=en
See the difference ??
Just make sure you use the one inside the embed code...
Tom_S
03-30-2008, 11:43 PM
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. ;)
stangger5
03-30-2008, 11:56 PM
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...
Tom_S
03-31-2008, 01:12 AM
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.
carrlos
03-31-2008, 03:00 AM
Installed. Works fine for me! Thanks!
SuperDave71
04-02-2008, 05:11 PM
Anyone have this working for 3.7 RC2?
Thanks in advance!
-Dave
forumrunt
04-02-2008, 05:47 PM
just a blank box for me. :(
stangger5
04-03-2008, 06:05 PM
Anyone have this working for 3.7 RC2?
Thanks in advance!
-Dave
Yes this works fine with 3.7 RC2..
just a blank box for me. :(
Make sure your useing the url from inside the embed code...Not the page url..
Oyabun
04-04-2008, 06:03 AM
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*
TimberFloorAu
05-13-2008, 10:50 PM
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.http://www.yobromofo.com/forum/images/edit_your_details.png
3. Navigate to bottom of PAGE
http://www.yobromofo.com/forum/images/edit_youtube_details.png
4.Now open Youtube. Get the video you want, but dont copy the URL. Instead goto the EMBED box, and copy the code.
http://www.yobromofo.com/forum/images/grab_youtube_embed_details.png
5. Now open Notepad. Paste the embed details in there.
http://www.yobromofo.com/forum/images/open_notepad_highlight_url.png
6. Copy the URL. leave the =en out of it. Go to your Control Panel, and add the details.
http://www.yobromofo.com/forum/images/edit_youtube_add_details.png
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
hilfe-forum
05-25-2008, 09:26 PM
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)
tei727
05-30-2008, 01:55 PM
can someone help me with the permissions part? do i put that code in the Add New Install area?
njoker555
06-10-2008, 04:07 PM
great mod, i just installed and it works great so far on three different themes
NannyMin
06-14-2008, 01:52 AM
I'm installed this using vb 3.7.1
Unfortunately, when I installed and then inserted the link & title...it didn't work. There is no box or image of any type?
What am I doing wrong?
Where should I be seeing the video?
Help!
stangger5
06-14-2008, 09:33 AM
I'm installed this using vb 3.7.1
Unfortunately, when I installed and then inserted the link & title...it didn't work. There is no box or image of any type?
What am I doing wrong?
Where should I be seeing the video?
Help!
Did you do step #2 ??
Have a look at the demo..
NannyMin
06-14-2008, 10:17 AM
Yes, I did step #2. However, we are using a customized template so it didn't look the same as your example. I put it where I thought it was as closely matched to what you had. Can you take a look at what I have and let me know? Thanks SO much!
<!-- youtube -->
<if condition="$userinfo[fieldi]">
<div id="youtube" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('youtube')"><img id="collapseimg_youtube" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
<a name="albums"></a>
<span class="block_name">YouTube Video</span>
</h4>
<div class="block_content" id="collapseobj_youtube" style="">
<div class="alt1 smallfont block_row"><if condition="$userinfo[fieldt]">Title: $userinfo[field14]</if></div>
<div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="http://www.youtube.com/v/$userinfo[field13]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$userinfo[field12]$userinfo[fielda]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object>
</div>
</div>
</div>
</if>
<!-- / youtube -->
stangger5
06-14-2008, 07:54 PM
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..
I see you have only edited for one $userinfo[field13] and one $userinfo[field12]
What is your field numbers ??
One for YouTube URL,
one for YouTube title and
one for Auto-play..
NannyMin
06-15-2008, 08:52 PM
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..
I see you have only edited for one $userinfo[field13] and one $userinfo[field12]
What is your field numbers ??
One for YouTube URL,
one for YouTube title and
one for Auto-play..
They are:
YouTube URL- 12
YouTube Title- 13
YouTube Auto-play 14
stangger5
06-16-2008, 10:48 PM
This is what it should look like...
<!-- youtube -->
<if condition="$userinfo[field12]">
<div id="youtube" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('youtube')"><img id="collapseimg_youtube" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
<a name="albums"></a>
<span class="block_name">YouTube Video</span>
</h4>
<div class="block_content" id="collapseobj_youtube" style="">
<div class="alt1 smallfont block_row"><if condition="$userinfo[fieldt]">Title: $userinfo[field13]</if></div>
<div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="http://www.youtube.com/v/$userinfo[field12]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$userinfo[field12]$userinfo[field14]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object>
</div>
</div>
</div>
</if>
<!-- / youtube -->
anarki2009
06-17-2008, 01:55 AM
Installed Thanks!! Work's Great On my site....... http://www.street-rodz.com/member.php?u=1
NannyMin
06-18-2008, 06:33 PM
This is what it should look like...
<!-- youtube -->
<if condition="$userinfo[field12]">
<div id="youtube" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('youtube')"><img id="collapseimg_youtube" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
<a name="albums"></a>
<span class="block_name">YouTube Video</span>
</h4>
<div class="block_content" id="collapseobj_youtube" style="">
<div class="alt1 smallfont block_row"><if condition="$userinfo[fieldt]">Title: $userinfo[field13]</if></div>
<div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="http://www.youtube.com/v/$userinfo[field12]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$userinfo[field12]$userinfo[field14]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object>
</div>
</div>
</div>
</if>
<!-- / youtube -->
It's still not working using this. I do not see a video or any type of box. Help Please!
christian8a
06-18-2008, 06:38 PM
It's still not working using this. I do not see a video or any type of box. Help Please!
should work man, if everything is correct.
The only problem I had, and I didnt see a box before or anything was because I didnt add the autoplay option and put yes first.
I would try deleting that profile field and make a new one and put default to yes.
Here is mine
http://www.myls1.com/member.php?u=1
stangger5
06-18-2008, 07:32 PM
It's still not working using this. I do not see a video or any type of box. Help Please!
Do you mind if I have a look ??
NannyMin
06-18-2008, 08:19 PM
Sure.
RedeemedWarrior
06-19-2008, 10:00 AM
works great
Lift for Life
07-05-2008, 01:09 AM
I've got this plugin working great in two different skin styles in Firefox, however the video drops below the main table when viewed in Explorer. I've played with the main table width with no success.
Can you tell me how to correct this?
Thanks
Lift for Life
07-05-2008, 02:27 AM
Nevermind, just switched the Youtube width to 200 and it now formats correctly in Explorer.
Lift
karlm
07-06-2008, 10:48 PM
a small suggestion if i may...
the main url can be hard-coded into the xml, so why not do that, and then users only need the last part of the url (and thus, don't need to go hunting embedded codes, and so on).
So, eg.
http://www.youtube.com/v/
is hard-coded
and the remaining file element is entered by each user
ORzHF2kgqJ4&hl=en
Would solve a lot of problems and make users lives easier :)
karlm
07-07-2008, 01:31 AM
I hope you don't mind, but here's my suggested edit to this modifcation.
What this does is allows the member to add the youtube file without needing to meddle with the 'embed' function. Instead, they simply need the very last portion of the URL.
So, if the URL is http://www.youtube.com/watch?v=foKKLSGJFxw then any member need only paste the actual file identifier, which is:
foKKLSGJFxw
Whereas previously, they would need to hassle with the embed script, and then manually seek out the embed url:
http://www.youtube.com/v/foKKLSGJFxw
In addition, you may note I have added the &autoplay= function, so now when the member is adding their favourite youtube file, they need to only type 1 for yes, or 0 to not autoplay! Again, much simpler for the member.
Seems like an all-around easier way of doing things for the members of the site.
To use my edit, you'll need to change the memberinfo_block_youtube template in your chosen style:
<!-- youtube -->
<if condition="$userinfo[field9]">
<div id="youtube" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('youtube')"><img id="collapseimg_youtube" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
<a name="albums"></a>
<span class="block_name">YouTube Video</span>
</h4>
<div class="block_content" id="collapseobj_youtube" style="">
<div class="alt1 smallfont block_row"><if condition="$userinfo[field10]">Title: $userinfo[field10]</if></div>
<div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="<embed src="http://www.youtube.com/v/$userinfo[field9]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$userinfo[field9]&autoplay=$userinfo[field11]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object>
</div>
</div>
</div>
</if>
<!-- / youtube -->
For a demonstration of it working, clicky (http://antimisandry.com/marx).
stangger5
07-07-2008, 07:22 AM
I hope you don't mind, but here's my suggested edit to this modifcation.
What this does is allows the member to add the youtube file without needing to meddle with the 'embed' function. Instead, they simply need the very last portion of the URL.
So, if the URL is http://www.youtube.com/watch?v=foKKLSGJFxw then any member need only paste the actual file identifier, which is:
foKKLSGJFxw
I allready made one that uses just the youtube video number..
Its posted here,,Mini YouTube Video in Profile (right side block) (https://vborg.vbsupport.ru/showthread.php?t=169824)
Some members wanted a URL one so I made both..
If you use this one,,the URL one,,,you can use URLs from other video sites...
I allready made one that uses just the youtube video number..
Its posted here,,Mini YouTube Video in Profile (right side block) (https://vborg.vbsupport.ru/showthread.php?t=169824)
Some members wanted a URL one so I made both..
If you use this one,,the URL one,,,you can use URLs from other video sites...
i think i prefer this one...
xxalexkimxx
08-18-2008, 11:21 PM
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
therogueforums
08-19-2008, 10:53 AM
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?
stangger5
08-19-2008, 11:41 AM
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
To make it use the actual page URL,,,all you need to use is;
$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..
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?
Sounds like you mixed up your user field numbers when editing the memberinfo_block_youtube template..
therogueforums
08-19-2008, 08:57 PM
Hehe... I feel so... yeah.
I mixed up the field number with the display number. All works like a charm now, thank you!
CLUB AMPLE
08-21-2008, 07:24 PM
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?
stangger5
08-22-2008, 02:51 AM
Do you see the buttons in the Demo ??
I use IE and FF...I can see the buttons with both..
dave9720
09-01-2008, 04:44 PM
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.
stangger5
09-01-2008, 08:57 PM
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.
If you want to reinstall it and give me a link to your site,,,I can help you get it to work..
dave9720
09-02-2008, 09:05 PM
If you want to reinstall it and give me a link to your site,,,I can help you get it to work..
Took your advice and reinstalled it. Works Great! Problem was that I didn't copy and paste the embeded code from youtube. Thanks Again stangger5:up:
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.:D
goxy63
12-04-2008, 04:36 AM
Just Great
:D
Installed, rated, nominated ;)
nomoreturn
05-17-2009, 08:59 PM
Installed but need help i only saw youtube box in profile there is no video i fill it out url ,title but i can't see video help me to fix it
DsmNikki
05-19-2009, 05:05 AM
Installed Nice Mod :)
nomoreturn
05-20-2009, 09:24 AM
Installed but need help i only saw youtube box in profile there is no video i fill it out url ,title but i can't see video help me to fix it
Any help to fix
stangger5
05-20-2009, 10:12 AM
Any help to fix
Are you useing the link from the Embed code ??
Do not use the page link..
goxy63
05-21-2009, 04:55 PM
My user profiles would look like crap without this
Thanks
And while Iam here ... can we change size of this block as in IE it makes bit trouble for some of my users...block is pushing with left larger blocks and ending at the bottom all together with other right side blocks!?
stangger5
05-24-2009, 02:12 AM
And while Iam here ... can we change size of this block as in IE it makes bit trouble for some of my users...block is pushing with left larger blocks and ending at the bottom all together with other right side blocks!?
I dont get what your asking..
Can you pm me a link to your site..??
compact123
05-24-2009, 01:39 PM
Can you do for Dailymotion.com?
goxy63
05-24-2009, 07:33 PM
@Stengger
Pm on its way
Sorryz for bad english, its just ...
Cheers
ahmedipa
06-06-2009, 04:55 AM
it is so good thank you very much
Romanle
06-21-2009, 06:48 AM
nice!!
mark as installed and thank you :D
ximenavi
06-25-2009, 08:33 PM
I do not understand from : Edit two templates.
I really dislike the fact that you have to have the embed url insted of the browser url, alot.
ill be using the id version untill you make it work with the browser url, its alot easier for my visitors.
princeedward
09-13-2009, 10:56 AM
great and thanks..it works to my vB 3.8.4 here...
;):up:
princeedward
09-13-2009, 11:10 AM
I do not understand from : Edit two templates.hi you have to edit 2 templates....
1:
Go >> admincp >> Styles & Templates >> Member Info Templates >> memberinfo_block_youtube
Find below all in template:
3X $userinfo[fieldi]
2X $userinfo[fieldt]
1X $userinfo[fielda]
$userinfo[fieldi] >> Change the red with YouTube ID field number = sample: $userinfo[field27]
$userinfo[fieldt] >>> Change the red with YouTube Title field number= sample: $userinfo[field28]
$userinfo[fielda] >> Change the red with YouTube Auto-play field number= sample: $userinfo[field29]
================================================== ===
================================================== ===
2:
Go >> admincp >>Edit: Styles & Templates >> Member Info Templates >> MEMBERINFO
Find:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
Put/Insert $blocks[youtube] anywhere in there..
sample:
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[youtube]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
hope this one help you and others too...enjoy your video watching now...
:p:up:
jaderollie
09-17-2009, 11:20 AM
knock me bandie, this is great ;)
oops spoke to soon :(
none of my members can see the videos, i can see them ok
they can see the profiles, but theres no box, or videos to be seen, any help please?
princeedward
09-17-2009, 09:10 PM
knock me bandie, this is great ;)
oops spoke to soon :(
none of my members can see the videos, i can see them ok
they can see the profiles, but theres no box, or videos to be seen, any help please?:p maybe you have to do this also...
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 videos..
if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))
Like this: ,1 ,2 , 3, 4, 5, 6, 7 ,8 ,9
goodluck and best regards :up:
jkcerda
10-23-2009, 04:17 AM
tagged
COL NIL SATIS
10-29-2009, 03:08 PM
brilliant brilliant mod..installed and nominated
PurpleSkull
11-07-2009, 06:34 AM
I hope you don't mind, but here's my suggested edit to this modifcation.
What this does is allows the member to add the youtube file without needing to meddle with the 'embed' function. Instead, they simply need the very last portion of the URL.
So, if the URL is http://www.youtube.com/watch?v=foKKLSGJFxw then any member need only paste the actual file identifier, which is:
foKKLSGJFxw
Whereas previously, they would need to hassle with the embed script, and then manually seek out the embed url:
http://www.youtube.com/v/foKKLSGJFxw
In addition, you may note I have added the &autoplay= function, so now when the member is adding their favourite youtube file, they need to only type 1 for yes, or 0 to not autoplay! Again, much simpler for the member.
Seems like an all-around easier way of doing things for the members of the site.
To use my edit, you'll need to change the memberinfo_block_youtube template in your chosen style:
<!-- youtube -->
<if condition="$userinfo[field9]">
<div id="youtube" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('youtube')"><img id="collapseimg_youtube" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
<a name="albums"></a>
<span class="block_name">YouTube Video</span>
</h4>
<div class="block_content" id="collapseobj_youtube" style="">
<div class="alt1 smallfont block_row"><if condition="$userinfo[field10]">Title: $userinfo[field10]</if></div>
<div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="<embed src="http://www.youtube.com/v/$userinfo[field9]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/$userinfo[field9]&autoplay=$userinfo[field11]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object>
</div>
</div>
</div>
</if>
<!-- / youtube -->
For a demonstration of it working, clicky (http://antimisandry.com/marx).
Thank you very much :D
katie hunter
11-26-2010, 09:01 PM
I tried this addon it is great :0) but it caused server load to spike, is there a way to reduce the load but I might uninstall it.
FreshFroot
01-13-2011, 06:57 AM
people actually have this working for 3.8.6?
Very odd as it doesn't work for me.
EDIT: using purple skills edit above it works great.
Thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.