參考連結:shi < shi@roc.as-hosting-pro.com > (Peng Shi) http://roc.myz.info
## Ray < blue_sky_ray@hotmail.com > (Fung Tsz Yin) http://optional.iradio.com.tw/phpbbx
使用版本:1.0.2 Beta
狀況描述:
我安裝Advanced Hide Post, 之後按發表主題...淨出左句錯誤訊息:
Parse error: parse error, expecting `')'' in /home/mos/public_html/phpBB2/posting.php on line 702
Line 696~716
代碼: 選擇全部
// here we have added
// , $topic_calendar_time, $topic_calendar_duration
//-- modify
prepare_post( // Advanced Hide Post MOD
if ( ($hiding_type < NORMAL_READ) or ($hiding_type > MAX_HIDE_TYPE) )
$hiding_type = NORMAL_READ;
if ( ($hiding_type < MIN_HIDE_WITH_VALUE) )
$hiding_value = 0;
elseif ($hiding_value == 0)
$hiding_type = NORMAL_READ;
$hiding_info_box = '';
if ( $hiding_type )
{
if ( $allow_hide[$hiding_type] && $auth_hide[$hiding_type] )
{
if ($hiding_type >= MIN_HIDE_WITH_VALUE)
{
if ( $hiding_type < MIN_HIDE_WITH_CASH )
系統管理控制台左上角就出呢句...
Parse error: parse error in /home/mos/public_html/phpBB2/admin/admin_ug_auth.php on line 86
Line74~96
代碼: 選擇全部
'auth_view' => AUTH_VIEW,
'auth_read' => AUTH_READ,
'auth_post' => AUTH_POST,
'auth_reply' => AUTH_REPLY,
'auth_edit' => AUTH_EDIT,
'auth_delete' => AUTH_DELETE,
'auth_sellpost' => AUTH_SELLPOST,
'auth_hide4reply' => AUTH_HIDE4REPLY,
'auth_hide4posts' => AUTH_HIDE4POSTS,
'auth_hide4fortune' => AUTH_HIDE4FORTUNE);
//-- mod : calendar --------------------------------------------------------------------------------
//-- add
'auth_cal' => AUTH_CAL,
//-- fin mod : calendar ----------------------------------------------------------------------------
'auth_sticky' => AUTH_STICKY,
'auth_announce' => AUTH_ANNOUNCE,
'auth_vote' => AUTH_VOTE,
'auth_pollcreate' => AUTH_POLLCREATE,
'auth_ban' => AUTH_BAN,
'auth_greencard' => AUTH_GREENCARD,
'auth_bluecard' => AUTH_BLUECARD,
'auth_globalannounce' => AUTH_GLOBALANNOUNCE);
不知發生了甚麽事呢?...