markdc, on Jan 21 2004, 01:00 PM, said:
fixes to PhpBB contribution
#41
Posted 21 January 2004 - 09:48 PM
#42
Posted 21 January 2004 - 09:53 PM
Goanna, on Dec 22 2003, 01:12 PM, said:
Also, where is the file bb_index.php located? It didnt get uploaded to my site and I dont see it in the original folders from the contrib either.
#43
Posted 21 January 2004 - 10:00 PM
#44
Posted 26 January 2004 - 06:51 AM
Now the PHPBB contribution sets the default language or the language chosen in the user profile. So you get e.g. an English oscommerce with a dutch PHPBB. Wouldn't it be possible to make the language of PHPBB change when you chose a different language of OSC ?
Thanks in advance
Frederick
#46
Posted 29 January 2004 - 07:32 PM
Isn't it possible to change the language by changing the osc language in your PHPBB contribution? The invision board you are using is also not as integrated into the OSC layout as phpbb.
Great contribution though Oldpa!
Edited by Frederick, 29 January 2004 - 07:33 PM.
#47
Posted 29 January 2004 - 07:43 PM
#48
Posted 30 January 2004 - 03:02 PM
I installed this contrib from the 2 parts in the contributions section.
The real trouble I had was that I am using SEF on and it doesnt like the module link at all. I did hard code a link in my header and that worked just fine. I wasted at least an hour on that. Otherwise the install wasnt too bad. Just ignore the chinese text.
#49
Posted 31 January 2004 - 10:14 AM
When i try to add a post in the forum i can do this only as a guest also if i'm registered user...
Ihave this error when i run "upmysql"
1062 - duplicate entry '1' for the key 1
insert into phpbb_users (user_id , user_active, username, user_password ,user_session_time , user_session_page , user_lastvisit , user_regdate , user_level , user_posts , user_timezone , user_style , user_lang , user_dateformat , user_new_privmsg , user_unread_privmsg , user_last_privmsg , user_emailtime , user_viewemail , user_attachsig , user_allowhtml , user_allowbbcode , user_allowsmile ,user_allowavatar ,user_allow_pm , user_allow_viewonline ,user_notify , user_notify_pm ,user_popup_pm , user_rank , user_avatar ,user_avatar_type ,user_email , user_icq ,user_website ,user_from ,user_sig , user_sig_bbcode_uid , user_aim , user_yim , user_msnm ,user_occ , user_interests , user_actkey , user_newpasswd) SELECT customers_id , '1', customers_lastname , customers_password , '', '', 'time()', 'time()', '0','0','8.00','1', 'chinese_traditional_taiwan','D M d, Y g:i a', '0','0','0', '0','1','1','0','1', '1','1','1','1','0', '1','1','0','','0',customers_email_address, '','','','','','','','','','','','' FROM customers WHERE customers_id
[TEP STOP]
Can anyone help me please?
#50
Posted 31 January 2004 - 07:32 PM
Frederick, on Jan 29 2004, 03:43 PM, said:
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
#51
Posted 31 January 2004 - 07:38 PM
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);
}
}
#53
Posted 07 February 2004 - 09:55 AM
that did the job!
U rule!
Edited by Frederick, 07 February 2004 - 09:56 AM.
#54
Posted 12 February 2004 - 03:36 AM
#55
Posted 02 June 2004 - 12:27 AM
Warning: Cannot modify header information - headers already sent by (output started at /home/croppi2/public_html/staging/modules.php:28) in /home/croppi2/public_html/staging/includes/modules/phpbb2/viewtopic.php on line 555
I know that the standard answer to this is that there is typically a language file somewhere with extra whitespace after the closing ?> in the file, but it seems I've checked all of them multiple times and can't find any whitespace left.
Anyone else with this problem?
I know that there are other websites with this integration working . . .
-jared
#56
Posted 05 June 2004 - 06:37 AM
Warning: Missing argument 3 for tep_get_zone_name() in \catalog\includes\functions\general.php on line 260 Warning: Cannot modify header information - headers already sent by (output started at \catalog\includes\functions\general.php:260) in \catalog\includes\functions\general.php on line 29
Another thing is the forum uses surnames (ex. JSmith), so if a user even used that account it will direct them to oscommerce and say email account cannot be found. But if the user logs in to oscommerce first, it works fine. My work around to that is to remove the actual login box and password section in the forum and just add something like: To access forum you must sign in to your oscommerce account. My greatest concern is the error specified above. Please need help badly. I've been up for days trying to get this to work.
#57
Posted 05 June 2004 - 07:54 PM
#58
Posted 05 June 2004 - 08:59 PM
But of course I still have a shopping cart error in the right column . . .
-jared
#59
Posted 06 June 2004 - 05:02 PM
Unfortunatly i commented out the cookie session in viewtopic.php as stated in the forum link you specified and still didn't work. I still get the error message when you create an account. It does make sense about the double cookie session been sent causing this error, but i can't centralize what page is sending the cookie request when you are creating an account. Thanks again and if any ideas please post.
#60
Posted 07 June 2004 - 04:24 AM
I'm still having this problem with privmsg.php and profile.php, but this may be happening only when I'm not logged in.
Still checking . ..
-jared









