erro estranho

Suporte aos MODs/Hacks para phpBB.
lovestories
Membro Intermediá¡rio
Membro Intermediá¡rio
Mensagens: 665
Registrado em: 15 Jan 2011, 11:31
Localização: Joinville

erro estranho

Mensagem por lovestories »

URL do Fórum: http://www.mymjlovestories.org/forum

gente...to tentando instalar o profile_guestbook_2_1_0_0 ...testei em local host e funcionou perfeitamente...mas no forum principal na hora de instalar ele da esse erro
Sem título.jpg
pelo q entendi é erro na linguagem, mas é a primeira vez q isso acontece, tenho muitos mods instalados será q é conflito? alguem pode me dar uma luz?

o link do mod é esse... a unica alteração q ele faz é no member_list_view.html
Você não está autorizado a ver ou baixar esse anexo.
Os sonhos não morrem, apenas adormecem na alma da gente
Avatar do usuário
_Vinny_
Administrador
Administrador
Mensagens: 5963
Registrado em: 03 Set 2009, 21:59
Contato:

Re: erro estranho

Mensagem por _Vinny_ »

Posta aqui o arquivo pt-br/mods/profile_guestbook.php
Tradução Português Brasileiro: https://www.phpbb.com/customise/db/tran ... ortuguese/

Precisa de serviços phpBB? Me mande um mensagem privada!
lovestories
Membro Intermediá¡rio
Membro Intermediá¡rio
Mensagens: 665
Registrado em: 15 Jan 2011, 11:31
Localização: Joinville

Re: erro estranho

Mensagem por lovestories »

ta ai profile_guestbook.php em ingles

Código: Selecionar todos

<?php
/**
*
* profile_guestbook [English]
*
* @package profile guestbook
* @version 1.0.0
* @copyright (c) 2010 Paul Sohier
* @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:
// ’ » “ ” …
//

/**
 * UMIL lang vars.
 **/
$lang = array_merge($lang, array(
	'PROFILE_GUESTBOOK'			=> 'Profile Guestbook',
	'INSTALL_PROFILE_GUESTBOOK'		=> 'Install Profile Guestbook',
	'INSTALL_PROFILE_GUESTBOOK_CONFIRM'	=> 'Are you sure you want to install Profile Guestbook?',
	'UPDATE_PROFILE_GUESTBOOK'		=> 'Update Profile Guestbook',
	'UPDATE_PROFILE_GUESTBOOK_CONFIRM'	=> 'Are you sure you want to update Profile Guestbook?',
	'UNINSTALL_PROFILE_GUESTBOOK'		=> 'Uninstall Profile Guestbook',
	'UNINSTALL_PROFILE_GUESTBOOK_CONFIRM'	=> 'Are you sure you want to uninstall Profile Guestbook?',
));


$lang = array_merge($lang, array(
	'NO_POSTS_GUESTBOOK'	=> 'There are currently no posts in this guestbook',
	'GUESTBOOK'		=> 'Guestbook',
	'ABOUT_GUESTBOOK'	=> 'Welcome in this guestbook. You can write here your personal thoughts. Have fun posting!',
	
	'NO_TOPIC_ICON'		=> 'No icon',
	'RETURN_PROFILE'	=> '%sReturn back to the profile',
	
	'GUESTBOOK_REPLY'	=> 'Post a comment',
	'POST_GUESTBOOK'	=> 'Post a guestbook comment',
	
	'NEW_GUESTBOOK_POST'	=> 'New guestbook post',
	'NEW_GUESTBOOK_POST_TXT'=> 'Hello,

A new post in your guestbook has been posted:

%s

If you dont want to receive PMs anymore, you can change your settings in your profile.',
));

só q é ingles eu traduzi mas nao enviei ele pra linguagem pt pq ia instalar primeiro :lol:

essse é o q eu traduzi

Código: Selecionar todos

<?php
/**
* acp_profile_guestbook (phpBB Permission Set) [English]
*
* @package profile guestbook
* @version 1.0.0
* @copyright (c) 2010 Paul Sohier
* @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 %array('lang' => '', 'cat' => 'pg')$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


// User Permissions
$lang = array_merge($lang, array(
	'ACP_PROFILE_GUESTBOOK_SETTINGS'		=> 'As definições gerais no livro de visitas',
	'ACP_PROFILE_GUESTBOOK_SETTINGS_EXPLAIN'	=> 'As definições gerais para o livro de visitas perfil MOD',
	
	'PROFILE_GUESTBOOK_ENABLED'	=> 'Perfil Visitas MOD habilitado',
	
	'PROFILE_GUESTBOOK_NOTIFICATION'		=> 'Habilitar notificações no livro de visitas',
	'PROFILE_GUESTBOOK_NOTIFICATION_EXPLAIN'	=> 'Se ativado, os usuários têm permissão para receber notificações de novas mensagens no livro de visitas.',
	

	'WELCOME_GUESTBOOK'	=> 'Perfil Resumo Livro de Visitas',
	'ADMIN_GUESTBOOK'	=> 'Você pode encontrar aqui uma visão geral básica do Livro de Visitas perfil MOD com algumas estatásticas básicas e algumas opções. <br /> Se você encontrar quaisquer erros, voc deve relatar estas no bugtracker. Este bugtracker podem ser encontradas <a href="http://phpbbguestbook.com/viewforum.php?f=5"> aqui </ a>. Suporte para o MOD pode ser encontrado no mesmo conselho',
	'GUESTBOOK_STATS'	=> 'Estatásticas básicas Livro de visitas',
	
	'GB_OPTIONS'		=> 'Ações básicas no livro de visitas',
	'DELETE_ALL'		=> 'Excluir <em> todas </ em> postos de <em> todas </ em> usuários.',
	'RESYNC_ALL'		=> 'Ressincronizar todos os contadores de post para os usuários.',

	'VERSION_UP_TO_DATE'		=> 'Your version is uptodate.',
	'VERSION_NOT_UP_TO_DATE_TITLE'	=> 'Your version is not uptodate. You should update as soon as possible.',
	'VERSIONCHECK_FAIL'		=> 'Error connecting to the server.',
	
	'CURRENT_VERSION'	=> 'A versão atual:',
	'LATEST_VERSION'	=> 'Última versão:',
	'NOT_AVAILABLE'		=> 'Não está disponível',
	
	'NUMBER_OF_GB'		=> 'Número de usuários com um livro de visitas',

	'CONFIRM_GB_DELETE_ALL'	=> 'Are you sure you want to remove <em>all</em> guestbook posts from all users? <br />This cannot be undone!',
	
	'ERROR_NOT_HAPPEN'	=> 'This should not happen, 0 posts within post loop',
));

Editado pela última vez por lovestories em 07 Mai 2011, 19:35, em um total de 1 vez.
Os sonhos não morrem, apenas adormecem na alma da gente
lovestories
Membro Intermediá¡rio
Membro Intermediá¡rio
Mensagens: 665
Registrado em: 15 Jan 2011, 11:31
Localização: Joinville

Re: erro estranho

Mensagem por lovestories »

resolvi aqui Vinny :lol: reenviei todos os arquivos de linguagem em ingles mesmo...ai pego... poderia traduzir esse mod pra mim? ou tenho realmente q abrir um topico la nos pedidos? ;)
Os sonhos não morrem, apenas adormecem na alma da gente
Avatar do usuário
_Vinny_
Administrador
Administrador
Mensagens: 5963
Registrado em: 03 Set 2009, 21:59
Contato:

Re: erro estranho

Mensagem por _Vinny_ »

O erro estava na falta da tag de fechamento do PHP ?>.

De acordo com as regras, tem que fazer o pedido na seção correta obedecendo as normas. Vou marcar como resolvido.
Tradução Português Brasileiro: https://www.phpbb.com/customise/db/tran ... ortuguese/

Precisa de serviços phpBB? Me mande um mensagem privada!
lovestories
Membro Intermediá¡rio
Membro Intermediá¡rio
Mensagens: 665
Registrado em: 15 Jan 2011, 11:31
Localização: Joinville

Re: erro estranho

Mensagem por lovestories »

sem problema vo pedi la ;)
Os sonhos não morrem, apenas adormecem na alma da gente
Trancado