← Sugestões

Mod site do mês

Lida 1934 vezes

Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Bem o mod está pronto, adaptei o Thank You Mod, acho que serve perfeitamente para o que era pedido, Têm agora nos quadros respectivos, uma nova opção no menu para adicionarem a vossa nomeação! Ainda me falta mudar uma opção, que não estou a conseguir encontrar, se a opção para nomear já estiver activa ainda aparece "thank you", vou tentar resolver isso o mais depressa possível, mas tá difícil, se o pessoal que perceber se smf quiser ajudar e dar uma vista de olhos no mod, agradeço!

De qualquer forma já podem adicionar as vossas "nomeações"
Offline

Carlos Gandra 
Administrador
Mensagens 3081 Gostos 97
Feedback +1

Troféus totais: 34
Trófeus: (Ver todos)
Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4

Queres mudar a expressão "Thank you" é? Isso não está no Modifications.blablabla.php?
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Queres mudar a expressão "Thank you" é? Isso não está no Modifications.blablabla.php?

Está no index.portuguese

Supostamente é isto:
Código: [Seleccione]
$txt['d_thank_you'] = 'Nomear para "Site do Mês"';
Código: [Seleccione]
$txt['d_thank_you_lock1'] = 'Fechar Nomeação';
$txt['d_thank_you_lock2'] = 'Abri Nomeação';
$txt['d_thank_you_remove'] = 'Remover Nomeação';
$txt['d_thank_you_remove_warn'] = 'Are you sure you want to remove this Nomeação from the topic?';
$txt['d_thank_you_post'] = 'Thank You very much!!!';
$txt['d_thank_you_add'] = 'Activar "Site do Mês"';
$txt['d_thank_you'] = 'Nomear para "Site do Mês"';
$txt['d_no_thank_you_board'] = 'The option for Thank you has been diabled for this board!';
$txt['d_remove_thank_you_mem'] = 'Delete this member from the Nomeação?';
$txt['d_remove_thank_no_id'] = 'Nomeação ID not found!';

No display.template que é onde fica aquele menu está isto

Código: [Seleccione]
//Thank You Button is now where it belongs <<
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you', 'image' => 'thank_you.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0');
elseif ($context['thank_you']['premission']['add'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you_add', 'image' => 'thank_you_add.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0');
}

Logo deveria ser o 'd_thank_you' , mas ele não está a carregar a string, não estou a ver a razão!
Offline

bonsempregos 
Membro
Mensagens 2008 Gostos 7
Feedback +3

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

exit, manda-me o modulo para qq um dos meus emails info at minhanoite por exempo ou mete o url para down que eu vejo no code se  descubro a expressao, 4 olhos veem melhor que 2 ;)

ps: nao tou com nada com smf de momento para ver "live" por isso so mesmo vendo o codigo
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

http://custom.simplemachines.org/mods/index.php?mod=257

ta ai o mod, opha de certeza que e aquela string, so nao percebo por que não está a dar errrr...

Nessa pagina se escolheres a versão do mod e do smf, clicas submit e ele mostra-te as modificações todas que faz!
Offline

bonsempregos 
Membro
Mensagens 2008 Gostos 7
Feedback +3

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

não será cache? (isto antes mesmo de olhar para o modulo)
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

não...
Offline

bonsempregos 
Membro
Mensagens 2008 Gostos 7
Feedback +3

Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

Código: [Seleccione]
no ThankYou.english.php

tens: [code]<?php
// Thank You Language Files

$txt['thank_you_already_set'] = 'Thank you for this thread is set.';
$txt['thank_you_not_set'] = 'Thank you for this thread is not set.';
$txt['locked_thank_you_thread'] = 'Thank you thread is closed.';
$txt['no_thank_you_thread'] = 'No Thank you thread set!';
$txt['one_thank_you_is_good'] = 'One Thank you is good... not more...';
$txt['no_users_in_list'] = 'No Users found in the list.';
$txt['thank_you_link1'] = '&quot;Thank You&quot; from ';
$txt['thank_you_link2a'] = '';
$txt['thank_you_link2b'] = '';
$txt['thank_you_link3'] = '<b>';
$txt['thank_you_link4a'] = '</b> Member';
$txt['thank_you_link4b'] = '</b> Members';
$txt['thank_you_link5'] = '&quot;Thank You&quot;:<br />';
$txt['thank_you_list'] = 'Thank You List'

?>
ai nos exemplos de cima não vi nada com "$txt['thank_you_link5"

será disso?

Desculpa se ainda te estou a atrapalhar mais mas parece-me causa provavel...

será que tens que fazer um ThankYou.portuguese.php ?[/code]
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Essa parte é a que vai aparecer no post com a informação dos users, o thankyou,portuguese tá assim

Código: [Seleccione]
<?php
// Thank You Language Files

$txt['thank_you_already_set'] = 'Thank you for this thread is set.';
$txt['thank_you_not_set'] = 'Thank you for this thread is not set.';
$txt['locked_thank_you_thread'] = 'Thank you thread is closed.';
$txt['no_thank_you_thread'] = 'S!';
$txt['one_thank_you_is_good'] = 'One Thank you is good... not more...';
$txt['no_users_in_list'] = 'Nenhuma nomea&ccedil;&atilde;o.';
$txt['thank_you_link1'] = 'Nomeado por ';
$txt['thank_you_link2a'] = '';
$txt['thank_you_link2b'] = '';
$txt['thank_you_link3'] = '<b>';
$txt['thank_you_link4a'] = '</b> Utilizador';
$txt['thank_you_link4b'] = '</b> Utilizadores';
$txt['thank_you_link5'] = 'Nomea&ccedil;&otilde;es para &quot;Site do M&ecirc;s&quot;:<br />';
$txt['thank_you_list'] = 'Lista de nomea&ccedil;&atilde;o'

?>
Offline

spec 
Elite
Mensagens 989 Gostos 1
Feedback +2

Troféus totais: 28
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

atenção aos ; no final das ultimas linhas
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Nos ficheiros está correcto, se isso estivesse assim a theme nem corria...