Página 2 de 3

Re: similar topics

Enviado: 22 Mai 2011, 22:32
por Elenir
Não recebi nenhum retorno ainda sobre o problema

continua o título está em ingles e entre chaves
assim: {similar topics}

Re: similar topics

Enviado: 23 Mai 2011, 10:08
por robra
Elenir.

Poste o link de onde você baixou este MOD, para que eu possa baixá-lo e dar uma olhada nos arquivos para identificar o problema.

Abraço. Imagem

Re: similar topics

Enviado: 23 Mai 2011, 10:14
por KillerHemp
Ainda não instalei, será que o mod esta com problema?

Re: similar topics

Enviado: 23 Mai 2011, 17:54
por Elenir
Baixei daqui http://www.phpbb.com/customise/db/mod/p ... topics_ii/
A traduçào para o portugues peguei aqui no suporte

Re: similar topics

Enviado: 23 Mai 2011, 19:13
por robra
Elenir.
Faça o seguinte:
Abra o arquivo language/pt-br/viewtopic.php. No final da página, na última linha tem o código " ?> "(sem as aspas). Antes dele, em uma nova linha, inclua o código abaixo:

Código: Selecionar todos

// BEGIN Precise Similar Topics
$lang = array_merge($lang, array(
    'SIMILAR_TOPICS'            => 'Tópicos Semelhantes',
));
// END Precise Similar Topics    
OBS: Você pode substituir o texto 'Tópicos Semelhantes' acima por qualquer outro texto que achar melhor, como 'Tópicos Similares', 'Tópicos Parecidos', etc.

Esta instrução está no arquivo pt.xml, na pasta contrib do MOD que baixei pelo link que você postou.

Abraço. Imagem

Re: similar topics

Enviado: 23 Mai 2011, 19:52
por KillerHemp
Outro mod que me interessa, porém o install só aparece para o prosilver.
Caio no mesmo problema do national flags

Re: similar topics

Enviado: 23 Mai 2011, 20:00
por Elenir
Perfeito Robra, voce é um gênio
Obrigado

Re: similar topics

Enviado: 23 Mai 2011, 20:03
por robra
KillerHemp escreveu:Outro mod que me interessa, porém o install só aparece para o prosilver.
Caio no mesmo problema do national flags
KillerHemp.

Desculpe a minha ignorância mas o problema seria com o arquivo que vai na pasta template do estilo, que só tem para o Prosilver e para o Subsilver2. De resto, não teria problema ?
Se for isso, já tentou instalar este MOD e usar o arquivo da pasta subsilver/template na sua aeroblue/template ?
Ele é bem pequeno e rápido de instalar.

Abraço. Imagem

Re: similar topics

Enviado: 23 Mai 2011, 20:12
por KillerHemp
robra, Olá tudo bem? Obrigado pela atenção.
mas minha dúvida é a seguinte

no Install do mod, tem estas linhas

Código: Selecionar todos

Open: styles/prosilver/template/index_body.html
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
<!-- IF S_DISPLAY_ONLINE_LIST -->
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

CODE:SELECT ALL
<!-- INCLUDE top_flags.html -->
<< Hide
Open: styles/prosilver/template/memberlist_body.html
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
			<!-- IF AVATAR_IMG -->{AVATAR_IMG}<!-- ENDIF -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
			<!-- IF USER_FLAG -->{USER_FLAG}<!-- ENDIF -->
<< Hide
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
			<th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
			<!-- IF S_USER_FLAG --><th class="flag">{L_FLAG}</th><!-- ENDIF -->
<< Hide
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
			<th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
		<!-- IF S_USER_FLAG --><th class="flag">{L_FLAG}</th><!-- ENDIF -->
<< Hide
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
		<th class="posts">&nbsp;</th>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
		<!-- IF S_USER_FLAG --><th class="flag">&nbsp;</th><!-- ENDIF -->
