1 頁 (共 1 頁)

[問題]我的privmsgs_popup.tpl怎麼這麼醜咧

發表於 : 2004-01-17 05:21
aiken
不知道為什麼....
我的私人訊息彈出視窗醜的可以....
圖檔
真的很醜吧...
而且我也試了好幾種不同的privmsgs_popup.tpl寫法
明明在fisubsilversh顯示是正常的..但是在fisubice, fisubgraysh, fiblack就是沒辦法好好的顯示出來...(我論壇上的其他風格都是正常的)

各位可以幫我想一下會這樣子的原因嗎?
以下是我fiblack的privmsgs_popup.tpl檔

代碼: 選擇全部

<script language="javascript" type="text/javascript">
<!--
function jump_to_inbox()
{
	opener.document.location.href = "{U_PRIVATEMSGS}";
	window.close();
}
//-->
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td class="bodyline">
<table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline">
<tr>
<td class="row1" align="center"><br />
<span class="genmed">{L_MESSAGE}<br />
<br />
<a href="javascript:window.close();">{L_CLOSE_WINDOW}</a></span><br />
<br />
</td>
</tr>
</table>
</td>
</tr>
</table>
謝謝啦~~

發表於 : 2004-01-17 05:32
GeniusKiKi
那是沒有讀到 Css 檔的關係吧\r
看一下是不是呼叫 Css 錯誤

發表於 : 2004-01-17 05:34
aiken
GeniusKiKi 寫:那是沒有讀到 Css 檔的關係吧\r
看一下是不是呼叫 Css 錯誤
ㄛ....要怎麼看............

發表於 : 2004-01-17 05:45
GeniusKiKi
重新整理後也一樣醜嗎?
檢視原始檔試試看...

發表於 : 2004-01-17 05:51
aiken
檢視原始檔發現真的有錯誤耶~~
你真厲害~~
可是....

代碼: 選擇全部

<?xml version="1.0" encoding="big5"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5"  />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>大頭真論壇 :: 私人訊息</title>
<link rel="stylesheet" [color=red]href="templates/fisubsilversh/fiblack.css"[/color] type="text/css" />
</head>
<body> 
<a name="top" id="top"></a>
<script language="javascript" type="text/javascript">
<!--
function jump_to_inbox()
{
	opener.document.location.href = "privmsg.php?folder=inbox";
	window.close();
}
//-->
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td class="bodyline">
<table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline">
<tr>
<td class="row1" align="center"><br />
<span class="genmed">您收到了新的私人訊息<br /><br />點選 <a href="privmsg.php?folder=inbox" onclick="jump_to_inbox();return false;" target="_new">這裡</a> 進入私人訊息收件夾<br />
<br />
<a href="javascript:window.close();">關閉視窗</a></span><br />
<br />
</td>
</tr>
</table>
</td>
</tr>
</table>

<div class="gensmall" align="center"><br />
<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
	reason) retain the full copyright we request you at least leave in place the 
	Powered by phpBB 2.0.3 line, with phpBB linked to www.phpbb.com. If you refuse
	to include even this then support on our forums may be affected. 

	The phpBB Group : 2002
// -->
Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> 2.0.3 © 2001,2002 phpBB Group</div>
</body>
</html>
這是我的fiblack裡面的privmsg_popup.tpl
我找遍了overall_header.tpl跟page_header.tpl就是找不到他寫fisubsilver的那段是藏在哪裡

發表於 : 2004-01-17 06:16
GeniusKiKi
找一個有 "搜尋所有文件" 功能的程式
搜尋一下 "fisubsilversh" 字串吧\r

也許會有意外收穫

發表於 : 2004-01-17 06:18
aiken
GeniusKiKi 寫:找一個有 "搜尋所有文件" 功能的程式
搜尋一下 "fisubsilversh" 字串吧\r

也許會有意外收穫
感謝啦~~
我已經找到了~~
在一個我從來沒開過沒看過的檔案裡面....
simple_header.tpl
已經OK嚕~~~~嘿嘿... :mrgreen:

其實會有這種問題就是因為我當初在裝這麼多風格的時候...
我都是直接用覆蓋的
ex: fisubsilver內的tpl全部蓋到 fisubice, fisubgraysh, fiblack
所以有些地方沒改到才這樣....
不過用覆蓋的可以快速新增風格~~~不用一個一個MOD慢慢改~

發表於 : 2004-01-17 06:29
GeniusKiKi
我沒你那麼變態
我打死也不裝第二個風格~ 一.一||

我是 MOD 狂人阿~ XD

發表於 : 2004-01-17 07:13
aiken
GeniusKiKi 寫:我沒你那麼變態
我打死也不裝第二個風格~ 一.一||

我是 MOD 狂人阿~ XD
你絕對想不到的....
就在這個小問題解決之後....嘿嘿\r
我立刻又加裝了三個風格~~fiapple系列的
目前10風格嚕....而且安裝的過程很順利又很快啊~~

改天我來寫一篇快速多風格安裝的教學好了~~
應該滿實用的~~

發表於 : 2004-01-17 07:30
GeniusKiKi
變... 變... 變態...
你是大變態...

發表於 : 2004-01-17 07:34
GeniusKiKi
你的 FI Apple 系列的
檢視文章縮圖的地方沒有修正
導致畫面突出視窗

對了 sub 系列的要到哪邊抓?
我去裝一拖拉庫 sub 好了~ 一.一

發表於 : 2004-01-17 07:40
aiken
GeniusKiKi 寫:你的 FI Apple 系列的
檢視文章縮圖的地方沒有修正
導致畫面突出視窗

對了 sub 系列的要到哪邊抓?
我去裝一拖拉庫 sub 好了~ 一.一
雖然裝的很快速...可是也沒這麼快.................
apple系列原來的overll_header有標籤的設計~但是我覺得很醜沒用\r
弄了好久不能夠加上他原來的外框...還是晚點來試試看竹貓外框的裝法好了
選單那邊還要再調....

你說哪個sub系列?
subsilver系列還是fisubsilver系列?
subsilver系列就在phpbb官網抓的
fisubsilver系列就在FI Theme抓的

發表於 : 2004-01-17 07:42
aiken
對了....有句話想告訴大家....
一般來說...通常都會建議先決定要裝什麼風格之後再來裝外掛
但是如果以我這樣子的作法的話...最好是把全部的外掛都裝好之後再來裝風格...
這樣子才有辦法最快...
不然等風格裝好要再來裝外掛......可是每個風格都要改~~ㄟ細.....

發表於 : 2004-01-17 07:44
GeniusKiKi
aiken 寫:雖然裝的很快速...可是也沒這麼快.................
apple系列原來的overll_header有標籤的設計~但是我覺得很醜沒用\r
弄了好久不能夠加上他原來的外框...還是晚點來試試看竹貓外框的裝法好了
選單那邊還要再調....
so...
原本的那種上面一排按鈕
真的有點小醜...
我看了你另外 Apple Blue 那個蠻不錯的阿\r
簡單明瞭\r
aiken 寫:你說哪個sub系列?
subsilver系列還是fisubsilver系列?
subsilver系列就在phpbb官網抓的
fisubsilver系列就在FI Theme抓的
subsilver 系列
But 我是英文白癡\r
找不太到下載點~ 一.一|||
還有 subsilver 系列好像沒幾個?

--

http://www.phpbb.com/phpBB/catdb.php?cat=12
這個網址只有兩個 subsilver 系列的
分別是 subCorolla 與 subBlack 1.04
不過 subCorolla 看起來跟預設風格差很多
還有其他的放在別的地方嗎?

發表於 : 2004-01-17 08:00
aiken
subBlack 1.04 http://www.phpbb.com/phpBB/catdb.php?mo ... &id=863120
subVereor http://www.phpbb.com/phpBB/catdb.php?mo ... &id=480457
官網剩這兩個
我還有subRed 跟subblack3D http://aikenlin.idv.tw/phpbb2/viewtopic.php?t=1575
subblack3D不太建議裝...個人覺得有點醜..而且他的設計跟subsilver差滿多的沒辦法用蓋的(不過你可以試試看再來跟我說)

還有件事提醒你唷~~
安裝的步驟大概是\r
1.解壓縮\r
2.複製解壓縮之後的資料夾到論壇的風格資料夾\r
3.後台安裝風格\r
4.使用其他同系列的tpl檔案全部覆蓋(只有images目錄與theme_info.cfg不用其他全部都要)
5.使用比較好的編輯軟體(ex.ultraedit)打開全部tpl及cfg及css檔
6.將原本的風格名字全部取代(如果從subsilver烤過來的就全部取代成新的風格名字)
7.打開原本的cfg檔及新的cfg檔, 將舊的內容全部覆蓋到新的cfg檔然後重複步驟6.
請保留新的cfg裡面的這段不要更改\r

代碼: 選擇全部

//
// Do not alter this line!
//
define(TEMPLATE_CONFIG, TRUE);

$current_template_images = $current_template_path . "/images";
$topic_iw = '56';
$topic_ih = '23';
$post_iw = '80';
$post_ih = '20';
$icon_iw = '24';
$icon_ih = '23';
$folder_iw = '40';
$folder_ih = '30';
**8.建議使用一個專門測試用的帳號登入並且切換到新風格測試(以免admin的帳號遭遇不測~不過也可以從資料庫改回來但是我不想)**
9.尋找缺少的圖檔從舊的風格資料夾複製到新的風格資料夾\r
10.其他就自己微調自己發揮了

就這樣而已~~是不是很簡單啊~~
安裝個20個風格應該沒問題(FI系列的比較適合)
但是重點是同一個系列的才可以這樣做...不然應該會很醜...