1 頁 (共 1 頁)

[問題]關於Multi BBCode安裝說明

發表於 : 2004-09-08 15:01
noenemybear
#-----[ FIND ]---------------------------------
#
# NOTE - the full line to look for is:
# <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
# </span></td>
#
name="addbbcode16"
</td>

#
#-----[ AFTER, ADD ]---------------------------------
#

<!-- BEGIN MultiBB -->
<td><span class="genmed">
<input type="button" class="button" accesskey="{MultiBB.KEY}" name="{MultiBB.NAME}" value="{MultiBB.VALUE}" style="width: {MultiBB.WIDTH}px" onClick="{MultiBB.STYLE}" onMouseOver="helpline('{MultiBB.KEY}')" />
</span></td>
<!-- END MultiBB -->
#

請問上面那個AFTER, ADD是要加在哪段程式碼後呢?
謝謝指教 :-D

發表於 : 2004-09-08 15:05
webspirit
</td>後

發表於 : 2004-09-08 15:06
flower
<input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
</span></td>
加在這的下一行

發表於 : 2004-09-08 15:15
noenemybear
謝謝學長
那再請教一個笨問題
請問如何測試呢 ^^"

發表於 : 2004-09-08 15:29
noenemybear
#-----[ FIND ]---------------------------------
#
# NOTE - the full line to look for is:
# make_jumpbox('viewforum.'.$phpEx);
#
make_jumpbox(
這段的意思是在"make_jumpbox( "後加上下面那些程式嗎??
謝謝


#
#-----[ AFTER, ADD ]---------------------------------
#

// MULTI BBCODE-begin
//NOTE: the first element of each array must be '' Add new elements AFTER the ''
$EMBB_keys = array('') ;
$EMBB_widths = array('') ;
$EMBB_values = array('') ;

for ($i=1; $i<count($EMBB_values); $i++)
{
// load BBcode MODs info
$val = ($i*2)+16 ;
$template->assign_block_vars('MultiBB', array(
'KEY' => $EMBB_keys[$i],
'NAME' => "addbbcode$val",
'WIDTH' => $EMBB_widths[$i],
'VALUE' => $EMBB_values[$i],
'STYLE' => "bbstyle($val)")
);
}
// MULTI BBCODE-end

發表於 : 2004-09-08 15:32
flower
make_jumpbox('viewforum.'.$phpEx);
加在這句的下一行

如果出現IN-LINE才是在那行內修改\r
若無 就是加在有關鍵字那行的前一行或是下一行 端看動作決定

發表於 : 2004-09-08 15:46
noenemybear
謝謝指教 ^^
那請問如何知道有沒有安裝成功呢?
因為我想確定成功後再安裝下一個mod

發表於 : 2004-09-08 21:30
Mac
隨便多裝一個支援 Multi BBCode 的 bbcode 試試看即可\r

~Mac