1 頁 (共 1 頁)

[問題] 加入快速回文後,會員資料就不能看到。

發表於 : 2004-12-28 23:47
ccmorange
http://www.orangesoccer.net/phpBB2/prof ... ditprofile

使用:Super Quick Reply MOD Version: 1.1.1

Parse error: parse error, unexpected T_VARIABLE, expecting ')' in /home/content/o/r/a/orangesoccer/html/phpBB2/includes/usercp_register.php on line 77

代碼: 選擇全部

if ( $mode == 'register' && !isset($HTTP_POST_VARS['agreed']) && !isset($HTTP_GET_VARS['agreed']) )
{
	include($phpbb_root_path . 'includes/page_header.'.$phpEx);

	show_coppa();

	include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
}

$coppa = ( empty($HTTP_POST// 
// Verify Custom Title Status 
// 
$membertime = ($mode != 'register') ? (time() - $userdata['user_regdate']) : 0;
$custom_title_activated = FALSE;
if (( $userdata['user_custom_title_status'] == CUSTOM_TITLE_ENABLED ) || 
	(( $userdata['user_custom_title_status'] == CUSTOM_TITLE_REGDATE ) && 
	( $membertime >= $board_config['custom_title_days'] * 86400) && 
	( $userdata['user_posts'] >= $board_config['custom_title_posts']))) 
{ 
	$custom_title_activated = TRUE; 
}
_VARS['coppa']) && empty($HTTP_GET_VARS['coppa']) ) ? 0 : TRUE;

發表於 : 2004-12-29 00:09
flower
請檢查看看紅色的部份 紅色的部份應該是完整的一行
看樣子中間那段是插錯位置了

代碼: 選擇全部

[color=red]$coppa = ( empty($HTTP_POST[/color]//
// Verify Custom Title Status
//
$membertime = ($mode != 'register') ? (time() - $userdata['user_regdate']) : 0;
$custom_title_activated = FALSE;
if (( $userdata['user_custom_title_status'] == CUSTOM_TITLE_ENABLED ) ||
   (( $userdata['user_custom_title_status'] == CUSTOM_TITLE_REGDATE ) &&
   ( $membertime >= $board_config['custom_title_days'] * 86400) &&
   ( $userdata['user_posts'] >= $board_config['custom_title_posts'])))
{
   $custom_title_activated = TRUE;
}
[color=red]_VARS['coppa']) && empty($HTTP_GET_VARS['coppa']) ) ? 0 : TRUE; [/color]

發表於 : 2004-12-30 02:28
ccmorange
flower 寫:請檢查看看紅色的部份 紅色的部份應該是完整的一行
看樣子中間那段是插錯位置了

代碼: 選擇全部

[color=red]$coppa = ( empty($HTTP_POST[/color]//
// Verify Custom Title Status
//
$membertime = ($mode != 'register') ? (time() - $userdata['user_regdate']) : 0;
$custom_title_activated = FALSE;
if (( $userdata['user_custom_title_status'] == CUSTOM_TITLE_ENABLED ) ||
   (( $userdata['user_custom_title_status'] == CUSTOM_TITLE_REGDATE ) &&
   ( $membertime >= $board_config['custom_title_days'] * 86400) &&
   ( $userdata['user_posts'] >= $board_config['custom_title_posts'])))
{
   $custom_title_activated = TRUE;
}
[color=red]_VARS['coppa']) && empty($HTTP_GET_VARS['coppa']) ) ? 0 : TRUE; [/color]
非常感謝,我試試是不是這樣。