[問題]簡易製作自己的風格 by beowolf ?

phpBB 2 Style Support
討論的範圍包含版面排列、樣式、配置;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
[F.B.I]cf
星球公民
星球公民
文章: 45
註冊時間: 2002-02-26 19:14

[問題]簡易製作自己的風格 by beowolf ?

文章 [F.B.I]cf »

我剛剛到PHPBB金華區,去查了一下相關資料
發現\r
<table cellpadding="0" cellspacing="0" width="780" height="69"><td width="780" height="69"><img src="http://cybermobius.no-ip.com/bbs/templa ... topbar.gif" width="780" height="69"></td></table>
<table cellpadding="0" cellspacing="0" width="780" height="23"><td width="780" height="23" background="http://cybermobius.no-ip.com/bbs/templa ... ges/bg.gif" valign="top">
<span class="t-text"><B><font color="#FFFFFF">Cybermobius.com:</font> <A href="{U_INDEX}"><font color="#FFFFFF">{L_INDEX}</font></a> |
templates的讀取,可以改成絕對路靖
那表示PHPBB2的大部分圖片皆可使用免費空間的網頁空間來讀取
是這樣嗎?
因為小弟還沒實戰,只是問一問,看看理論上是不是這樣?

因為小弟的站,每天近有3000人的流量(HotRank)
我的虛擬空間168Host每月只有3G
6月1號開站...................6月12就暴掉了(被限制進入)
我預估每個月應該會耗掉12G左右\r
如果這些圖片的改道免費空間來讀取(Pchome)
那應該可以大大減少我的網站流量
請問這樣的理論上沒錯嗎?


(7點德軍Vs巴西,德國加油,卡恩千萬不要破功,3R最好破功)
立志當醫生
動機不明
喝咖啡的綠皮猴
喝咖啡的綠皮猴
文章: 1179
註冊時間: 2002-03-06 20:37
來自: GOP (重啟)

文章 動機不明 »

以前好像有討論過類似的文章
你不妨先找找看 :)

(或等小竹子來回答吧!他一定有印象)
非官方外掛問題區公告: [必看]請配合發問格式及明確主題發問(2006 02/24更新)
七點要求:
1. 發問前先搜尋,確定沒有重複後再發表
2. 主題要明確
3. 依照發問格式
4. 禁連續推文
5. 請盡量減少使用地方性語言
6. 解決問題後請修改第一篇主題,並感謝曾經幫過你的前輩們 ^^
7. 請不要將檔案內容完整貼出喔! 只要提供問題行及上下各五行就可以了
beowolf
竹貓好朋友
竹貓好朋友
文章: 267
註冊時間: 2002-04-11 21:23
來自: 竹貓東京分局
聯繫:

[閒聊]

文章 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 的連結一段
你參考看看
圖檔2014新作-達人聯盟

斷斷續續玩了12年的phpbb. 真的看不上別的論壇啊..
oO]-[Oo
南宮博士
南宮博士
文章: 512
註冊時間: 2001-11-11 18:09
來自: TAIWAN
聯繫:

文章 oO]-[Oo »

直接改template/裡的cfg檔就可以了
OOHOO said:
有事Mail給我, 不要P我, 因為根本沒辦法P.
beowolf
竹貓好朋友
竹貓好朋友
文章: 267
註冊時間: 2002-04-11 21:23
來自: 竹貓東京分局
聯繫:

文章 beowolf »

原來還有這個方法, 找了好久沒找到. 嘻嘻..
圖檔2014新作-達人聯盟

斷斷續續玩了12年的phpbb. 真的看不上別的論壇啊..
[F.B.I]cf
星球公民
星球公民
文章: 45
註冊時間: 2002-02-26 19:14

文章 [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"
是這樣嗎?
立志當醫生
oO]-[Oo
南宮博士
南宮博士
文章: 512
註冊時間: 2001-11-11 18:09
來自: TAIWAN
聯繫:

文章 oO]-[Oo »

沒錯..
OOHOO said:
有事Mail給我, 不要P我, 因為根本沒辦法P.
[F.B.I]cf
星球公民
星球公民
文章: 45
註冊時間: 2002-02-26 19:14

文章 [F.B.I]cf »

問題大條了
修改cfg後,看看網頁,卻變成這樣\r
http://fbi.999host.net/fbi/templates/su ... n/post.gif
立志當醫生
[F.B.I]cf
星球公民
星球公民
文章: 45
註冊時間: 2002-02-26 19:14

文章 [F.B.I]cf »

ok
我已經解決上面了
那logo_phpBB.gif
畫面左上方的logo要道哪裡改?
立志當醫生
maostudio
竹貓好朋友
竹貓好朋友
文章: 380
註冊時間: 2002-07-02 01:59
來自: BayArea
聯繫:

文章 maostudio »

跟你風格一樣名稱的那個 *.cfg
圖檔
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

ITPE!!
主題已鎖定

回到「風格問題討論」