為了減少流量...小弟想把phpbb2/images/下面的圖片路徑設定為外連...
由別的伺服器讀取...請問小弟該重哪些檔案下手...
[問題]請問圖片外連的問題
版主: 版主管理群
版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
[問題]請問圖片外連的問題
遇到問題大家都會急,但是不按照發問格式也不會有人理你,所以按照發問格式,詳細描訴問題,才是解決問題的好方法,這是我在這裡學到的,跟大家共勉之!
我沒有記錯的話,要改的應該是 .cfg 及 *.tpl ,去搜尋檔案內有image的路徑將它修改成你外連的路徑!
非官方外掛問題區公告: [必看]請配合發問格式及明確主題發問(2004 02/16更新)
竹貓星球發問規則:
http://phpbb-tw.net/phpbb/viewtopic.php?t=16149
請不要濫用 私人訊息 或是 MSN 問問題...你以為竹貓是架好看的阿
竹貓星球發問規則:
http://phpbb-tw.net/phpbb/viewtopic.php?t=16149
請不要濫用 私人訊息 或是 MSN 問問題...你以為竹貓是架好看的阿
請問 cfg 檔案中的
$current_template_images = $current_template_path . "/images";
//
// Default Avatar MOD
//
$images['default_avatar'] = "$current_template_images/no_avatar.gif";
$images['guest_avatar'] = "$current_template_images/guest_avatar.gif";
$images['icon_quote'] = "$current_template_images/{LANG}/icon_quote.gif";
$images['icon_edit'] = "$current_template_images/{LANG}/icon_edit.gif";
$images['icon_search'] = "$current_template_images/{LANG}/icon_search.gif";
$images['icon_profile'] = "$current_template_images/{LANG}/icon_profile.gif";
.
.
.
請問這段連結中的$current_template_images = $current_template_path . "/images";要如何修改動應外連的資料夾!?
例如 http://www.pchome.com.tw/cool/123/123/images/
我將網址覆蓋結果會顯示程式錯誤...想請求正確的改法...係謝..
$current_template_images = $current_template_path . "/images";
//
// Default Avatar MOD
//
$images['default_avatar'] = "$current_template_images/no_avatar.gif";
$images['guest_avatar'] = "$current_template_images/guest_avatar.gif";
$images['icon_quote'] = "$current_template_images/{LANG}/icon_quote.gif";
$images['icon_edit'] = "$current_template_images/{LANG}/icon_edit.gif";
$images['icon_search'] = "$current_template_images/{LANG}/icon_search.gif";
$images['icon_profile'] = "$current_template_images/{LANG}/icon_profile.gif";
.
.
.
請問這段連結中的$current_template_images = $current_template_path . "/images";要如何修改動應外連的資料夾!?
例如 http://www.pchome.com.tw/cool/123/123/images/
我將網址覆蓋結果會顯示程式錯誤...想請求正確的改法...係謝..
遇到問題大家都會急,但是不按照發問格式也不會有人理你,所以按照發問格式,詳細描訴問題,才是解決問題的好方法,這是我在這裡學到的,跟大家共勉之!
找到答案了
$current_template_images = "http://www.pchome.com.tw/cool/123/123/images/";
尋找 phpbb2/images/ 外連改法中...
請問有沒有人知道如何修改phpbb2/images的預設連結路徑呢...
底下好像有 個人頭像.笑臉...
$current_template_images = "http://www.pchome.com.tw/cool/123/123/images/";
尋找 phpbb2/images/ 外連改法中...
請問有沒有人知道如何修改phpbb2/images的預設連結路徑呢...
底下好像有 個人頭像.笑臉...
遇到問題大家都會急,但是不按照發問格式也不會有人理你,所以按照發問格式,詳細描訴問題,才是解決問題的好方法,這是我在這裡學到的,跟大家共勉之!

