phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)
版主: 版主管理群
-
ccmorange
- 星球普通子民

- 文章: 18
- 註冊時間: 2004-02-22 15:40
文章
由 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;
-
flower
- 星球公民

- 文章: 272
- 註冊時間: 2004-08-31 21:03
- 來自: 火星
-
聯繫:
文章
由 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]
-
ccmorange
- 星球普通子民

- 文章: 18
- 註冊時間: 2004-02-22 15:40
文章
由 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]
非常感謝,我試試是不是這樣。