phpBB 3 Style Support
討論的範圍包含版面排列、樣式、配置;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)
版主: 版主管理群 、譯文組
版面規則
請注意!您的提問必須遵守
發問格式 ,違者砍文。
mantohu
星球公民
文章: 66 註冊時間: 2004-11-30 17:49
來自: 新竹市大學路1001號
文章
由 mantohu » 2010-03-10 17:12
●主機作業系統:Windows XP
●您的上網方式:學術網路
●您安裝的程式:Apache 2.2.8 + php 5.2.6 + MySQL 5.0.51b
●您的 phpBB 版本:phpBB 3.0.7 PL1
●您的 domain (網域名稱) :
●您的 phpBB 連結網址:
●參考主題
http://www.phpbb.com/community/viewforum.php?f=73
http://www.phpbb.com/community/viewtopi ... 4&t=977555
我從官方的Database中抓了
610nm 這個Style, 但是我想將簽名放在區塊的最下方 (對齊左邊的 Profile ), 修改了 viewtopic_body.html 改了半天卻一團亂, 有人能夠幫個忙嗎
----------------------
我本來想去官方論壇直接pm問作者, 結果他說文章數目小於五篇的不能pm...或者有人能幫我pm一下作者@@?
代碼: 選擇全部
Sorry i bother you, and thanks for the 610nm style.
I have a little problem. How can i put the signture on the bottom of post area when the reply no enough to push the signature fix the poster profile's height. (sor it's hard to use second language)
I was try whole night to edit the viewtopic_body.html, but still can't work.
----
for example
[img]http://sites.google.com/site/zorohu/temp.JPG[/img]
you might need to open the pic for whole size.
----
Really need your help.
抱歉..不會改style英文也很濫XD
最後由
mantohu 於 2010-03-11 11:11 編輯,總共編輯了 2 次。
●架設主機作業系統:Windows Xp Pro SP2
●快速架站程式:Appserv 2.5.10
●上網方式:學術網
●安裝的程式:Apache + php + MySql
● phpBB2 版本:phpBB 3.0.1
mantohu
星球公民
文章: 66 註冊時間: 2004-11-30 17:49
來自: 新竹市大學路1001號
文章
由 mantohu » 2010-03-10 19:28
我找到了一篇
<Signature to dispay in bottom>
http://www.phpbb.com/community/viewtopi ... 4&t=977555
它使用的例子是內建的subsilver, 我用的是610nm(也是官方認可,作者說是從subsilver改的, 很接近), 但我自己弄得時候版面就亂七八糟, 求高手幫我看看@@
這是我style的原始code
代碼: 選擇全部
<!-- BEGIN postrow -->
<table class="tablebg" width="100%" cellspacing="1">
<!-- IF postrow.S_FIRST_ROW -->
<tr>
<th>{L_AUTHOR}</th>
<th>{L_MESSAGE}</th>
</tr>
<!-- ENDIF -->
<tr>
<!-- IF postrow.S_IGNORE_POST -->
<td class="gensmall" colspan="2" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td>
<!-- ELSE -->
<td align="center" valign="middle" class="<!-- IF postrow.S_ROW_COUNT is even -->row1<!-- ELSE -->row2<!-- ENDIF -->">
<!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
</td>
<td class="<!-- IF postrow.S_ROW_COUNT is even --> row1<!-- ELSE --> row2<!-- ENDIF -->" width="100%" height="25">
<table width="100%" cellspacing="0">
<tr>
<!-- IF postrow.POST_ICON_IMG -->
<td><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td>
<!-- ENDIF -->
<td class="gensmall" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};"> <b>{L_POST_SUBJECT}:</b> {postrow.POST_SUBJECT}</div><div style="float: {S_CONTENT_FLOW_END};"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><b>{L_POSTED}:</b> {postrow.POST_DATE} </div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" class="profile<!-- IF postrow.S_ROW_COUNT is even --> row1<!-- ELSE --> row2<!-- ENDIF -->">
<table cellspacing="4" align="center" width="150">
<!-- IF postrow.RANK_TITLE -->
<tr>
<td class="postdetails">{postrow.RANK_TITLE}</td>
</tr>
<!-- ENDIF -->
<!-- IF postrow.RANK_IMG -->
<tr>
<td>{postrow.RANK_IMG}</td>
</tr>
<!-- ENDIF -->
<!-- IF postrow.POSTER_AVATAR -->
<tr>
<td>{postrow.POSTER_AVATAR}</td>
</tr>
<!-- ENDIF -->
<!-- IF not (postrow.ONLINE_IMG or postrow.RANK_TITLE or postrow.RANK_IMG or postrow.POSTER_AVATAR) -->
<tr>
<td></td>
</tr>
<!-- ENDIF -->
</table>
<span class="postdetails">
<!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
<!-- IF postrow.S_PROFILE_FIELD1 -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}
<!-- ENDIF -->
<!-- BEGIN custom_fields -->
<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
<!-- END custom_fields -->
</span>
</td>
<td class="<!-- IF postrow.S_ROW_COUNT is even -->row1<!-- ELSE -->row2<!-- ENDIF -->" valign="top">
<table width="100%" cellspacing="5">
<tr>
<td>
<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
<table width="100%" cellspacing="0">
<tr>
<td class="gensmall"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span><br /> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
</tr>
</table>
<br clear="all" />
<!-- ENDIF -->
<div class="postbody">{postrow.MESSAGE}</div>
<!-- IF postrow.S_HAS_ATTACHMENTS -->
<br clear="all" /><br />
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
</tr>
<!-- BEGIN attachment -->
<tr>
<!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
</tr>
<!-- END attachment -->
</table>
<!-- ENDIF -->
<!-- IF postrow.S_DISPLAY_NOTICE -->
<span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span>
<!-- ENDIF -->
<!-- IF postrow.SIGNATURE -->
<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
<!-- ENDIF -->
<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
<!-- IF postrow.EDIT_REASON -->
<br /><br />
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="row3"><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
<tr>
<td class="row2"><span class="genmed">{postrow.EDIT_REASON}</span></td>
</tr>
</table>
<!-- ELSE -->
<br /><br />
<span class="gensmall">{postrow.EDITED_MESSAGE}</span>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF postrow.BUMPED_MESSAGE -->
<span class="gensmall"><br /><br />{postrow.BUMPED_MESSAGE}</span>
<!-- ENDIF -->
<!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF -->
<table width="100%" cellspacing="0">
<tr valign="middle">
<td class="gensmall" align="{S_CONTENT_FLOW_END}">
<!-- IF not S_IS_BOT -->
<!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF -->
<!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF -->
<!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF -->
<!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
<!-- ENDIF -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="profile<!-- IF postrow.S_ROW_COUNT is even --> row1<!-- ELSE --> row2<!-- ENDIF -->"><strong><a href="#wrapheader">{L_BACK_TO_TOP}</a></strong></td>
<td class="<!-- IF postrow.S_ROW_COUNT is even --> row1<!-- ELSE --> row2<!-- ENDIF -->"><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF postrow.ONLINE_IMG -->{postrow.ONLINE_IMG}<!-- ENDIF --> <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </div></td>
<!-- ENDIF -->
</tr>
<tr>
<td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
<!-- END postrow -->
PHPBB英文官方論壇真是讓我快瘋掉想pm作者需要先發5篇文章, 但是5篇文章要發出來全部都需要moderator檢查, 是要讓人等到哪年哪月阿...然後想直接寄email給作者詢問, 也是需要5篇還要加24小時...這是讓人怎樣求救
●架設主機作業系統:Windows Xp Pro SP2
●快速架站程式:Appserv 2.5.10
●上網方式:學術網
●安裝的程式:Apache + php + MySql
● phpBB2 版本:phpBB 3.0.1
心靈捕手
默默耕耘的老師
文章: 8533 註冊時間: 2004-04-30 01:54
來自: Taiwan
文章
由 心靈捕手 » 2010-03-11 20:01
mantohu 寫: PHPBB英文官方論壇真是讓我快瘋掉想pm作者需要先發5篇文章, 但是5篇文章要發出來全部都需要moderator檢查, 是要讓人等到哪年哪月阿...然後想直接寄email給作者詢問, 也是需要5篇還要加24小時...這是讓人怎樣求救
如果您是最近才加入竹貓的話,那麼您也是會碰到同樣的待遇。
您既然已經在英文官方論壇提問,建議您耐心等候作者的回覆。