Autor Tópico: Link Área (Admin painel ajustáveis)  (Lida 5715 vezes)

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

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Link Área (Admin painel ajustáveis)
« em: 02 de Maio de 2009, 18:16 »



Settings.template.php do teu tema se nao pode ser do default

Pesquisar
Código: [Seleccione]
array(
'id' => 'hide_post_group',
'label' => $txt['hide_post_group'],
'description' => $txt['hide_post_group_desc'],
),

Adicionar
Código: [Seleccione]
array(
'id' => 'link_degis01',
'label' => $txt['link_degis'],
'description' => $txt['link_degis_desc'],
'type' => 'text',
),
array(
'id' => 'link_degis02',
'label' => $txt['link_degiss'],
'type' => 'text',
),
array(
'id' => 'link_degis11',
'label' => $txt['link_degis'],
'description' => $txt['link_degis_desc'],
'type' => 'text',
),
array(
'id' => 'link_degis12',
'label' => $txt['link_degiss'],
'type' => 'text',
),
array(
'id' => 'link_degis21',
'label' => $txt['link_degis'],
'description' => $txt['link_degis_desc'],
'type' => 'text',
),
array(
'id' => 'link_degis22',
'label' => $txt['link_degiss'],
'type' => 'text',
),
array(
'id' => 'link_degis31',
'label' => $txt['link_degis'],
'description' => $txt['link_degis_desc'],
'type' => 'text',
),
array(
'id' => 'link_degis32',
'label' => $txt['link_degiss'],
'type' => 'text',
),
array(
'id' => 'link_degis41',
'label' => $txt['link_degis'],
'description' => $txt['link_degis_desc'],
'type' => 'text',
),
array(
'id' => 'link_degis42',
'label' => $txt['link_degiss'],
'type' => 'text',
),



Settings.portuguese_pt.php  ou Settings.portuguese_brazilian.php
Adicionar
Código: [Seleccione]
// Admin Panelinden Ayarlı Link Değişim Alanı Başlangıcı ------------------ by bayGaReZ  Suporte smfpt.net
$txt['link_degis'] = '<br/><br/><hr/><br/>URL Área:';
$txt['link_degis_desc'] = 'Html Você pode usar.';
$txt['link_degiss'] = 'Área Descrição:';
// Admin Panelinden Ayarlı Link Değişim Alanı Bitişi------------------ by bayGaReZ translate candidosa2



Boardindex.template.php

Pesquisar
Código: [Seleccione]
}

?>

Adicionar por Baixo

[logged]
Código: [Seleccione]
// Admin Panelinden Ayarlı Link Değişim Alanı Başlangıcı ------------------ by bayGaReZ Suporte smfpt.net
echo '
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="71%">
<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="catbg"><span class="smalltext">Link Importantes</td>
</tr>

<tr>
<td valign="middle" align="center" height="10">


