[問題]簽名檔與內文如何能更明顯區分?
版主: 版主管理群
版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
[問題]簽名檔與內文如何能更明顯區分?
例如竹貓簽名檔上方的分隔線是橘紅色,一般的都是黑色。
我想知道我要改分隔線顏色,並且讓分隔線自動延伸到表格的最右方,請問該改哪個檔案呢?謝謝^^
PS:我還想過讓簽名檔本身變成一個表格,底色與內文表格的底色不同,不過這可能動的工程比較大,所以只要能將分隔線自動延伸到表格的最右方就好了^^
我想知道我要改分隔線顏色,並且讓分隔線自動延伸到表格的最右方,請問該改哪個檔案呢?謝謝^^
PS:我還想過讓簽名檔本身變成一個表格,底色與內文表格的底色不同,不過這可能動的工程比較大,所以只要能將分隔線自動延伸到表格的最右方就好了^^
嘰哩咕嚕嘰哩咕嚕.........
viewtopic.php
找這陀
[php]<?php
//
// Replace newlines (we use this rather than nl2br because
// till recently it wasn't XHTML compliant)
//
if ( $user_sig != '' )
{
?>[/php]
下面有行
[php]<?php
$user_sig = ................................. 我不記得原本長怎樣了
?>[/php]
被我改成
[php]<?php
$user_sig = '<br /><font color="#FF7900">----------------------------------</font><br />' . str_replace("
", "<br />
", $user_sig); // Modified by OOHOO
?>[/php]
如果要照你說的一直延伸到最右邊去, 可能直接用 <hr /> 最快, 你可以改成這樣\r
[php]<?php
$user_sig = '<hr />' . str_replace("
", "<br />
", $user_sig);
?>[/php]
你自己試試看.. 要再用 <table>包起來也可以, 不過不建議啦...
找這陀
[php]<?php
//
// Replace newlines (we use this rather than nl2br because
// till recently it wasn't XHTML compliant)
//
if ( $user_sig != '' )
{
?>[/php]
下面有行
[php]<?php
$user_sig = ................................. 我不記得原本長怎樣了
?>[/php]
被我改成
[php]<?php
$user_sig = '<br /><font color="#FF7900">----------------------------------</font><br />' . str_replace("
", "<br />
", $user_sig); // Modified by OOHOO
?>[/php]
如果要照你說的一直延伸到最右邊去, 可能直接用 <hr /> 最快, 你可以改成這樣\r
[php]<?php
$user_sig = '<hr />' . str_replace("
", "<br />
", $user_sig);
?>[/php]
你自己試試看.. 要再用 <table>包起來也可以, 不過不建議啦...
OOHOO said:
有事Mail給我, 不要P我, 因為根本沒辦法P.
有事Mail給我, 不要P我, 因為根本沒辦法P.
亦要修改 /privmsg.php
尋找\r
[php]<?php
$private_message .= '<br /><br />_________________<br />' . make_clickable($user_sig);
?>[/php]
改成
[php]<?php
$private_message .= '<br /><font color="#FF7900">----------------------------------</font><br />_________________<br />' . make_clickable($user_sig);
?>[/php]
尋找\r
[php]<?php
$private_message .= '<br /><br />_________________<br />' . make_clickable($user_sig);
?>[/php]
改成
[php]<?php
$private_message .= '<br /><font color="#FF7900">----------------------------------</font><br />_________________<br />' . make_clickable($user_sig);
?>[/php]
這個是修改傳送私人訊息ㄉ簽名檔ㄇ??綠草上的小水滴 寫:亦要修改 /privmsg.php
尋找\r
[php]<?php
$private_message .= '<br /><br />_________________<br />' . make_clickable($user_sig);
?>[/php]
改成
[php]<?php
$private_message .= '<br /><font color="#FF7900">----------------------------------</font><br />_________________<br />' . make_clickable($user_sig);
?>[/php]
[分享]個性簽名位置移至最下方修改法
########################################################jImMyRoCk 寫:OOHOO"
那如何讓它切齊最下方呢?
## 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
Re: [分享]個性簽名位置移至最下方修改法
我裝這個mod會有問題耶\rchadav 寫:########################################################jImMyRoCk 寫:OOHOO"
那如何讓它切齊最下方呢?
## 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
##############################################
只要是有貼圖的 版面都會被拉大 不知道是哪裡改到了.....
請高手幫忙解決...