SMFPT - Suporte e Manutenção de Fórum em Português

SMF 1.1.x (Móbulos Manual) => SMF 1.1.x Módulos Manual => Tópico iniciado por: candidosa2 em 06 de Janeiro de 2008, 07:05

Título: Perfil colocar Youtube Video
Enviado por: candidosa2 em 06 de Janeiro de 2008, 07:05
(http://i211.photobucket.com/albums/bb184/candidosa2/sshot-3-32.png)

Profile.template.php

Pesquisar por   // Show the users signature.

Colocar esse código acima dessa linha

Código: [Seleccione]
// youtube Translate By candidosa2
echo '
</tr>
<tr><td><font color=#FF0000><b>Youtube Video: </b></td>
', !empty($context['member']['options']['ytbizlet']) ? '<td><object width="310" height="230"><param name="movie" value="http://www.youtube.com/v/'.$context['member']['options']['ytbizlet'].'">
</param><param name="wmode" value="transparent">
</param><embed src="http://www.youtube.com/v/'.$context['member']['options']['ytbizlet'].'" type="application/x-shockwave-flash" wmode="transparent" width="310" height="230">
</embed></object>
</td>' : '', '

</tr><tr><td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td> </tr>';

Pesquisar por
Código: [Seleccione]
// Show the standard "Save Settings" profile button.
template_profile_save();

echo '
</table>
</td>
</tr>
</table>';

Depois colocar o codigo acima desa linha

Código: [Seleccione]
// youtube video  Translate by Candidosa2
echo'

<tr><td colspan="2"><hr width="100%" size="1" class="hrcolor" /></td></tr>
<tr>
<td><font color=#FF0000> YouTuBe Link: </b></td> <td><input type="text" name="default_options[ytbizlet]" size="50" value="', @$context['member']['options']['ytbizlet'], '" /></td>
</tr>';


Depois e so ir pra teu perfil ver la o Video....

Ao colocar os video nao precisa colocar o link completo ponha so o código do Youtube