winterpnz wrote: Iam install you mod and i have this problems:
1. When i click "WordPress" Blog in phpbb
in main page about 40 warnings in loop:
Warning: array_keys(): The first argument should be an array in z:\home\localhost\www\wp-language.php on line 49
Warning: in_array(): Wrong datatype for second argument in z:\home\localhost\www\wp-language.php on line 50
Warning: in_array(): Wrong datatype for second argument in z:\home\localhost\www\wp-language.php on line 55
...
2. i cant login/register in WP from phpbb
Iam use 1251 charset in WP and phpbb
wp version 2.05 phpbb 2.0.21
Can you help me?
Dagon wrote: I noticed that a couple of people were asking about WordPressMU. I know in my particular situation that I needed a multi-user blog with phpBB, so I went with LifeType. It works very well, and many templates, and already integrates with phpbb with several ways of offering each member their own blog. Otherwise I would have went with WordPress for sure.
Any mods or changes to the base WordPress install?
Can I look at the site?
Code: Select all
<?php
$to_languages = array (
'% comments'=>'% комментариев',
'% responses'=>'% комментариев',
'« Previous Entries'=>'« Раньше',
'« previous page'=>'« предыдущая страница',
'Next Page »'=>'Позже »',
'(more...)'=>'[далее...]',
'(required)'=>'(обязательно)',
'[%1$s] Comment: "%2$s'=>'[%1$s] Комментарий: "%2$s',
'10 Most Commented Post'=>'10 наиболее комментируемых сообщений',
'10 Recent Comments'=>'10 последних комментариев',
'10 Recent Posts'=>'10 последних сообщений',
'Another Random Quote Options'=>'Настройки случайных цитат',
'Another Random Quote'=>'Случайные цитаты',
'at'=>'в',
'author:'=>'Автор:',
'Author'=>'Автор',
'bloged in'=>'Сообщение в',
'by'=>'от',
'Last 15 Posts'=>'Последние 15 сообщений',
'Last Comments'=>'Последние комментарии',
'Last'=>'Последняя',
'leave a reply'=>'Оставьте свой комментарий!',
'Next Entries »'=>'Позже »',
'Edit'=>'Редактировать',
'No Responses'=>'Нет отзывов',
'One Response'=>'Один комментарий',
'% Responses'=>'Комментариев: %',
'No Comments'=>'Нет комментариев',
'1 Comment'=>'1 комментарий',
'% Comments'=>'Коментариев: %',
'конец'=>'конец'
);
function tolang($t) {
global $to_languages;
$at=trim($t);
$akey=array_keys($to_languages);
if (in_array( $at, $akey )) {
$tr=$to_languages[$at];
} else
{
$at=strtolower(trim($t));
if (in_array( $at, $akey )) {
$tr=$to_languages[$at];
} else
{
$tr=$t;
}
}
return $tr;
}
?>
Code: Select all
<?php
// ** MySQL settings ** //
define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'root'); // Your MySQL username
define('DB_PASSWORD', ''); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = 'wp_'; // Only numbers, letters, and underscores please!
define ('WPLANG', '');
/* That's all, stop editing! Happy blogging. */
define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-language.php');
require_once(ABSPATH.'wp-settings.php');
?>
Code: Select all
var $globalVarNames = array('wpdb', 'wp', 'wp_rewrite', 'wp_query', 'wp_did_header', 'userdata', 'user_ID', 'table_prefix', 'IN_WORDPRESS');
Code: Select all
var $globalVarNames = array('wpdb', 'wp', 'wp_rewrite', 'wp_query', 'wp_did_header', 'userdata', 'user_ID', 'table_prefix', 'IN_WORDPRESS', 'to_languages');
KeithFN wrote: hello.
looks like it is what i need.
some Q for u:
1. users are the same for phpbb and wordpress database? if i am logged in phpbb forum i am logged in wordpress blog?
2. all posts for blog are going to special forum in phpbb forum? and comments too?
3. can i delete forum header somehow or you will prepare update?
4. design. It's not integrated, right? i just want to hear that phpbb will have own design, and blog own too.
anyway great job!
keith