Forum para mambo 4.5.1 tem???
Enviado: 05 Jan 2005, 12:56
se alguem souber de um componente forum para mambo4.5.1 em portugues, posta ai..., tambem preciso de um ediror de texto que funcione para 4.5.1
Brigadão
Brigadão
Foruns dos antigos sites Joomla.com.br & JoomlaBrasil.org & MamboBrasil.org
https://www.fernandosoares.com.br/forum/
https://www.fernandosoares.com.br/forum/viewtopic.php?t=11025
Não é um erroO simpleboard 1.0.4 beta é meio bugado, dá erro em instalações de mambo estrangeiras, como a 1aBR, e outros tipos de erros. Há alternativas mais simples e seguras?
Abraço,
Não é mudar o site...
Então será melhor passar o site para inglês antes de instalá-lo?
Mandar o pt-br pra cima e mudar o site para pt-br?
Ontem atualizei um site que tenho para a versão 4.5.1 e resolvi atualizar também o Simpleboard 1.2 para a versão 1.4 (beta) e deu erro, então resolvi coloca-lo somente como 1.3 , ai então funcionou....
O que eu quis dizer foi para configurar o site para o inglês para não dar tal problema na sinstalação. Depois pega-se o arquivo da língua BR, coloca lá e volta a configuração para o PT-BR....Funciona?
if ( $mambo_release == "4.5" && $mambo_dev_level == "0" ) {
// 4.5.0
$database->setQuery("SELECT cur_template FROM meubr7_templates");
$current_stylesheet=$database->loadResult();
$css=$mls.\'/templates/\'.$current_stylesheet.\'/css/template_css.css\';
//some global settings needed...
$mosConfig_lang=$mainframe->getCfg( \'lang\' );
$map=$mainframe->getCfg( \'absolute_path\' );
$sbp=$map.\'/components/com_simpleboard\';
$mls=$mainframe->getCfg( \'live_site\' );
//oops.. sbs is wrong but I don\'t know where to change it so leaving it in... :-S
$sbs=$mls.\'/components/com_simpleboard\';
$sbs2=$mls.\'index.php?option=com_simpleboard&Itemid=\'.$_GET[\'Itemid\'];
$simpleboardAdminPath=$map.\'/administrator/components/com_simpleboard\';
// database variables.
//this is needed for the old sql statements that are still present in this script
//it is on the TODO list to replace them with generic MAMBO db stuff!
$db[\'user\'] = $mainframe->getCfg( \'user\' );
$db[\'pass\'] = $mainframe->getCfg( \'password\' );
$db[\'host\'] = $mainframe->getCfg( \'host\' );
$db[\'db\'] = $mainframe->getCfg( \'db\' );
$db[\'table_prefix\'] = $mainframe->getCfg( \'dbprefix\' );
} elseif ( $mambo_release == "4.5" && ($mambo_dev_level == "1" || $mambo_dev_level == "1a") ){
// 4.5.1
$database->setQuery("SELECT template FROM meubr7_templates_menu where client_id =\'0\'");
$current_stylesheet=$database->loadResult();
$css=$mls.\'/templates/\'.$current_stylesheet.\'/css/template_css.css\';
$mosConfig_lang=$mainframe->getCfg( \'lang\' );
$map=$mainframe->getCfg( \'absolute_path\' );
$sbp=$map.\'/components/com_simpleboard\';
$mls=$mainframe->getCfg( \'live_site\' );
//oops.. sbs is wrong but I don\'t know where to change it so leaving it in... :-S
$sbs=$mls.\'/components/com_simpleboard\';
$sbs2=$mls.\'index.php?option=com_simpleboard&Itemid=\'.$_GET[\'Itemid\'];
$simpleboardAdminPath=$map.\'/administrator/components/com_simpleboard\';
// database variables.
//this is needed for the old sql statements that are still present in this script
//it is on the TODO list to replace them with generic MAMBO db stuff!
$db[\'user\'] = $mainframe->getCfg( \'user\' );
$db[\'pass\'] = $mainframe->getCfg( \'password\' );
$db[\'host\'] = $mainframe->getCfg( \'host\' );
$db[\'db\'] = $mainframe->getCfg( \'db\' );
$db[\'table_prefix\'] = $mainframe->getCfg( \'dbprefix\' );
} else {
//All other release a probably after 4.5.1 (presumably 4.5.2) so we use the 4.5.2 definitions....
$database->setQuery("SELECT template FROM meubr7_templates_menu where client_id =\'0\'");
$current_stylesheet=$database->loadResult();
$css=$mls.\'/templates/\'.$current_stylesheet.\'/css/template_css.css\';
$mosConfig_lang=$_CONFIG->LANG;
$map=$_CONFIG->SITEPATH;
$sbp=$map.\'/components/com_simpleboard\';
$mls=$_CONFIG->SITEURL;
//oops.. sbs is wrong but I don\'t know where to change it so leaving it in... :-S
$sbs=$mls.\'/components/com_simpleboard\';
$sbs2=$mls.\'index.php?option=com_simpleboard&Itemid=\'.$_GET[\'Itemid\'];
$simpleboardAdminPath=$map.\'/administrator/components/com_simpleboard\';
//include some db variables needed for SB:
$db[\'user\'] = $_CONFIG->DBUSER;
$db[\'pass\'] = $_CONFIG->DBPASS;
$db[\'host\'] = $_CONFIG->DBHOST;
$db[\'db\'] = $_CONFIG->DBNAME;
$db[\'table_prefix\'] = $_CONFIG->DBPREF;
//the next call is 4.5.2+ specific:
$mainframe->setPageTitle( $sbConfig[\'board_title\'] );
}
$database->setQuery("SELECT template FROM meubr7_templates_menu where client_id =\'0\'");
$current_stylesheet=$database->loadResult();
$css=$mls.\'/templates/\'.$current_stylesheet.\'/css/template_css.css\';
$mosConfig_lang=$mainframe->getCfg( \'lang\' );
$map=$mainframe->getCfg( \'absolute_path\' );
$sbp=$map.\'/components/com_simpleboard\';
$mls=$mainframe->getCfg( \'live_site\' );
//oops.. sbs is wrong but I don\'t know where to change it so leaving it in... :-S
$sbs=$mls.\'/components/com_simpleboard\';
$sbs2=$mls.\'index.php?option=com_simpleboard&Itemid=\'.$_GET[\'Itemid\'];
$simpleboardAdminPath=$map.\'/administrator/components/com_simpleboard\';
// database variables.
//this is needed for the old sql statements that are still present in this script
//it is on the TODO list to replace them with generic MAMBO db stuff!
$db[\'user\'] = $mainframe->getCfg( \'user\' );
$db[\'pass\'] = $mainframe->getCfg( \'password\' );
$db[\'host\'] = $mainframe->getCfg( \'host\' );
$db[\'db\'] = $mainframe->getCfg( \'db\' );
$db[\'table_prefix\'] = $mainframe->getCfg( \'dbprefix\' );