[問題] Multi_bbcode140c 安裝問題

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
winfoxilu
星球普通子民
星球普通子民
文章: 2
註冊時間: 2005-03-02 11:36

[問題] Multi_bbcode140c 安裝問題

文章 winfoxilu »

請問一下
Mulit_BBCode140c 在官網下載後解壓縮裡有三個檔案

multi-bbc-1-4-0.mod
multi-bbc_update_1-0-1_to_1-2-1.mod
multi-bbc_update_1-2-1_to_1-4-0.mod

請問如果我的 phpbb2 2.0.20
是完全乾淨剛架好
是否要先安裝什麼必需MOD嗎?
否則我利用EM 0.3.0 安裝multi-bbc-1-4-0.mod
沒有出現任何錯誤
但也沒有出現傳說中那一串很長的BBCode 按鈕..
Windows 2003
IIS 6.0
MySQL 4.1.19
PHP 4.4.2
phpBB 2.0.20
phpMyAdmin 2.6.4-pl4
jwxinst
竹貓忠實會員
竹貓忠實會員
文章: 945
註冊時間: 2006-03-31 10:07
來自: New York, USA     學業狀況: 當天才...       個人狀況: 臭蛋
聯繫:

Re: [問題] Multi_bbcode140c 安裝問題

文章 jwxinst »

winfoxilu 寫:請問一下
Mulit_BBCode140c 在官網下載後解壓縮裡有三個檔案

multi-bbc-1-4-0.mod==最新板本之安裝
multi-bbc_update_1-0-1_to_1-2-1.mod===升級板本
multi-bbc_update_1-2-1_to_1-4-0.mod===升級板本

請問如果我的 phpbb2 2.0.20
是完全乾淨剛架好
是否要先安裝什麼必需MOD嗎?
我認為你不應該先考慮裝那種外掛.
如果你以前都沒有架站經費, 我建議你不要讓朋友來登記,
你要先架一次裝多幾個外掛, 以增加自己的經驗
通常來說第一次架的話, 裝cashmod看看
每次裝好外掛都要做測試, 包括「發文測試」, 「登出登入測試」

你目前最重要的是先裝好你想裝的外掛, 如果有機會你再重新安裝也可以
有的人會先架一次後再重新架過, 因為他們是直接套入子分區這類很難裝的外掛
[一個小時以上耶= =)

否則我利用EM 0.3.0 安裝multi-bbc-1-4-0.mod
沒有出現任何錯誤
但也沒有出現傳說中那一串很長的BBCode 按鈕..
請你參考這一篇喔.....
http://phpbb-tw.net/phpbb/viewtopic.php ... lti_bbcode

http://phpbb-tw.net/phpbb/viewtopic.php?p=163389#163389
目前狀態圖檔
GoKo Music進度: 10%

問個問題不要緊可是沒有發文格式、問題不夠詳細情況,難道要用猜嗎?
新手必讀
[教學] 基本認識、學習、隨我架設phpBB的新手通 -更新至2.0.22
問問題的技巧
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=44340
MOD安裝教學及轉碼
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=22832
winfoxilu
星球普通子民
星球普通子民
文章: 2
註冊時間: 2005-03-02 11:36

文章 winfoxilu »

