Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 YouTube - Member_Profile
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #1
YouTube - Member_Profile
Hey guys, I;m willing to add one custom video to the user profile and m trying to so by using the Template Conditionals Plugin.

Here are the steps I did:
- Added one custom profile field called YouTube video (FID8) the user will imput ONLY the Video ID.

Here is my issue: (Template: Member_Profile)
How do I parse the field to make the url show the video?

HTML Code
1
2
3
4
5
6
7
8
9
10
<if $mybb->user['fid8'] != '' then>
    <div id="YouTube" class="tab_content">
<center><object width="212" height="172">
<param name="movie" value="http://www.youtube.com/v/$mybb->user['fid8']"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/$mybb->user['fid8']" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="212" height="172"></embed>
</object></center>
</div>
<else>
</if>


The http://www.youtube.com/v/$mybb->user['fid8'] will not work.

Thank you.


[Image: 468x602b.png]
12-03-2010 12:37 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
YouTube - Member_Profile - Skiilz - 12-03-2010 12:37 AM
RE: YouTube - Member_Profile - Imran - 12-03-2010, 02:23 AM
RE: YouTube - Member_Profile - Skiilz - 12-03-2010, 07:44 AM
RE: YouTube - Member_Profile - RateU - 12-05-2010, 06:31 AM
RE: YouTube - Member_Profile - Skiilz - 12-05-2010, 10:02 PM
RE: YouTube - Member_Profile - ZiNgA BuRgA - 12-06-2010, 07:58 AM
RE: YouTube - Member_Profile - Skiilz - 12-06-2010, 10:17 PM
RE: YouTube - Member_Profile - Imran - 12-07-2010, 02:40 AM
RE: YouTube - Member_Profile - ZiNgA BuRgA - 12-07-2010, 08:23 AM
RE: YouTube - Member_Profile - Skiilz - 12-07-2010, 09:26 AM
RE: YouTube - Member_Profile - ZiNgA BuRgA - 12-07-2010, 09:41 AM
RE: YouTube - Member_Profile - Skiilz - 12-18-2010, 12:27 AM
RE: YouTube - Member_Profile - RateU - 12-18-2010, 04:08 AM
RE: YouTube - Member_Profile - Skiilz - 12-18-2010, 04:36 AM
RE: YouTube - Member_Profile - RateU - 12-18-2010, 07:05 AM
RE: YouTube - Member_Profile - Skiilz - 12-18-2010, 09:12 AM

 Standard Tools
Forum Jump: