第 1 頁 (共 1 頁)
[問題]簡易製作自己的風格 by beowolf ?
發表於 : 2002-06-30 18:22
由 [F.B.I]cf
我剛剛到PHPBB金華區,去查了一下相關資料
發現\r
templates的讀取,可以改成絕對路靖
那表示
PHPBB2的大部分圖片皆可使用免費空間的網頁空間來讀取
是這樣嗎?
因為小弟還沒實戰,只是問一問,看看理論上是不是這樣?
因為小弟的站,每天近有3000人的流量(HotRank)
我的虛擬空間168Host每月只有3G
6月1號開站...................6月12就暴掉了(被限制進入)
我預估每個月應該會耗掉12G左右\r
如果這些圖片的改道免費空間來讀取(Pchome)
那應該可以大大減少我的網站流量
請問這樣的理論上沒錯嗎?
(7點德軍Vs巴西,德國加油,卡恩千萬不要破功,3R最好破功)
發表於 : 2002-06-30 18:25
由 動機不明
以前好像有討論過類似的文章
你不妨先找找看
(或等小竹子來回答吧!他一定有印象)
[閒聊]
發表於 : 2002-06-30 20:57
由 beowolf
對. 可以的.
我自己做的風格都是用絕對連結. 你可以試試看
代碼: 選擇全部
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR><TD><A HREF="{U_FAQ}"><IMG SRC="http://cybermobius.no-ip.com/bbs/templates/milkyGrey/images/icon_mini_faq.gif" border=0></A></TD></TR>
<TR><TD><A HREF="{U_SEARCH}"><IMG SRC="http://cybermobius.no-ip.com/bbs/templates/milkyGrey/images/icon_mini_search.gif" border=0></A></TD></TR>
以下略\r
這是我的overall_header.tpl 的連結一段
你參考看看
發表於 : 2002-06-30 20:59
由 oO]-[Oo
直接改template/裡的cfg檔就可以了
發表於 : 2002-06-30 21:02
由 beowolf
原來還有這個方法, 找了好久沒找到. 嘻嘻..
發表於 : 2002-07-01 18:03
由 [F.B.I]cf
$current_template_images = $current_template_path . "/images";
$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";
$images['icon_pm'] = "$current_template_images/{LANG}/icon_pm.gif";
$images['icon_email'] = "$current_template_images/{LANG}/icon_email.gif";
$images['icon_delpost'] = "$current_template_images/icon_delete.gif";
$images['icon_ip'] = "$current_template_images/{LANG}/icon_ip.gif";
$images['icon_www'] = "$current_template_images/{LANG}/icon_www.gif";
$images['icon_icq'] = "$current_template_images/{LANG}/icon_icq_add.gif";
$images['icon_aim'] = "$current_template_images/{LANG}/icon_aim.gif";
$images['icon_yim'] = "$current_template_images/{LANG}/icon_yim.gif";
$images['icon_msnm'] = "$current_template_images/{LANG}/icon_msnm.gif";
$images['icon_minipost'] = "$current_template_images/icon_minipost.gif";
$images['icon_gotopost'] = "$current_template_images/icon_minipost.gif";
$images['icon_minipost_new'] = "$current_template_images/icon_minipost_new.gif";
$images['icon_latest_reply'] = "$current_template_images/icon_latest_reply.gif";
$images['icon_newest_reply'] = "$current_template_images/icon_newest_reply.gif";
$images['forum'] = "$current_template_images/folder_big.gif";
$images['forum_new'] = "$current_template_images/folder_new_big.gif";
$images['forum_locked'] = "$current_template_images/folder_locked_big.gif";
$images['folder'] = "$current_template_images/folder.gif";
$images['folder_new'] = "$current_template_images/folder_new.gif";
$images['folder_hot'] = "$current_template_images/folder_hot.gif";
$images['folder_hot_new'] = "$current_template_images/folder_new_hot.gif";
$images['folder_locked'] = "$current_template_images/folder_lock.gif";
$images['folder_locked_new'] = "$current_template_images/folder_lock_new.gif";
$images['folder_sticky'] = "$current_template_images/folder_sticky.gif";
$images['folder_sticky_new'] = "$current_template_images/folder_sticky_new.gif";
$images['folder_announce'] = "$current_template_images/folder_announce.gif";
$images['folder_announce_new'] = "$current_template_images/folder_announce_new.gif";
$images['post_new'] = "$current_template_images/{LANG}/post.gif";
$images['post_locked'] = "$current_template_images/{LANG}/reply-locked.gif";
$images['reply_new'] = "$current_template_images/{LANG}/reply.gif";
$images['reply_locked'] = "$current_template_images/{LANG}/reply-locked.gif";
$images['pm_inbox'] = "$current_template_images/msg_inbox.gif";
$images['pm_outbox'] = "$current_template_images/msg_outbox.gif";
$images['pm_savebox'] = "$current_template_images/msg_savebox.gif";
$images['pm_sentbox'] = "$current_template_images/msg_sentbox.gif";
$images['pm_readmsg'] = "$current_template_images/folder.gif";
$images['pm_unreadmsg'] = "$current_template_images/folder_new.gif";
$images['pm_replymsg'] = "$current_template_images/{LANG}/reply.gif";
$images['pm_postmsg'] = "$current_template_images/{LANG}/msg_newpost.gif";
$images['pm_quotemsg'] = "$current_template_images/{LANG}/icon_quote.gif";
$images['pm_editmsg'] = "$current_template_images/{LANG}/icon_edit.gif";
$images['pm_new_msg'] = "";
$images['pm_no_new_msg'] = "";
$images['topic_watch'] = "";
$images['topic_un_watch'] = "";
$images['topic_mod_lock'] = "$current_template_images/topic_lock.gif";
$images['topic_mod_unlock'] = "$current_template_images/topic_unlock.gif";
$images['topic_mod_split'] = "$current_template_images/topic_split.gif";
$images['topic_mod_move'] = "$current_template_images/topic_move.gif";
$images['topic_mod_delete'] = "$current_template_images/topic_delete.gif";
$images['voting_graphic'][0] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][1] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][2] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][3] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][4] = "$current_template_images/voting_bar.gif";
把上面都改成絕對路徑就可以了嗎?
例current_template_images/voting_bar.gif"
改成current_template_images/home.pchome.......voting_bar.gif"
是這樣嗎?
發表於 : 2002-07-01 18:06
由 oO]-[Oo
沒錯..
發表於 : 2002-07-02 12:41
由 [F.B.I]cf
發表於 : 2002-07-02 13:13
由 [F.B.I]cf
ok
我已經解決上面了
那logo_phpBB.gif
畫面左上方的logo要道哪裡改?
發表於 : 2003-08-31 21:52
由 maostudio
跟你風格一樣名稱的那個 *.cfg