The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
So yeah, I'm not a noob and I'm trying to use a custom profile field on a users profile page but it will not work for me!? Let me mention that I've used custom profile fields before, added them to postbit, and legacy and such. I've added fields to the profile page on vB3 but haven't tried on vB4 until now.
So I've created the custom field, will say it's field19, my code I would need to add is: Code:
<vb:if condition="$post['field19']"> <object width="350" height="275"> <param name="movie" value="http://www.youtube.com/v/{vb:raw post.field19}?version=3&hl=en_US&rel=0"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/{vb:raw post.field19}?version=3&hl=en_US&rel=0" type="application/x-shockwave-flash" width="350" height="275" allowscriptaccess="always" allowfullscreen="true"></embed> </object> </vb:if> Now since I want it in their profiles- there's a couple of places I could add it, to name a few: MEMBERINFO (where ever I'd like it) memberinfo_block_ministats (top or bottom) But when I add the code and go edit the profile field to show (in this case a video), nothing happens. If I remove the code from within the if conditional, box appears but no video. The custom field doesn't get pulled in order to display the video. I just get a embedded youtube page saying no video found. Putting the code back into the conditional statement shows nothing at all, as if the field isn't filled out at all. Yes I know youtube updated their code to iframes, still no luck. In the statement shows nothing, out of the statement shows an iframe of youtube. Do I have to somehow make a custom profile field for global use? Any help would be greatly appreciated. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|