<table width="100%" border="0" cellspacing="3" cellpadding="3">
  <tr>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis01'] . '">'. $settings['link_degis02'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis11'] . '">'. $settings['link_degis12'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis21'] . '">'. $settings['link_degis22'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis31'] . '">'. $settings['link_degis32'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis41'] . '">'. $settings['link_degis42'] . '</a>
<br />
</div></td>


  </tr>
</table>

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

// Admin Panelinden Ayarlı Link Değişim Alanı Bitişi------------------ by bayGaReZ translate candidosa2
[/logged]

Offline Amendoim

  • Smfpt em 10%
  • *
  • Mensagens: 228
  • Rank: 0
Re:Link Área (Admin painel ajustáveis)
« Responder #1 em: 03 de Maio de 2009, 01:06 »
É tipo patrocinadores nao é?

vou instalar  wink

Obrigado

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Re:Link Área (Admin painel ajustáveis)
« Responder #2 em: 03 de Maio de 2009, 22:01 »
Sim isso mesmo...
Acho que ajuda..no teu problema

Offline Amendoim

  • Smfpt em 10%
  • *
  • Mensagens: 228
  • Rank: 0
Re:Link Área (Admin painel ajustáveis)
« Responder #3 em: 05 de Maio de 2009, 03:48 »
Bem,

Primeiro onde encontro no painel admin, para personalizar os links?

Depois, ao colocar no board.index, fica tudo muito grande, e os links vao para cima :S

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Re:Link Área (Admin painel ajustáveis)
« Responder #4 em: 05 de Maio de 2009, 04:10 »
tens que ir para admin---Configuração do Fórum -Tema actual (Opções e preferências dos temas )
vai estar ai por baixo


Ponha o print screen para ver como e que fica grande?

Offline Amendoim

  • Smfpt em 10%
  • *
  • Mensagens: 228
  • Rank: 0
Re:Link Área (Admin painel ajustáveis)
« Responder #5 em: 05 de Maio de 2009, 13:59 »
Consegui tudo, no painel admin etc..

Agora, so nao consegui por o codigo no board.index..

Vou por em anexo o board.index, para voçe ver o codigo e tentar me ajustar a ficar a funcionar!

Obrigado desde já..

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Re:Link Área (Admin painel ajustáveis)
« Responder #6 em: 06 de Maio de 2009, 04:38 »
bem esta o teu file de volta testado a funcionar 100%

Offline Amendoim

  • Smfpt em 10%
  • *
  • Mensagens: 228
  • Rank: 0
Re:Link Área (Admin painel ajustáveis)
« Responder #7 em: 06 de Maio de 2009, 14:02 »
Bem, ja tenho quase tudo a funcionar direito, desde ja muito obrigado conseguio e ja esta la em baixo, e é mesmo este que eu quero :D

Agora, falta mesmo so colocar la os links, porque o problema é o seguinte, quando coloco no painel de admin o link e a descrição, ao gravar ele desaparece e nao aparece depois nada no forum :S

Se nao se importar, vou anexar os 3 anexos (menos o board.index que ja esta pronto) para voçe ver se existe algum erro, ja esta mudificado conforme vem no forum..

Obrigado!

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Re:Link Área (Admin painel ajustáveis)
« Responder #8 em: 07 de Maio de 2009, 05:14 »
bem isso era muito simples...
qual e o editor de php que esta a usar..?

no Settings.template.php porque esta duplicado.....no anexo ja esta alterado
pesquisar por
Código: [Seleccione]
array(
'id' => 'link_degis01',
'label' => $txt['link_degis'],
'description' => $txt['link_degis_desc'],
'type' => 'text',
),
array(
'id' => 'link_degis02',
'label' => $txt['link_degiss'],
'type' => 'text',
),
array(
'id' => 'link_degis11',
'label' => $txt['link_degis'],
'description' => $txt['link_degis_desc'],
'type' => 'text',
),
array(
'id' => 'link_degis12',
'label' => $txt['link_degiss'],
'type' => 'text',
),
array(
'id' => 'link_degis21',
'label' => $txt['link_degis'],
'description' => $txt['link_degis_desc'],
'type' => 'text',
),
array(
'id' => 'link_degis22',
'label' => $txt['link_degiss'],
'type' => 'text',
),
array(
'id' => 'link_degis31',
'label' => $txt['link_degis'],
'description' => $txt['link_degis_desc'],
'type' => 'text',
),
array(
'id' => 'link_degis32',
'label' => $txt['link_degiss'],
'type' => 'text',
),
array(
'id' => 'link_degis41',
'label' => $txt['link_degis'],
'description' => $txt['link_degis_desc'],
'type' => 'text',
),
array(
'id' => 'link_degis42',
'label' => $txt['link_degiss'],
'type' => 'text',
),

Offline Amendoim

  • Smfpt em 10%
  • *
  • Mensagens: 228
  • Rank: 0
Re:Link Área (Admin painel ajustáveis)
« Responder #9 em: 07 de Maio de 2009, 12:17 »
A funcionar a 100% candidosa wink

Já era altas horas quando eu tentei mexer e ver o que se passava, e nao consegui ver, distração =/

Bem, uso para editar o "TEditStd", desconheçido mas bom, simples e tem ate cores para ver o funcional ou nao :)


