Página 1 de 3
					
				Agradecimentos / Erro
				Enviado: 14 Out 2011, 23:29
				por Night Angel
				URL do Fórum: http://www.blackangelarts.com
Estou instalando um Mod..que eu já tenho instalado em outros Styles
(e funciona perfeitamente)
Só que estou com dois erros persistentes
Erro 1:
Na barra de ferramentas..aparece o link dos agradecimentos..mas..com algumas imagens que se repetem
Erro 2:
Nas informações do perfil do usuário.
onde deveria aparecer  vez(es)
aparece uma informação em Inglês
***Ver Imagem***
http://img840.imageshack.us/img840/3743/thanksj.jpg
Erro 3:
na página dos agradecimentos..essa mesma mensagem em Inglês se repete algumas vezes..
***Ver Imagem***
http://img191.imageshack.us/img191/5601/thanks2p.jpg
Sem contar que na página dos agradecimentos deveria ser criado um "bloco" parecido com os do Index. 
			 
			
					
				Re: Agradecimentos / Erro
				Enviado: 14 Out 2011, 23:51
				por robra
				Vamos por parte.
O 
erro 2 e 
3 é questão de tradução do arquivo. Se você não fez a tradução do arquivo em inglês e pegou uma já pronta, pode ser que esta já pronta seja de uma versão anterior e por isso está faltando alguns termos a serem traduzidos.
ERRO 2 e 3:
Abra o arquivo 
language/seu_idioma/mods/thanks_mod.php e adicione a linha:
Código: Selecionar todos
'REPUT_TOPLIST'                => 'Topo da lista',
'THANK'                        => 'vez(es)', 
A questão é que pode estar faltando outros termos. O ideal seria pegar a tradução da sua versão do MOD.
Quanto ao 
ERRO 1, vou dar uma olhada ainda.
Abraço. 

 
			
					
				Re: Agradecimentos / Erro
				Enviado: 15 Out 2011, 00:10
				por robra
				Bem... a questão de repetir o ícone está relacionada ao comando 
background-repeat: no-repeat; no arquivo 
buttons.css.
Você fez a seguinte inserção solicitada no 
install.xml ?
Abra o arquivo 
/theme/buttons.css e ache: 
.sitehome,
Adicione após, na mesma linha: 
.icon-thanks, .icon-thanks_toplist,
Depois limpou o cache do Fórum , do navegador e atualizou o Tema do estilo em questão ?
Abraço. 

 
			
					
				Re: Agradecimentos / Erro
				Enviado: 15 Out 2011, 00:15
				por Night Angel
				Eu também achei que esses dois erros fossem um problema de tradução
