Autor Tópico: Perfil colocar Youtube Video  (Lida 3090 vezes)

0 Membros e 3 Visitantes estão a ver este tópico.

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Perfil colocar Youtube Video
« em: 06 de Janeiro de 2008, 07:05 »

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