re: Problemas al instalar el Mini YouTube Video in Profile
Buena idea, gracias!
Import the plugin..
Listo!
admin >> Plugins & Products >> [Add/Import Product] and import
youtube_member_profile_url.xml file..
============================================================
Edit two templates.
aca quede:$
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,,
Code:
************
************
************
************
Put
$blocks[youtube] anywhere in there..
I have mine arter $blocks[friends_mini]..
Like this,,
Code:
************
************
************
************
================================================================
Go to youtube dot com,,find the video you want..
You need to use the link from the Embed code..
Code:
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/7e9wgshS0qI&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/7e9wgshS0qI&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
Just use the URL,
Code:
http://www.youtube.com/v/7e9wgshS0qI&hl=en
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..
Code:
if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))
Like this: ,1 ,2 , 3, 4, 5, 6, 7 ,8 ,9
Imagino que ya has creado los tres campos de perfil ¿no?
Ahora debes editar alguna plantilla:
1. Edita la plantilla memberinfo_block_youtube y busca $userinfo[fieldi] y sustituye la i por la ID del campo de perfil que creaste en primer lugar.
Busca ahora $userinfo[fieldt] y sustituye la t por la ID del segundo campo que creaste, y
Busca $userinfo[fielda] sustituyendo la a por la ID del tercer campo creado.
2. Edita la plantilla MEMBERINFO, busca lo que te indica el primer Code y modificalo para que te quede como en el segundo Code.
Perdona que no incluya aquí el contenido de esos code, pero incumpliría las políticas de vBhispano.
¿Alguna duda mas?, sigue preguntando
Y donde se metió esa plantilla memberino?:O
no la encuentro.
Paciencia conmigo porfa q soy sensible.....Guaaaaaaaaa