‧上網方式:ADSL
‧安裝的程式:MySQL 4.1.20
‧phpBB 版本:phpBB 3.0.1
‧domain (網域名稱) : eq2.3d-olg.net
‧phpBB 連結網址: http://eq2.3d-olg.net/community/
‧風格: prosilver base 的修改官方風格
‧安裝外掛:
‧Advanced Quick Reply - 快速回覆框
‧Activity Stats Mod - 活動紀錄狀況外掛
‧NV Advanced Last Topic Titles v1.2.3 - 最新文章主題顯示
‧phpbb Calendar v0.0.7 - 行事曆
‧wp-united phpbb3 - WordPress 整合至 phpBB3
‧Display age in VT - 於閱覽主題頁面顯示作者年齡
‧Reimg Image Resizer (+lightbox) - 自動縮圖 + 燈箱
由於最近有需要,所以想嘗試看看會員能否變更語言為 British English,不過發現只要變更後進入論壇會完全讀不到東西,查閱該頁的原始碼也是一片空白,讓我懷疑是否是 header 出了問題。
稍微查閱了一下我的 overall_header.html 這個檔案,程式碼如下:
代碼: 選擇全部
<!-- IF WP_DTD -->{WP_DTD}<!-- ELSE --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><!-- ENDIF -->
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2008 The Sun Moon Guild" />
<meta name="keywords" content="everquest, everquestII, everquest2, EQ, EQ2, guild, najena, the sun moon, tsm, 無盡的任務II, 無盡的任務2, 天地日月" />
<meta name="description" content="美版無盡的任務 II 於 Najena 伺服器公會 - 天地日月 (The Sun Moon) 論壇。" />
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- IF PHPBB_BASE --><base href="{PHPBB_BASE}" /><!-- ENDIF -->
<!-- IF WP_HEADERINFO_EARLY -->{WP_HEADERINFO_EARLY}<!-- ENDIF -->
<script type="text/javascript">
// <![CDATA[
var jump_page = '{L_JUMP_PAGE}:';
var on_page = '{ON_PAGE}';
var per_page = '{PER_PAGE}';
var base_url = '{BASE_URL}';
var style_cookie = 'phpBBstyle';
var onload_functions = new Array();
var onunload_functions = new Array();
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
var url = '{UA_POPUP_PM}';
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
}
<!-- ENDIF -->
/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}
/**
* New function for handling multiple calls to window.onload and window.unload by pentapenguin
*/
window.onload = function()
{
for (var i = 0; i < onload_functions.length; i++)
{
eval(onload_functions[i]);
}
}
window.onunload = function()
{
for (var i = 0; i < onunload_functions.length; i++)
{
eval(onunload_functions[i]);
}
}
// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>
<!-- IF T_STYLESHEET_LINK and not S_FORCE_EMBED_STYLE -->
<link rel="shortcut icon" type="image/x-icon" href="/eq2.ico" />
<script type="text/javascript">
// <![CDATA[
/**
* Resize too large images
*/
<!-- IF S_REIMG -->
var reimg_maxWidth = {REIMG_MAX_WIDTH}, reimg_maxHeight = {REIMG_MAX_HEIGHT}, reimg_relWidth = {REIMG_REL_WIDTH};
<!-- IF S_REIMG_SWAP_PORTRAIT -->
var reimg_swapPortrait = true;
<!-- ENDIF -->
<!-- IF S_REIMG_ZOOM -->
var reimg_zoomImg = "{T_IMAGES_PATH}spacer.gif";
var reimg_zoomStyle = "<!-- IF REIMG_ZOOM_IN_IMG_SRC --><!-- IF REIMG_ZOOM_IN_IMG_WIDTH -->width: {REIMG_ZOOM_IN_IMG_WIDTH}px; <!-- ENDIF --><!-- IF REIMG_ZOOM_IN_IMG_HEIGHT -->height: {REIMG_ZOOM_IN_IMG_HEIGHT}px; <!-- ENDIF -->background: url({REIMG_ZOOM_IN_IMG_SRC}) top left no-repeat; <!-- ELSE -->width: 20px; height: 20px; background: green; <!-- ENDIF -->filter: Alpha(Opacity=50); opacity: .50;";
var reimg_zoomHover = "background-position: 0 100%; cursor: pointer; filter: Alpha(Opacity=100); opacity: 1.00;";
var reimg_zoomAlt = "{L_REIMG_ZOOM_IN}";
var reimg_zoomTarget = "{S_REIMG_ZOOM}";
<!-- ENDIF -->
<!-- ENDIF -->
function reimg(img, width, height) { window.reimg_version ? reimg_resize(img, width, height) : null; }
// ]]>
</script>
<!-- IF S_REIMG -->
<script type="text/javascript" src="./styles/reimg.js"></script>
<!-- IF S_REIMG_ZOOM and (S_DISPLAY_REVIEW or S_DISPLAY_HISTORY) -->
<style type="text/css" media="screen, projection"><!--
#topicreview .reimg-zoom { display: none; }
--></style>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF S_REIMG_LITEBOX -->
<script type="text/javascript">
// <![CDATA[
/**
* Light box for resized images
*/
var litebox_alt = "{L_IMAGE}";
<!-- IF S_REIMG_LITEBOX eq '_litebox' -->
var litebox_zoomImg = reimg_zoomImg;
var litebox_zoomStyle = reimg_zoomStyle;
var litebox_zoomHover = reimg_zoomHover;
var litebox_zoomAlt = reimg_zoomAlt;
<!-- ELSEIF S_REIMG_LITEBOX eq '_litebox1' -->
var reimg_zoomLevel = 100;
<!-- ENDIF -->
var litebox_closeImg = reimg_zoomImg;
var litebox_closeStyle = "<!-- IF REIMG_ZOOM_OUT_IMG_SRC --><!-- IF REIMG_ZOOM_OUT_IMG_WIDTH -->width: {REIMG_ZOOM_OUT_IMG_WIDTH}px; <!-- ENDIF --><!-- IF REIMG_ZOOM_OUT_IMG_HEIGHT -->height: {REIMG_ZOOM_OUT_IMG_HEIGHT}px; <!-- ENDIF -->background: url({REIMG_ZOOM_OUT_IMG_SRC}) top left no-repeat; <!-- ELSE -->width: 20px; height: 20px; background: red; <!-- ENDIF -->filter: Alpha(Opacity=50); opacity: .50;";
var litebox_closeHover = reimg_zoomHover;
var litebox_closeAlt = "{L_REIMG_ZOOM_OUT}";
var litebox_rtl = <!-- IF S_CONTENT_DIRECTION eq 'rtl' -->true<!-- ELSE -->false<!-- ENDIF -->;
// ]]>
</script>
<script type="text/javascript" src="./styles/litebox.js"></script>
<!-- ENDIF -->
<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="/theme/index.css" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
<!-- ELSE -->
<style type="text/css" media="screen, projection">
{T_THEME_DATA}
</style>
<!-- ENDIF -->
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<!-- IF WP_HEADERINFO_LATE -->{WP_HEADERINFO_LATE}<!-- ENDIF -->
</head>
我主要懷疑是安裝 MOD 的時候改到哪邊出錯了,所以目前還在嘗試修改中,有沒有前輩有碰過類似狀況呢?
另外到我的站上註冊,在語言下拉選單那邊選到 British English 就會發生我所碰到的狀況。