1 頁 (共 1 頁)

[問題]Ajax Shoutbox的插入問題...(已解決)

發表於 : 2008-02-17 12:39
lzong
我使用的風格是N.Design,但Ajax Shoutbox安裝的語法插入是使用prosilver作代表,問題是N.Design的語法並沒有這些啊? :(

代碼: 選擇全部

Open: styles/prosilver/template/index_body.html
Find
Tip: This may be a partial find and not the whole line.

Code:
<!-- IF NEWEST_USER -->
	<h3>{L_STATISTICS}</h3>
	<p>{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}</p>
<!-- ENDIF -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:
<!-- INCLUDE shout_body.html -->
Open: styles/prosilver/template/overall_header.html
Find
Tip: This may be a partial find and not the whole line.

Code:
</head>
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:
<script type="text/javascript" src="{U_SHOUT_STATIC}"></script>
<script type="text/javascript" src="{U_SHOUT_BBCODE}"></script>
<script type="text/javascript" src="{U_SHOUT}"></script>

Re: [問題]Ajax Shoutbox的插入問題...

發表於 : 2008-02-17 13:54
心靈捕手
lzong 寫:我使用的風格是N.Design,但Ajax Shoutbox安裝的語法插入是使用prosilver作代表,問題是N.Design的語法並沒有這些啊? :(

代碼: 選擇全部

Open: styles/prosilver/template/index_body.html
Find
Tip: This may be a partial find and not the whole line.

Code:
<!-- IF NEWEST_USER -->
	<h3>{L_STATISTICS}</h3>
	<p>{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}</p>
<!-- ENDIF -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:
<!-- INCLUDE shout_body.html -->
Open: styles/prosilver/template/overall_header.html
Find
Tip: This may be a partial find and not the whole line.

Code:
</head>
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:
<script type="text/javascript" src="{U_SHOUT_STATIC}"></script>
<script type="text/javascript" src="{U_SHOUT_BBCODE}"></script>
<script type="text/javascript" src="{U_SHOUT}"></script>
雖然風格不同, 但是樣板檔的修改是可以應變的.

建議您:
壓縮後, 貼出此風格 (N.Design) 的相關樣板檔案連結.
index_body.html
overall_header.html

Re: [問題]Ajax Shoutbox的插入問題...

發表於 : 2008-02-17 20:15
lzong
好的,附上:樣板index_body.html和overall_header.html檔案的壓縮檔:
net2ftp-1203246974.zip
(3.61 KiB) 已下載 613 次

Re: [問題]Ajax Shoutbox的插入問題...

發表於 : 2008-02-18 09:18
心靈捕手
lzong 寫:好的,附上:樣板index_body.html和overall_header.html檔案的壓縮檔:
net2ftp-1203246974.zip
因為這個風格的語法, 類似 subsilver2
所以您可以下載 0.0.10 版, 參考其中的 subsilver2.xml 修改.
http://sourceforge.net/project/showfile ... _id=553712

--
Source:
http://www.phpbb.com/community/viewtopi ... 5#p3257255

Re: [問題]Ajax Shoutbox的插入問題...

發表於 : 2008-02-18 11:29
lzong
可是當我照著這樣改之後,就變成這樣了...
555yyyyyy.JPG
↑為了測試所打的。
像樓梯一樣不停的疊.....
心靈捕手大大和其他大大們如果要看的話,請用帳號密碼皆為guest的試用帳號來觀看N.Design風格,因為我把預設風格先改回porsilver了。

Re: [問題]Ajax Shoutbox的插入問題...

發表於 : 2008-02-18 22:13
心靈捕手
lzong 寫:可是當我照著這樣改之後,就變成這樣了...
555yyyyyy.JPG
↑為了測試所打的。
像樓梯一樣不停的疊.....
心靈捕手大大和其他大大們如果要看的話,請用帳號密碼皆為guest的試用帳號來觀看N.Design風格,因為我把預設風格先改回porsilver了。
建議您:
檢視, 是否有修改其 '*.css'?
或者, 壓縮後貼出下載連結.

Re: [問題]Ajax Shoutbox的插入問題...

發表於 : 2008-02-19 16:41
lzong
已經修改完畢,可是...如何讓留言板的格式和其他表格一樣呢?
附圖:
555.JPG
(紅框處)

Re: [問題]Ajax Shoutbox的插入問題...

發表於 : 2008-02-19 22:43
心靈捕手
lzong 寫:已經修改完畢,可是...如何讓留言板的格式和其他表格一樣呢?
附圖:
555.JPG
(紅框處)
建議您:
參考該風格的樣板檔 index_body.html 裡頭的 'class=...',
改寫到新增的樣板檔 shout_body.html 裡頭.

Re: [問題]Ajax Shoutbox的插入問題...(已解決)

發表於 : 2008-02-20 22:09
lzong
多謝!

Re: [問題]Ajax Shoutbox的插入問題...(已解決)

發表於 : 2008-03-14 17:53
dendrimer
請問如何改變留言的字體大小
在JS.php找了好久都沒找到

Apache Web Server Version 2.0.59

PHP Script Language Version 4.4.7

MySQL Database Version 5.0.45

phpMyAdmin Database Manager Version 2.10.2

Phpbb 3.0.0

Re: [問題]Ajax Shoutbox的插入問題...(已解決)

發表於 : 2008-03-16 23:02
心靈捕手
dendrimer 寫:請問如何改變留言的字體大小
在JS.php找了好久都沒找到

Apache Web Server Version 2.0.59

PHP Script Language Version 4.4.7

MySQL Database Version 5.0.45

phpMyAdmin Database Manager Version 2.10.2

Phpbb 3.0.0
可以試試改風格檔.
styles/prosilver/template/shout_body.html