Mas..
Pq nos outros dois (2) styles instalados ele funciona perfeitamente
SEM apresentar esse erro?
Ou seja:
Se fosse assim todos os Styles estariam com o mesmo erro
Ah em:
language/seu_idioma/mods/thanks_mod.php 
fora o:
O outro termo já existe
thanks_mod.php >>>>>>>>>> Original
Código: Selecionar todos
<?php
/**
*
* thanks_mod[Brazilian Portuguese]
*
* @package language
* @version $Id: thanks.php,v 127 2010-04-17 10:02:51Палыч $
* @copyright (c) 2008 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
   exit;
}
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
$lang = array_merge($lang, array(
	'GIVEN'						=> 'Agradeceu',
	'GRATITUDES'				=> 'Agradecimentos',
	'INCORRECT_THANKS'			=> 'Dados incorretos para ação',
	'JUMP_TO_FORUM'				=> 'Ir ao f%oacute;rum',
	'JUMP_TO_TOPIC'				=> 'Ir ao t%oacute;pico',
	'FOR_MESSAGE'				=> ' pela mensagem',
	'FURTHER_THANKS'     	    => ' e outro',
	'FURTHER_THANKS_PL'         => ' e mais %d',
	'NO_VIEW_USERS_THANKS'		=> 'Você não tem acesso a uma lista de agradecimentos.',
	'RECEIVED'					=> 'Foi Agradecido',
	'REMOVE_THANKS'				=> 'Retirar o agradecimento por esta mensagem do autor ',
	'REMOVE_THANKS_CONFIRM'		=> 'Você tem certeza que deseja remover o agradecimento?',
	'RETURN_POST'				=> 'Retornar',
	
	'THANK_POST'				=> 'Agradecer por esta mensagem do autor ',
	'THANK_FROM'				=> 'de',
	'THANK_TEXT_1'				=> 'Esta mensagem de ',
	'THANK_TEXT_2'				=> ' recebeu agradecimentos de',
	'THANK_TEXT_2pl'			=> ' foi agradecido - %d',
	'THANKS'					=> 'vez(es)',
	'THANKS_BACK'				=> 'Reotrnar',
	'THANKS_INFO_GIVE'			=> 'Você agradeceu ao autor',
	'THANKS_INFO_REMOVE'		=> 'Você retirou agradecimentos ao autor',
	'THANKS_LIST'				=> 'Ver/Fechar lista',
	'THANKS_PM_MES_GIVE'		=> 'Agradecer pela mensagem',
	'THANKS_PM_MES_REMOVE'		=> 'Retirar agradecimento',
	'THANKS_PM_SUBJECT_GIVE'	=> 'Agradecer pela mensagem',
	'THANKS_PM_SUBJECT_REMOVE'	=> 'Retirar agradecimento',
	'THANKS_USER'				=> 'Lista de Agradecimentos',
// Install block
	'THANKS_INSTALLED'			=> 'Agradecer pela mensagem',
	'THANKS_INSTALLED_EXPLAIN' 	=> '<strong>CAUTION!<br />É forte recomendado para executar esta instalação somente depois de seguir as instruções sobre as mudanças para a conferência arquivos de código (ou executar a instalação utilizando AutoMod)!<br />Também recomendado selecione Sim para Apresentação dos Resultados Full (abaixo)!</strong>',
));
?>
 
			 
			
					
				Re: Agradecimentos / Erro
				Enviado: 15 Out 2011, 00:18
				por robra
				Opa.... peraí... a sua barra de navegação não tem ícones. Só textos.  

No 
overall_header.html tente substituir isso...
Código: Selecionar todos
					<!-- IF S_DISPLAY_TOPLIST --><li class="icon-thanks_toplist"><a href="{U_REPUT_TOPLIST}" title="{L_REPUT_TOPLIST}">{L_REPUT_TOPLIST}</a></li><!-- ENDIF -->
				<!-- IF S_DISPLAY_THANKSLIST --><li class="icon-thanks"><a href="{U_THANKSLIST}" title="{L_THANKS_USER}">{L_GRATITUDES}</a></li><!-- ENDIF -->
Por isso...
Código: Selecionar todos
					<!-- IF S_DISPLAY_TOPLIST --><li><a href="{U_REPUT_TOPLIST}" title="{L_REPUT_TOPLIST}">{L_REPUT_TOPLIST}</a></li><!-- ENDIF -->
				<!-- IF S_DISPLAY_THANKSLIST --><li><a href="{U_THANKSLIST}" title="{L_THANKS_USER}">{L_GRATITUDES}</a></li><!-- ENDIF -->
Abraço. 

 
			
					
				Re: Agradecimentos / Erro
				Enviado: 15 Out 2011, 00:21
				por Night Angel
				Em:
/theme/buttons.css
NÃO existe .sitehome
/theme/buttons.css>>>>>Original
Código: Selecionar todos
/* Buttons */
/* Rollover buttons
   Based on: http://wellstyled.com/css-nopreload-rollovers.html
----------------------------------------*/
.buttons {
	float: left;
	width: auto;
	height: auto;
}
/* Rollover state */
.buttons div {
	float: left;
	margin: 0 5px 0 0;
	background-position: 0 100%;
}
/* Rolloff state */
.buttons div a {
	display: block;
	width: 100%;
	height: 100%;
	background-position: 0 0;
	position: relative;
	overflow: hidden;
}
/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
/*.buttons div span		{ display: none; }*/
/*.buttons div a:hover	{ background-image: none; }*/
.buttons div span			{ position: absolute; width: 100%; height: 100%; cursor: pointer;}
.buttons div a:hover span	{ background-position: 0 100%; }
/* Big button images */
.reply-icon span	{ background: transparent none 0 0 no-repeat; }
.post-icon span		{ background: transparent none 0 0 no-repeat; }
.locked-icon span	{ background: transparent none 0 0 no-repeat; }
.pmreply-icon span	{ background: none 0 0 no-repeat; }
.newpm-icon span 	{ background: none 0 0 no-repeat; }
.forwardpm-icon span 	{ background: none 0 0 no-repeat; }
/* Set big button dimensions */
.buttons div.reply-icon		{ width: {IMG_BUTTON_TOPIC_REPLY_WIDTH}px; height: {IMG_BUTTON_TOPIC_REPLY_HEIGHT}px; }
.buttons div.post-icon		{ width: {IMG_BUTTON_TOPIC_NEW_WIDTH}px; height: {IMG_BUTTON_TOPIC_NEW_HEIGHT}px; }
.buttons div.locked-icon	{ width: {IMG_BUTTON_TOPIC_LOCKED_WIDTH}px; height: {IMG_BUTTON_TOPIC_LOCKED_HEIGHT}px; }
.buttons div.pmreply-icon	{ width: {IMG_BUTTON_PM_REPLY_WIDTH}px; height: {IMG_BUTTON_PM_REPLY_HEIGHT}px; }
.buttons div.newpm-icon		{ width: {IMG_BUTTON_PM_NEW_WIDTH}px; height: {IMG_BUTTON_PM_NEW_HEIGHT}px; }
.buttons div.forwardpm-icon	{ width: {IMG_BUTTON_PM_FORWARD_WIDTH}px; height: {IMG_BUTTON_PM_FORWARD_HEIGHT}px; }
ul.profile-icons li.thanks-icon	{ width: {IMG_THANKPOSTS_WIDTH}px; height: {IMG_THANKPOSTS_HEIGHT}px; }
ul.profile-icons li.removethanks-icon	{ width: {IMG_REMOVETHANKS_WIDTH}px; height: {IMG_REMOVETHANKS_HEIGHT}px; }
/* Home icon
---------------------------------------- */
.icon-home {
	background-position: 0 50%;
	background-repeat: no-repeat;
	background-image: none;
	padding: 1px 0 0 14px;
}
.navbar-top .icon-home {
    padding-top: 0;
}
 
 
			 
			
					
				Re: Agradecimentos / Erro
				Enviado: 15 Out 2011, 00:24
				por robra
				Night Angel escreveu:Eu também achei que esses dois erros fossem um problema de tradução
