Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Mini YouTube Video in Profile (right side block) Embed-URL Details »
Mini YouTube Video in Profile (right side block) Embed-URL
Mod Version: 2.6, by stangger5 (Coder) stangger5 is offline
Developer Last Online: Aug 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.0 Rating: (14 votes - 4.71 average) Installs: 143
Released: 03 Mar 2008 Last Update: Never Downloads: 729
Supported Uses Plugins Template Edits  

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,,


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Put $blocks[youtube] anywhere in there..
I have mine arter $blocks[friends_mini]..
Like this,,


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

================================================================

Go to youtube dot com,,find the video you want..

You need to use the link from the Embed code..

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Just use the URL,

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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..


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Mini YouTube Video in Profile (right side block) stangger5 vBulletin 3.7 Add-ons 261 04 Oct 2012 21:56
Profile Enhancements Mini ESPN Video in profile (right side block) stangger5 vBulletin 3.7 Add-ons 13 10 Dec 2008 00:25

  #61  
Old 18 Jun 2008, 19:38
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Real name: Chris
Originally Posted by NannyMin View Post
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
__________________
Best looking corvette website!
Corvettes Forum
Reply With Quote
  #62  
Old 18 Jun 2008, 20:32
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Originally Posted by NannyMin View Post
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 ??
__________________
vb ibProArcade: Download Game, Report Game, Daily Game Systems.
40,000+ Flash and HTML5 Games for ibp and v3 arcades, @ next-level-arcade.com
Reply With Quote
  #63  
Old 18 Jun 2008, 21:19
NannyMin's Avatar
NannyMin NannyMin is offline
 
Join Date: May 2008
Sure.
Reply With Quote
  #64  
Old 19 Jun 2008, 11:00
RedeemedWarrior's Avatar
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Real name: Richard R
works great
Reply With Quote
  #65  
Old 05 Jul 2008, 02:09
Lift for Life Lift for Life is offline
 
Join Date: Oct 2006
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
Reply With Quote
  #66  
Old 05 Jul 2008, 03:27
Lift for Life Lift for Life is offline
 
Join Date: Oct 2006
Nevermind, just switched the Youtube width to 200 and it now formats correctly in Explorer.

Lift
Reply With Quote
  #67  
Old 06 Jul 2008, 23:48
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Real name: Karl
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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

is hard-coded
and the remaining file element is entered by each user

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Would solve a lot of problems and make users lives easier
Reply With Quote
  #68  
Old 07 Jul 2008, 02:31
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Real name: Karl
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

For a demonstration of it working, clicky.
Reply With Quote
  #69  
Old 07 Jul 2008, 08:22
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Originally Posted by karlm View Post
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)

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...
__________________
vb ibProArcade: Download Game, Report Game, Daily Game Systems.
40,000+ Flash and HTML5 Games for ibp and v3 arcades, @ next-level-arcade.com
Reply With Quote
  #70  
Old 11 Jul 2008, 10:03
RvG2's Avatar
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Originally Posted by stangger5 View Post
I allready made one that uses just the youtube video number..
Its posted here,,Mini YouTube Video in Profile (right side block)

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...
Reply With Quote
  #71  
Old 19 Aug 2008, 00:21
xxalexkimxx's Avatar
xxalexkimxx xxalexkimxx is offline
 
Join Date: Nov 2006
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
Reply With Quote
  #72  
Old 19 Aug 2008, 11:53
therogueforums's Avatar
therogueforums therogueforums is offline
 
Join Date: Mar 2007
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?
__________________

|SWTOR|Guild Recruiting|SWTOR News|Cake
Reply With Quote
  #73  
Old 19 Aug 2008, 12:41
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Originally Posted by xxalexkimxx View Post
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..

Originally Posted by therogueforums View Post
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..
__________________
vb ibProArcade: Download Game, Report Game, Daily Game Systems.
40,000+ Flash and HTML5 Games for ibp and v3 arcades, @ next-level-arcade.com
Reply With Quote
  #74  
Old 19 Aug 2008, 21:57
therogueforums's Avatar
therogueforums therogueforums is offline
 
Join Date: Mar 2007
Hehe... I feel so... yeah.

I mixed up the field number with the display number. All works like a charm now, thank you!
__________________

|SWTOR|Guild Recruiting|SWTOR News|Cake
Reply With Quote
  #75  
Old 21 Aug 2008, 20:24
CLUB AMPLE's Avatar
CLUB AMPLE CLUB AMPLE is offline
 
Join Date: Aug 2008
Works but

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?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:10.

Layout Options | Width: Wide Color: