AL8 Forum » phpBB 研究討論 » 快速回應點搞


2008-8-4 17:28 hk2
快速回應點搞

如題:s:titter:

2008-8-4 17:30 hamu278
[url]http://www.google.com.hk/search?q=phpBB+%E5%BF%AB%E9%80%9F%E5%9B%9E%E8%A6%86&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_zh-TWHK250HK250[/url]

Google 都搵到:em16:

2008-8-4 17:38 hk2
英文:em35:

唔識睇:em17:

2008-8-5 02:36 john19840306
回覆 #3 hk2 的帖子

:em25: check {  [url]http://cdict.giga.net.tw/[/url] }

2008-8-5 05:07 jwxie
建議安裝evil quick reply

#phpbb2的看最底

[[i] 本帖最後由 jwxie 於 2008-8-6 13:17 編輯 [/i]]

2008-8-5 10:57 bananasims
回覆 #5 jwxie 的帖子

佢有幾個功能都未整好就出插件
我自己改既版本就刪咗佢就加另外啲嘢

2008-8-5 11:02 jwxie
回覆 #6 bananasims 的帖子

evil最大的特點就係, 簡單嘛
其實首先安裝佢個版本, 再參考meow, (phpbbchina)的修改版
再自己加番個bbcode就可以了:em45: :em45:

2008-8-5 12:53 bananasims
回覆 #7 jwxie 的帖子

我唔係指呢樣
佢有個功能係未完成品黎,係用唔到的。
我要自己刪個「功能」佢。
我都係用 evil,無 bbcode

2008-8-5 13:26 jwxie
回覆 #8 bananasims 的帖子

oh which one?

2008-8-5 14:28 bananasims
都唔記得咗係乜功能...或者你個版本整好

2008-8-7 02:09 jwxie
phpbb2的quick reply看看這裡
[url]http://www.phpbb.com/community/viewtopic.php?f=15&t=287126&start=0[/url]

2008-8-7 10:14 hk2
演,示?:em18:

2008-8-7 11:01 hk2
好怕會改錯=.=

又搞一大輪:(

2008-8-7 12:25 jwxie
回覆 #13 hk2 的帖子

無野好怕, 怕就唔能夠開到論壇...
怕就應該backup d files before editing it

2008-8-7 12:28 hk2
我改到一part搵唔到點改:em01:

呢到

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<table width="100%" cellspacing="2" border="0" align="center">
  <tr>
        <td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />

#
#-----[ BEFORE, ADD ]------------------------------------
#

<!-- BEGIN switch_quick_reply -->
<form action="{S_POSTING}" method="post" name="post" onsubmit="return checkForm(this)" id="quickreply">
<script language="JavaScript" type="text/javascript"><!--
function checkForm() {
        formErrors = false;
        if (document.post.message.value.length < 2) {
        formErrors = '{L_EMPTY_MSG}';
        }
        if (formErrors) {
                alert(formErrors);
                return false;
        } else {
                return true;
        }
}
//--></script>
<table border="0" cellpadding="3" cellspacing="1" class="forumline" align="center">
  <tr>
        <th class="thHead" colspan="2" height="25" id="quickreply_head"><b>{L_QUICK_REPLY}</b></th>
  </tr>
<!-- BEGIN switch_user_logged_out -->
  <tr>
        <td class="row1"><span class="gen"><b>{L_USERNAME}:</b></span></td>
        <td class="row2"><span class="genmed"><input class="post" type="text" name="username" size="25" maxlength="25" value="" /></span></td>
  </tr>
<!-- END switch_user_logged_out -->
  <tr>
        <td width="22%" class="row1" valign="top"><span class="gen"><b>{L_MESSAGE_BODY}:</b></span><br /><br /><span class="gensmall"><a href="{U_QUICK_SMILIES}" onclick="window.open('{U_QUICK_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies">{L_QUICK_SMILIES}</a></span></td>
        <td width="78%" class="row2" valign="top"><textarea name="message" rows="10" cols="35" wrap="virtual" style="width:450px" class="post"></textarea></td>
  </tr>
  <tr>
        <td class="catBottom" colspan="2" align="center" height="28">
                <input type="hidden" name="attach_sig" value="{S_ATTACH_SIG}" />
                <input type="hidden" name="notify" value="{S_NOTIFY}" />
                <input type="hidden" name="mode" value="reply" />
                <input type="hidden" name="sid" value="{S_SID}" />
                <input type="hidden" name="t" value="{S_TOPIC_ID}" />
                <input type="submit" name="preview" class="mainoption" value="{L_PREVIEW}" />&nbsp;<input type="submit" accesskey="s" name="post" class="mainoption" value="{L_SUBMIT}" />
        </td>
  </tr>
</table>
</form>
<!-- END switch_quick_reply -->

我搵唔到佢叫我搵個道=ss=

[size=3]可能又係風格唔同問題:em40: [/size]

[[i] 本帖最後由 hk2 於 2008-8-7 12:31 編輯 [/i]]

2008-8-7 12:53 jwxie
it's still subsilver based
have you search for  S_WATCH_TOPIC

and please, next time provide the style download...
hard to help man

2008-8-7 12:56 hk2
upload比你?

ok

[attach]64450[/attach]

2008-8-7 13:44 jwxie
回覆 #17 hk2 的帖子

呢d係要變通下既
隨便搵一個你鍾意個位就得了
呢d係tpl, 風格的野, 擺係邊自己執生嘛
唔同php d改法要注意
[code]{JUMPBOX}[/code]
搵到呢段
下一行, 加入番
[code]
<!-- BEGIN switch_quick_reply -->
<form action="{S_POSTING}" method="post" name="post" onsubmit="return checkForm(this)" id="quickreply">
<script language="JavaScript" type="text/javascript"><!--
function checkForm() {
        formErrors = false;
        if (document.post.message.value.length < 2) {
        formErrors = '{L_EMPTY_MSG}';
        }
        if (formErrors) {
                alert(formErrors);
                return false;
        } else {
                return true;
        }
}
//--></script>
<table border="0" cellpadding="3" cellspacing="1" class="forumline" align="center">
  <tr>
        <th class="thHead" colspan="2" height="25" id="quickreply_head"><b>{L_QUICK_REPLY}</b></th>
  </tr>
<!-- BEGIN switch_user_logged_out -->
  <tr>
        <td class="row1"><span class="gen"><b>{L_USERNAME}:</b></span></td>
        <td class="row2"><span class="genmed"><input class="post" type="text" name="username" size="25" maxlength="25" value="" /></span></td>
  </tr>
<!-- END switch_user_logged_out -->
  <tr>
        <td width="22%" class="row1" valign="top"><span class="gen"><b>{L_MESSAGE_BODY}:</b></span><br /><br /><span class="gensmall"><a href="{U_QUICK_SMILIES}" onclick="window.open('{U_QUICK_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies">{L_QUICK_SMILIES}</a></span></td>
        <td width="78%" class="row2" valign="top"><textarea name="message" rows="10" cols="35" wrap="virtual" style="width:450px" class="post"></textarea></td>
  </tr>
  <tr>
        <td class="catBottom" colspan="2" align="center" height="28">
                <input type="hidden" name="attach_sig" value="{S_ATTACH_SIG}" />
                <input type="hidden" name="notify" value="{S_NOTIFY}" />
                <input type="hidden" name="mode" value="reply" />
                <input type="hidden" name="sid" value="{S_SID}" />
                <input type="hidden" name="t" value="{S_TOPIC_ID}" />
                <input type="submit" name="preview" class="mainoption" value="{L_PREVIEW}" />&nbsp;<input type="submit" accesskey="s" name="post" class="mainoption" value="{L_SUBMIT}" />
        </td>
  </tr>
</table>
</form>
<!-- END switch_quick_reply -->
[/code]

2008-8-7 16:02 hk2
又係咁

Warning: Cannot modify header information - headers already sent by (output started at /home/desire/domains/desireofnight-hk.coms.hk/public_html/forum/language/lang_chinese_traditional/lang_main.php:1) in /home/desire/domains/desireofnight-hk.coms.hk/public_html/forum/includes/page_header.php on line 479

Warning: Cannot modify header information - headers already sent by (output started at /home/desire/domains/desireofnight-hk.coms.hk/public_html/forum/language/lang_chinese_traditional/lang_main.php:1) in /home/desire/domains/desireofnight-hk.coms.hk/public_html/forum/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /home/desire/domains/desireofnight-hk.coms.hk/public_html/forum/language/lang_chinese_traditional/lang_main.php:1) in /home/desire/domains/desireofnight-hk.coms.hk/public_html/forum/includes/page_header.php on line 486

2008-8-8 00:39 jwxie
回覆 #19 hk2 的帖子

我咪講左好多次
存個陣要存utf8
唔好save bom

頁: [1]
查看完整版本: 快速回應點搞


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.