![]() |
Youtube Video in User Profiles
This has been covered on how to embed it in posts, but here is how you can do it on your user profile pages.
in AdminCP scroll down to "User Profile Fields" and Add New User Profile Field. Choose Single Line Text Box Title: You Tube Video #1 Description: Add the last part of the youtube url after the ?v=ngWb3oyUSow ie just the <b>ngWb3oyUSow</b part default value - leave it blank max length 100 display size 100 Up to you to have the field searchable and required. I say no though. Now edit memberinfo template. Add this code. anywhere you want. Code:
<if condition="$userinfo[field88]"> Example URL: http://www.sromagazine.com/members/ryans |
I added this (thanks!) and it works well, except the video id number shows up under Additional Information, in addition to the embedded video. I've checked and made sure that custom fields are disabled under User Listing & Profile Viewing, but the id number is still showing up. How did you disable it on your demo site?
|
please pm me your site so I can take a quick look.
|
isnt there a way to just add the complete url instead of taking a part of it?
|
I'm a bit lost on it to. Does it allow the members to set there own video?
|
Did just what you posted......it doesn't work. :down:
|
All times are GMT. The time now is 05:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|