<< Hide
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
		<td class="posts"><!-- IF memberrow.POSTS and S_DISPLAY_SEARCH -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
		<!-- IF S_USER_FLAG --><td class="flag"><div>{memberrow.USER_FLAG}</div></td><!-- ENDIF -->
<< Hide
Open: styles/prosilver/template/memberlist_leaders.html
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
		<th class="name"><span class="rank-img">{L_RANK}&nbsp;</span>{L_ADMINISTRATORS}</th>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
	   <!-- IF S_USER_FLAG --><th class="info">{L_FLAG}</th><!-- ENDIF -->
<< Hide
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
		<td class="info"><!-- IF admin.U_GROUP -->
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

CODE:SELECT ALL
		<!-- IF S_USER_FLAG --><td><!-- IF admin.USER_FLAG--><span class="flag">{admin.USER_FLAG}</span><!-- ENDIF --></td><!-- ENDIF -->
<< Hide
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
		<th class="name">{L_MODERATORS}</th>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
		<!-- IF S_USER_FLAG --><th class="info">&nbsp;</th><!-- ENDIF -->
<< Hide
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
		<td class="info"><!-- IF mod.U_GROUP -->
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

CODE:SELECT ALL
		<!-- IF S_USER_FLAG --><td><!-- IF mod.USER_FLAG--><span class="flag">{mod.USER_FLAG}</span><!-- ENDIF --></td><!-- ENDIF -->
<< Hide
Open: styles/prosilver/template/memberlist_view.html
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
		<!-- IF LOCATION --><dt>{L_LOCATION}:</dt> <dd>{LOCATION}</dd><!-- ENDIF -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
		<!-- IF USER_FLAG --><dt>{L_FLAG}:</dt> <dd>{USER_FLAG}</dd><!-- ENDIF -->
<< Hide
Open: styles/prosilver/template/ucp_pm_viewmessage.html
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
		<!-- IF AUTHOR_FROM --><dd><strong>{L_LOCATION}:</strong> {AUTHOR_FROM}</dd><!-- ENDIF -->
		
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
		<!-- IF USER_FLAG --><dd><strong>{L_FLAG}:</strong><br />{USER_FLAG}</dd><!-- ENDIF -->
<< Hide
Open: styles/prosilver/template/ucp_profile_profile_info.html
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
	<dl>
		<dt><label for="interests">{L_INTERESTS}:</label></dt>
		<dd><textarea name="interests" id="interests" class="inputbox" rows="3" cols="30">{INTERESTS}</textarea></dd>
		</dl>
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
	<!-- INCLUDE ucp_user_flag.html -->
<< Hide
Open: styles/prosilver/template/viewtopic_body.html
Find
Tip: This may be a partial find and not the whole line.

CODE:SELECT ALL
		<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

CODE:SELECT ALL
		<!-- IF postrow.POSTER_FLAG --><dd><strong>{L_FLAG}:</strong><br /><strong>{postrow.POSTER_FLAG}</strong></dd><!-- ENDIF -->
que contempla somente o prosilver.
Quando vou procurar nos arquivos do subsiver (aeroblue) não se acha algumas linhas...

Re: similar topics

Enviado: 23 Mai 2011, 20:28
por robra
KillerHemp escreveu:robra, Olá tudo bem? Obrigado pela atenção.
mas minha dúvida é a seguinte
no Install do mod, tem estas linhas...
...que contempla somente o prosilver.
Quando vou procurar nos arquivos do subsiver (aeroblue) não se acha algumas linhas...
KillerHemp.

Tanto neste MOD como no MOD National Flags, vá na pasta "contrib" e siga o procedimento de instalação descrito no arquivo Subsilver2.xml, já que o seu estilo é baseado no Subsilver2.
Já tentou isto ?
Na página de download do MOD Similar Tópics, postada pela Elenir, vá na aba Discussion/Support, porque lá tem exatamente um Tópico com o título:"Precise Similar Topics II on Aero style". Ele fala para seguir as instruções de instalação para o Subsilver.

Abraço. Imagem