感謝大大的回覆..目前架站只是自己玩玩,當學習而已
當然重灌phpbb已不下數十次了..只想安裝個完美的phpbb
從attach mod 安裝到 mail 發送..真的爬了不少文
而這個 Multi BBCode 也爬了不少..
只是一直懷疑的是自己的認知是否有誤..才在此發問
依大大的回覆+自己爬文的結果
Multi BBCode 是很多BBCode 在使用的語法,
而我想要加裝其它的BBCode 所以必需安裝它
但..Multi BBCode 安裝後,我開始嘗試安裝其它的BBCode
1.Table BBCode (失敗)
2.Flash BBCode (失敗)
:-o :-o :-o ...(有點灰心的感覺,是否我少裝了什麼MOD..>"<)

先請教Table BBCode 的部份
檔案來源:http://www.phpbb.com/phpBB/viewtopic.php?t=219269
參考資料:http://phpbb-tw.net/phpbb/viewtopic.php?t=32994
中文化:http://phpbb-tw.net/phpbb/viewtopic.php?p=226311#226311


Table BBCode 1.3.1 Install_table_bbcode_with_multi_bbcode_mod140.mod

利用EM 0.3.0 做安裝,出現的錯誤訊息為

代碼: 選擇全部

尋找錯誤: 在 [language/lang_chinese_traditional_taiwan/lang_bbcode.php] 中找不到:

$faq[] = array("--", "Other matters"); 

我有嘗試手動去檢查 lang_bbcodel.php檔案
裡面確實沒有

代碼: 選擇全部


$faq[]  <=這樣都搜尋不到
所以才有疑問,是否要灌Multi BBCode 之前,是否要先裝其它必要的MOD or other ?

另外照此篇:http://phpbb-tw.net/phpbb/viewtopic.php ... lti_bbcode

意思是在
裝了MultiBBcode後,

不用在posting_body.tpl加入該bbcode的html按鈕語法,按鈕就會自動顯現
的意思是否為,Multi BBcode原檔

代碼: 選擇全部

## easymod compliant
############################################################## 
## MOD Title:    Multiple BBCode MOD
## MOD Author:   Nuttzy99 < nospam@blizzhackers.com > (n/a) http://www.blizzhackers.com
## MOD Author, Secondary: wGEric < eric@best-dev.com > (Eric Faerber) http://mods.best-dev.com/
##
## MOD Description:  Allows you to install BBCode MODs that
##    add quick BBCode buttons in post edits.  Without this
##    MOD, there is no standard way of installing BBCode MODs.
## MOD Version:  1.4.0c
## 
## Installation Level:  EASY
## Installation Time:   2 minutes
## Files To Edit:       posting.php
##                      templates/subSilver/posting_body.tpl
## Included Files:      n/a
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/
############################################################## 
##
## Author Notes:
##     + if Multi BBCode MOD v1.0.1 is already installed, use the update to 1.2.0 MOD
##          and do NOT install this MOD script
##     + Works with phpBB 2.0.2 thru 2.0.10
##     + installable with EasyMOD
##
##	Version 1.4.0 makes it so MOD Authors don't have to set a hotkey for their BBCodes.
##
##	I have added instructions to the MOD that tell MOD Authors what to do in the language files
##	This isn't required but I heavily recommend that you do it anyways just in case the MOD Authors
##	use something in what I have added as their FIND.
##
############################################################## 
##
## MOD History:
##
##    2004-09-26 - Version 1.4.0
##	   + Sets hot key automatically
##	   + Adds it to Private Messages (version b)
##	   + Fixes a help line bug (version c)
##
##    2003-09-25 - Version 1.2.1
##         + improved MOD Template compliance
##
##    2003-08-15 - Version 1.2.0
##         + updated for 2.0.6
##         + allows additional hotkeys - Xore did most of the work ;-)
##         + made EasyMOD compatiable
##
##    2003-02-03 - Version 1.0.1
##         + updated for 2.0.4
##         + no code changes required, just updated the header info
##
##    2002-08-31 - Version 1.0.0
##         + initial release
##
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 


# 
#-----[ OPEN ]---------------------------------
# 
posting.php


# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
# make_jumpbox('viewforum.'.$phpEx);
#
make_jumpbox(


# 
#-----[ AFTER, ADD ]---------------------------------
#
Multi_BBCode();

# 
#-----[ OPEN ]---------------------------------
# 
privmsg.php


# 
#-----[ FIND ]---------------------------------
#
	generate_smilies('inline', PAGE_PRIVMSGS);


# 
#-----[ AFTER, ADD ]---------------------------------
#
Multi_BBCode();

# 
#-----[ OPEN ]---------------------------------
#
includes/bbcode.php
# 
#-----[ FIND ]---------------------------------
#
$bbcode_tpl = null;
# 
#-----[ AFTER, ADD ]---------------------------------
#

// MULTI BBCODE-begin
function Multi_BBCode()
{
	global $template, $lang;

	// DO NOT CHANGE THIS ARRAY
	$hotkeys = array('', 'd', 'e', 'g', 'h', 'j', 'k', 'm', 'n', 'r', 't', 'v', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0');

	//NOTE: the first element of each array must be ''   Add new elements AFTER the ''
	$EMBB_widths = array('') ;
	$EMBB_values = array('') ;
	for ($i=1; $i<count($EMBB_values); $i++)
	{
		// load BBcode MODs info
		$val = ($i*2)+16 ;
		$help_lang = ( !empty($lang['bbcode_help'][(strtolower($EMBB_values[$i]))]) ) ? $lang['bbcode_help'][(strtolower($EMBB_values[$i]))] : $lang['bbcode_help'][$EMBB_values[$i]];
		$template->assign_block_vars('MultiBB', array(
			'KEY' => $hotkeys[$i],
			'NAME' => "addbbcode$val",
			'HELP' => sprintf($help_lang, $hotkeys[$i]),
			'WIDTH' => $EMBB_widths[$i],
			'VALUE' => $EMBB_values[$i],
			'STYLE' => "bbstyle($val)")
		);
	}
}
// MULTI BBCODE-end

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


#
#-----[ FIND ]---------------------------------
#
f_help = "{L_BBCODE_F_HELP}";

# 
#-----[ AFTER, ADD ]---------------------------------
#
<!-- BEGIN MultiBB -->
{MultiBB.VALUE}_help = "{MultiBB.HELP}";
<!-- END MultiBB -->

#
#-----[ 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.VALUE}')" />
			  </span></td>
			<!-- END MultiBB -->
# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#					<select name="addbbcodefontcolor" onChange="bbfontstyle('[color=' + this.form.addbbcodefontcolor.options[this.form.addbbcodefontcolor.selectedIndex].value + ']', '[/color]')" onMouseOver="helpline('s')">
#
	name="addbbcode18"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
name="addbbcode18"


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
name="addbbcodefontcolor"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode18.options


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontcolor.options


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode18.selectedIndex


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontcolor.selectedIndex


# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#					</select> &nbsp;{L_FONT_SIZE}:<select name="addbbcodefontsize" onChange="bbfontstyle('[size=' + this.form.addbbcodefontsize.options[this.form.addbbcodefontsize.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
#
	name="addbbcode20"

# 
#-----[ IN-LINE FIND ]---------------------------------
#
name="addbbcode20"


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
name="addbbcodefontsize"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode20.options


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontsize.options


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode20.selectedIndex


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontsize.selectedIndex

# 
#-----[ OPEN ]---------------------------------
#
language/lang_english/lang_main.php

# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#	$lang['bbcode_f_help'] = 'Font size: [size=x-small]small text[/size]';
#
$lang['bbcode_f_help']

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

//
// bbcode help format goes like this
// $lang['bbcode_help']['value'] = 'BBCode Name: Info (Alt+%s)';
//
// value is what you put in $EMBB_values in posting.php
// %s gets replaced with the automatic hotkey that the bbcode gets assigned
//
$lang['bbcode_help']['value'] = 'BBCode Name: Info (Alt+%s)';

#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------------
#
# EoM

不知意思是否為下面這段Code 不用加進去

代碼: 選擇全部

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


#
#-----[ FIND ]---------------------------------
#
f_help = "{L_BBCODE_F_HELP}";

# 
#-----[ AFTER, ADD ]---------------------------------
#
<!-- BEGIN MultiBB -->
{MultiBB.VALUE}_help = "{MultiBB.HELP}";
<!-- END MultiBB -->

#
#-----[ 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.VALUE}')" />
			  </span></td>
			<!-- END MultiBB -->
# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#					<select name="addbbcodefontcolor" onChange="bbfontstyle('[color=' + this.form.addbbcodefontcolor.options[this.form.addbbcodefontcolor.selectedIndex].value + ']', '[/color]')" onMouseOver="helpline('s')">
#
	name="addbbcode18"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
name="addbbcode18"


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
name="addbbcodefontcolor"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode18.options


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontcolor.options


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode18.selectedIndex


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontcolor.selectedIndex


# 
#-----[ FIND ]---------------------------------
#
#  NOTE - the full line to look for is:
#					</select> &nbsp;{L_FONT_SIZE}:<select name="addbbcodefontsize" onChange="bbfontstyle('[size=' + this.form.addbbcodefontsize.options[this.form.addbbcodefontsize.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
#
	name="addbbcode20"

# 
#-----[ IN-LINE FIND ]---------------------------------
#
name="addbbcode20"


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
name="addbbcodefontsize"


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode20.options


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontsize.options


# 
#-----[ IN-LINE FIND ]---------------------------------
#
this.form.addbbcode20.selectedIndex


# 
#-----[ IN-LINE REPLACE WITH ]---------------------------------
#
this.form.addbbcodefontsize.selectedIndex
或者是我誤解意思了呢? :?:

另外提供檔案,煩請代為檢查是否安裝有誤or ?
http://winfoxilu.myweb.hinet.net/data.rar

內含 Multi BBCode 裡所修改的檔案
bbcode.php
lang_main (for english).php
lang_main (for chinese).php
posting.php
posting_body.tpl
privmsg.php
Windows 2003
IIS 6.0
MySQL 4.1.19
PHP 4.4.2
phpBB 2.0.20
phpMyAdmin 2.6.4-pl4
葉綠素
星球普通子民
星球普通子民
文章: 9
註冊時間: 2004-09-17 00:58

文章 葉綠素 »

我也遇到相同狀況
後面發現找不到所以也無法增加及更改
主題已鎖定

回到「外掛問題討論」