Autor Tópico: inserir SimpleImageShack no quick reply zone.  (Lida 5937 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline joomlamz

  • Fundador
  • *
  • Mensagens: 4265
  • Rank: 4877
  • Sexo: Masculino
  • Joomla!
    • Web Master !
inserir SimpleImageShack no quick reply zone.
« em: 03 de Julho de 2007, 09:42 »
Primeiro tem que instalae SimpleImageShack mod.
Abrir Display.template.php

pesquisar antes

Código: [Seleccione]
', template_enhanced_quick_reply() ,'
<tr>
<td colspan="2">

Adicionar

Código: [Seleccione]
// SimpleImageShack v2.0.3 by Rik - SimpleTweaks.co.nr
$sisframe_width = $modSettings['SimpleImageShack_width'];
$sisframe_height = $modSettings['SimpleImageShack_height'];
$sisframe_txtclr = $modSettings['SimpleImageShack_txtclr'];
$sisframe_uplfld = $modSettings['SimpleImageShack_uplfld'];

if (!empty($modSettings['SimpleImageShack_permis']))
{
if (!empty($modSettings['SimpleImageShack_enable']) && AllowedTo('SimpleImageShack_view'))
echo '<center><iframe src="http://www.imageshack.us/iframe.php?txtcolor='. $sisframe_txtclr. '&type=blank&size='. $sisframe_uplfld. '" scrolling="no" frameborder="0" width="'. $sisframe_width. '" height="'. $sisframe_height. '" allowtransparency="true"> You must have an iframe-compatable browser to view the ImageShack.us upload form.</center></iframe>';
}
else
{
if (!empty($modSettings['SimpleImageShack_enable']))
echo '<iframe src="http://www.imageshack.us/iframe.php?txtcolor='. $sisframe_txtclr. '&type=blank&size='. $sisframe_uplfld. '" scrolling="no" frameborder="0" width="'. $sisframe_width. '" height="'. $sisframe_height. '" allowtransparency="true"> You must have an iframe-compatable browser to view the ImageShack.us upload form.</iframe>';
}
// SimpleImageShack v2.0.3 by Rik - SimpleTweaks.co.nr
Apllic   Alojamentos Profissionais de Moçambique!