Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 YouTube - Member_Profile
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #10
RE: YouTube - Member_Profile
(12-07-2010 02:40 AM)Imran Wrote:  Is it not working Skiilz ?
It is but zing said that I need to change this code to fix issues.

(12-07-2010 08:23 AM)ZiNgA BuRgA Wrote:  Well, I'm not sure if this is intention, but you're mixing $mybb->user['fid8'] and $userfields['fid8']

Secondly, $userfields['fid8'] is never gone through htmlspecialchars
(and please don't ask what "htmlspecialchars" is - if you care, you can Google it)
It's not intentional. I forgot to change the $mybb->user['fid8'] to $userfields['fid8'].
Here is the code I have on my board...

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

DO I need to change anything to fix the issue?


[Image: 468x602b.png]
12-07-2010 09:26 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: