1 頁 (共 1 頁)

[問題]關於簽名檔的問題...

發表於 : 2003-12-09 17:44
Apache
如何將...
圖檔

改成像竹貓這樣...
圖檔

就是說文章的末端 和 簽名檔 之間有一段距離..
而不是連在一起\r

麻煩各位大大教我一下...謝謝唷...^^

發表於 : 2003-12-09 18:46
依夢兒
參考:http://phpbb-tw.net/phpbb/viewtopic.php?p=33113#33113

在 $user_sig = 後面多加一個 <br /> 就好了。
例如:

$user_sig = '<br />_________________<br />'

變成:

$user_sig = '<br /><br />_________________<br />'

發表於 : 2003-12-09 18:51
Apache
依夢兒 寫:參考:http://phpbb-tw.net/phpbb/viewtopic.php?p=33113#33113

在 $user_sig = 後面多加一個 <br /> 就好了。
例如:

$user_sig = '<br />_________________<br />'

變成:

$user_sig = '<br /><br />_________________<br />'
謝謝大大...改好了...
:mrgreen:

發表於 : 2003-12-09 19:46
Apache
不好意思在問郭問題...
如果要讓簽名檔置在最下方的話...要怎麼弄...
我剛照著下面的 MOD 弄
########################################################
## Mod Title: Bottom-Aligned-Signature
## Mod Version: 1.0.0
## Author: John B. Abela <abela@phpbb.com> http://www.JohnAbela.Com
## Description: This mod will align your Signature at the bottom of your post
##
## Installation Level: easy
## Installation Time: 1-3 Minutes
## Files To Edit: 1
## phpBB2/templates/subSilver/viewtopic_body.tpl
##
## Included Files: none
#################################################################
## Security Disclaimer: This MOD Cannot Be Posted To Or Added At Any Non-Official phpBB Sites
#################################################################
##
## Author Note:
##
## Enjoy! Check out my guestbook @ http://www.johnabela.com/guestbook/
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################

#
#-----[ OPEN ]------------------------------------------
#

/phpBB2/templates/subSilver/viewtopic_body.tpl


#
#-----[ FIND ]------------------------------------------
#

<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td valign="top" align="right" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table></td>


#
#-----[ REPLACE, WITH ]------------------------------------------
#

<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td valign="top" align="right" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2" HEIGHT="100%" VALIGN="TOP"><span class="postbody">{postrow.MESSAGE}</span><BR /><SPAN CLASS="gensmall">{postrow.EDITED_MESSAGE}</SPAN></td>
</tr>
<tr>
<td colspan="2" VALIGN="BOTTOM"><SPAN CLASS="postbody">{postrow.SIGNATURE}</SPAN></td>
</tr>
</table></td>



#
#-----[ SAVE/UPLOAD ]------------------------------------------
# EoM
結果出現了兩郭簽名檔...@@
怎麼會這樣...

發表於 : 2003-12-09 20:51
依夢兒

發表於 : 2003-12-09 21:20
Apache
剛看了上面的文章...
jiminkao 寫到:
檢查 viewtopic_body.tpl 中是否有兩個 {postrow.SIGNATURE},如果是 刪掉一個。
可是我看到的是\r

代碼: 選擇全部

<td colspan="2" HEIGHT="100%" VALIGN="TOP"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">[color=red]{postrow.MESSAGE}{postrow.SIGNATURE}[/color]</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td></tr></table>

我刪掉 {postrow.SIGNATURE} 後就正常了...

發表於 : 2003-12-09 21:43
GeniusKiKi
兩個不一樣\r\n你的應該是在更下方還有另外一個簽名檔的標籤

發表於 : 2003-12-09 22:12
Apache
GeniusKiKi 寫:兩個不一樣\r
你的應該是在更下方還有另外一個簽名檔的標籤
在下面的是..

代碼: 選擇全部

<td colspan="2" VALIGN="BOTTOM"><SPAN CLASS="postbody">[color=red]{postrow.SIGNATURE}[/color]</SPAN></td>
不過..還是要刪除...下面的這段的{postrow.SIGNATURE}...才能正常\r

代碼: 選擇全部

<td colspan="2" HEIGHT="100%" VALIGN="TOP"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">{postrow.MESSAGE}[color=red]{postrow.SIGNATURE}[/color]</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td></tr></table>

發表於 : 2003-12-09 23:07
GeniusKiKi
吼~

阿你就是 {postrow.SIGNATURE} 重複顯示了咩\r
所以刪除調其中一個就正常了

發表於 : 2003-12-10 01:46
Apache
GeniusKiKi 寫:吼~

阿你就是 {postrow.SIGNATURE} 重複顯示了咩\r
所以刪除調其中一個就正常了
大大...我知道是"重複顯示"呀...
我只是說我要的
是要刪掉上面那段的{postrow.SIGNATURE}而已呀...

發表於 : 2003-12-10 01:52
GeniusKiKi
Apache 寫:大大...我知道是"重複顯示"呀...
我只是說我要的
是要刪掉上面那段的{postrow.SIGNATURE}而已呀...
你下面這一段提到的代碼
會讓人認為你不知道是 {postrow.SIGNATURE} 重複
Apache 寫:可是我看到的是\r

代碼: 選擇全部

<td colspan="2" HEIGHT="100%" VALIGN="TOP"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">[color=red]{postrow.MESSAGE}{postrow.SIGNATURE}[/color]</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td></tr></table>
{postrow.MESSAGE}跟{postrow.SIGNATURE} 兩郭是一樣的嗎 ?

發表於 : 2003-12-10 02:24
Apache
GeniusKiKi 寫:
Apache 寫:大大...我知道是"重複顯示"呀...
我只是說我要的
是要刪掉上面那段的{postrow.SIGNATURE}而已呀...
你下面這一段提到的代碼
會讓人認為你不知道是 {postrow.SIGNATURE} 重複
Apache 寫:可是我看到的是\r

代碼: 選擇全部

<td colspan="2" HEIGHT="100%" VALIGN="TOP"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">[color=red]{postrow.MESSAGE}{postrow.SIGNATURE}[/color]</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td></tr></table>
{postrow.MESSAGE}跟{postrow.SIGNATURE} 兩郭是一樣的嗎 ?
ok....修改一下...

[問題]!!

發表於 : 2003-12-22 22:18
小花兒
嗚~~~誰來救救我!

只將
$user_sig = '<br />_________________<br />'
改成
$user_sig = '<br />------------------------<br />'

文章的字體就變的很大了~"~
然後出現一下,就不能顯示網頁了!!
誰知道?
謝謝

發表於 : 2003-12-23 01:49
GeniusKiKi
檢查一下是不是有不小心多改到東西了
不然基本上修改那一段是不會有問題的