Obrigado mais uma vez..

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5072
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Re:Link Área (Admin painel ajustáveis)
« Responder #10 em: 07 de Maio de 2009, 20:56 »
se puder usar macromedia...era mesmo bom
e mais seguro...podes baixar trial depois mando lhe a chave..

Offline Amendoim

  • Smfpt em 10%
  • *
  • Mensagens: 228
  • Rank: 0
Re:Link Área (Admin painel ajustáveis)
« Responder #11 em: 07 de Maio de 2009, 22:00 »
se puder usar macromedia...era mesmo bom
e mais seguro...podes baixar trial depois mando lhe a chave..


É o que vou fazer wink

Offline joakim

  • Traductor
  • *
  • Mensagens: 67
  • Rank: 0
  • Sexo: Masculino
    • Samora O Forum
Re:Link Área (Admin painel ajustáveis)
« Responder #12 em: 13 de Setembro de 2009, 06:16 »
Bom eu aproveitei esta alteração do candido e montei de outra forma.

Fiz tudo exactamente como ele diz mas coloquei duas vezes o código no Board Index,renomeei os titulos no código e ficou conforme as imagens de meu forum de testes.

Então para fazer isso fazer exacto como diz o candido mas no Boardindex.template.php fazer como a seguir:

pesquisar por:
Código: [Seleccione]
<?php
// Version: 1.1 RC2; BoardIndex

Colocar a seguir:
Código: [Seleccione]
// Admin Panelinden Ayarlı Link Değişim Alanı Başlangıcı ------------------ by bayGaReZ Suporte smfpt.net
echo '
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="71%">
<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="catbg"><span class="smalltext">Patrocinadores do F&oacute;rum</td>
</tr>

<tr>
<td valign="middle" align="center" height="10">


<table width="100%" border="0" cellspacing="3" cellpadding="3">
  <tr>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis01'] . '">'. $settings['link_degis02'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis11'] . '">'. $settings['link_degis12'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis21'] . '">'. $settings['link_degis22'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis31'] . '">'. $settings['link_degis32'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis41'] . '">'. $settings['link_degis42'] . '</a>
<br />
</div></td>


  </tr>
</table>

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

// Admin Panelinden Ayarlı Link Değişim Alanı Bitişi------------------ by bayGaReZ translate candidosa2

Pesquisar por:
Código: [Seleccione]
}

?>

Colocar antes:
Código: [Seleccione]
// Admin Panelinden Ayarlı Link Değişim Alanı Başlangıcı ------------------ by bayGaReZ Suporte smfpt.net
echo '
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="71%">
<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="catbg"><span class="smalltext">Patrocinadores do F&oacute;rum</td>
</tr>

<tr>
<td valign="middle" align="center" height="10">


<table width="100%" border="0" cellspacing="3" cellpadding="3">
  <tr>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis01'] . '">'. $settings['link_degis02'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis11'] . '">'. $settings['link_degis12'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis21'] . '">'. $settings['link_degis22'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis31'] . '">'. $settings['link_degis32'] . '</a>
<br />
</div></td>
    <td width="20%" align="left" valign="top"><div class="smallfont">
<img class="inlineimg" src="Themes/default/images/staradmin.gif" alt="" border="0" />
&nbsp;<a href="'. $settings['link_degis41'] . '">'. $settings['link_degis42'] . '</a>
<br />
</div></td>


  </tr>
</table>

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

// Admin Panelinden Ayarlı Link Değişim Alanı Bitişi------------------ by bayGaReZ translate candidosa2


Resumindo esta alteração colocando estas duas vezes o código é mais apelativa para o patrocinador  wink