Mas..
Pq nos outros dois (2) styles instalados ele funciona perfeitamente
SEM apresentar esse erro?
Ou seja:
Se fosse assim todos os Styles estariam com o mesmo erro
Ah em:
language/seu_idioma/mods/thanks_mod.php 
fora o:
O outro termo já existe
 
No arquivo em inglês que tenho deste MOD v.1.3.1 tem os 2 :
No arquivo da tradução tem que ter os 2 também:
Abraço. 

 
			
					
				Re: Agradecimentos / Erro
				Enviado: 15 Out 2011, 00:30
				por robra
				Night Angel escreveu:Em:
/theme/buttons.css
NÃO existe .sitehome
Eu sei. Depois foi que vi na imagem que você postou, que neste 
Estilo a barra de navegação não tem ícones. Somente textos.
Faça este procedimento: 
viewtopic.php?f=149&t=45460#p272151
Abraço. 

 
			
					
				Re: Agradecimentos / Erro
				Enviado: 15 Out 2011, 00:35
				por Night Angel
				Essa versão aqui..é anterior a sua
thanks_for_posts_1_2_8
Mas..o problema do overall_header.html
Já foi resolvido em parte..com a sua dica ai na mensagem anterior..
Só ficou um errinho
***Ver Imagem***
http://img440.imageshack.us/img440/1332/pontl.jpg 
			 
			
					
				Re: Agradecimentos / Erro
				Enviado: 15 Out 2011, 00:35
				por robra
				A versão da sua tradução é a 
1.2.7 e o MOD atual é a 
1.3.1
Abraço. 
