Jump to content

oldpa

Members
  • Content count

    5
  • Joined

  • Last visited

1 Follower

Profile Information

  1. oldpa

    fixes to PhpBB contribution

    hi all all new version release phpbb mod demo site oscms2 nuke68 demo site osc mod for xoops205 demo site ipb mod for osc demo site web site here Support Forums Shopping cart research site
  2. oldpa

    fixes to PhpBB contribution

    if is phpbb want to change languages by osc open phpbb functions.php find function init_userprefs($userdata) { global $board_config, $theme, $images; global $template, $lang, $phpEx, $phpbb_root_path; global $nav_links; if ( $userdata['user_id'] != ANONYMOUS ) { if ( !empty($userdata['user_lang'])) { $board_config['default_lang'] = $userdata['user_lang']; } if ( !empty($userdata['user_dateformat']) ) { $board_config['default_dateformat'] = $userdata['user_dateformat']; } if ( isset($userdata['user_timezone']) ) { $board_config['board_timezone'] = $userdata['user_timezone']; } } if ( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx)) ) { $board_config['default_lang'] = 'english'; } include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx); if ( defined('IN_ADMIN') ) { if( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.'.$phpEx)) ) { $board_config['default_lang'] = 'english'; } include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx); } change to function init_userprefs($userdata) { global $board_config, $theme, $images; global $template, $lang, $phpEx, $phpbb_root_path, $language; global $nav_links; if (tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) { if ( $userdata['user_id'] != ANONYMOUS ) { if ( !empty($userdata['user_lang'])) { $board_config['default_lang'] = $userdata['user_lang']; } if ( !empty($userdata['user_dateformat']) ) { $board_config['default_dateformat'] = $userdata['user_dateformat']; } if ( isset($userdata['user_timezone']) ) { $board_config['board_timezone'] = $userdata['user_timezone']; } } if ( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $language . '/lang_main.'.$phpEx)) ) { $board_config['default_lang'] = 'english'; } include($phpbb_root_path . 'language/lang_' . $language . '/lang_main.' . $phpEx); if ( defined('IN_ADMIN') ) { if( !file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $language . '/lang_admin.'.$phpEx)) ) { $board_config['default_lang'] = 'english'; } include($phpbb_root_path . 'language/lang_' . $language . '/lang_admin.' . $phpEx); } }
  3. oldpa

    fixes to PhpBB contribution

    open ibf index.php find if ($ibforums->vars['default_language'] == "") { $ibforums->vars['default_language'] = 'en'; } change to like if (session_is_registered('language')) { $ibforums->vars['default_language'] = $language; }else if ($ibforums->vars['default_language'] == "") { $ibforums->vars['default_language'] = 'english'; } but you ibf lang folder en need to change name to english just like osc languages folder name
  4. oldpa

    fixes to PhpBB contribution

    Hi, Integrated by Oldpa ? 2003 Bulletin Board Module for osCommerce . Powered by Invision Power Board(U) v1.3 Final ? 2003 IPS, Inc. DEMOhere Webhere
  5. oldpa

    fixes to PhpBB contribution

    Thanks. Ok I have pretty much redone the installation of this interface, assumming that all your files are copied to there prespective subdirectories the rest of the install should work following my instructions. They are lengthly so I posted the install interface instructions Here thanks for your install interface instructions .
×