代碼: 選擇全部
2008-07-03- Version 0.0.8
Update server name and version number (adm/mods/phpbb_calendar_version.php)
Add option to allow everyday users to see hidden groups on invite list (adm/style/acp_calendar.html, includes/acp/acp_calendar.php, includes/functions_calendar.php, language/en/mods/calendar.php)
Remove bogus warning when deleting an event type that was not referenced by any events (adm/style/acp_calendar_event_types.html, includes/acp/acp_calendar.php)
Added color swatch to edit event type in ACP (adm/style/acp_calendar_event_types.html, includes/acp/acp_calendar.php)
Correct calls to request_var with integer type values (includes/acp/acp_calendar.php, includes/functions_calendar.php, calendarpost.php)
Remove alternate cron text - firefox bug unrelated to this mod, but many users complained about it so the fix is here if you want it (includes/functions.php)
Display full event subject text on mouseover tooltip (includes/functions_calendar.php, styles/prosilver/template/calendar.html, styles/prosilver/template/calendar_next_events_on_index.html, styles/prosilver/template/calendar_view_day.html, styles/prosilver/template/calendar_week_on_index.html)
Relocate the calendar on the index page (styles/prosilver/template/index_body.html)
Prevent display of invalid days like February 31st - even if the user selected that option from the pulldown menu on purpose (includes/functions_calendar.php)
Fix bug with displaying extra smilies when posting events (includes/functions_calendar.php)
Remove ALL_DAY_STARTING - no longer used (language/en/calendar.php, language/en/calendarpost.php)
On new event confirmation page, add link to view the newly created event (calendarpost.php)
0.0.7 Update 0.0.8 成功經驗
#
#-----[ SQL ]-----
#
代碼: 選擇全部
INSERT INTO `phpbb_calendar_config` (`config_name`, `config_value`) VALUES ('display_hidden_groups', '0');
#
#-----[ UPLOAD ]-----
# ps. 重新上傳所有附加檔案
COPY root/*.* TO phpbb3_root/*.*
COPY templates/prosilver/*.* TO phpbb3_root/styles/prosilver/*.*
#
#-----[ OPEN ]-----
#
includes/functions.php
#
#-----[ FIND ]-----
#
代碼: 選擇全部
$template->assign_var('RUN_CRON_TASK', '<img src="' . append_sid($phpbb_root_path . 'cron.' . $phpEx, 'cron_type=' . $cron_type) . '" width="1" height="1" alt="cron" />');
#
#-----[ REPLACE WITH ]-----
#
代碼: 選擇全部
$template->assign_var('RUN_CRON_TASK', '<img src="' . append_sid($phpbb_root_path . 'cron.' . $phpEx, 'cron_type=' . $cron_type) . '" width="1" height="1" />');
#
#-----[ SAVE & CLOSE ]-----
#
中文化分享:
ps. 此乃參考上頭
dendrimer 的譯文加以修改 (感謝其分享), 並針對 0.0.8 增減.
#
#-----[ OPEN ]-----
#
language/zh_cmn_hant/acp/common.php
#
#-----[ FIND ]-----
#
代碼: 選擇全部
'ACP_BOTS' => '管理機器人',
#
#-----[ AFTER, ADD ]-----
#
代碼: 選擇全部
'ACP_CALENDAR' => '行事曆',
'ACP_CALENDAR_SETTINGS' => '行事曆設定',
'ACP_CALENDAR_DELETE_EVENT_TYPE' => '刪除事件類型',
'ACP_CALENDAR_ETYPES' => '管理事件類型',
#
#-----[ OPEN ]-----
#
language/zh_cmn_hant/acp/styles.php
#
#-----[ FIND ]-----
#
代碼: 選擇全部
'IMG_ICON_USER_WARN' => '警告會員',
#
#-----[ AFTER, ADD ]-----
#
代碼: 選擇全部
'IMG_BUTTON_CALENDAR_NEW' => '新的事件',
'IMG_BUTTON_CALENDAR_DAY' => '以每天模式檢視',
'IMG_BUTTON_CALENDAR_WEEK' => '以每週模式檢視',
'IMG_BUTTON_CALENDAR_MONTH' => '以每月模式檢視',
#
#-----[ OPEN ]-----
#
language/zh_cmn_hant/common.php
#
#-----[ FIND ]-----
#
代碼: 選擇全部
'CANCEL' => '取消',
#
#-----[ BEFORE, ADD ]-----
#
代碼: 選擇全部
'CALENDAR' => '行事曆',
#
#-----[ SAVE & CLOSE ]-----
#
此檔解壓縮後, 將 /zh_cmn_hant/*.* 上傳 language/zh_cmn_hant/*.*
ps.
原外掛作者留言:
1. 此外掛稍具難度, 不建議新手安裝.
2. 此外掛尚在發展中, 不建議正常使用中的論壇使用.