1 頁 (共 1 頁)

[問題] 請問引言語法使用後跑出原始碼~要修正哪個檔案呢?[已解決]

發表於 : 2006-09-22 01:41
meida
裝phpBB2020+CashMod223a+attach_mod
●架設主機作業系統:Windows(Xp Pro)
●的上網方式:ADSL (Seednet)。
●安裝的程式:Apache 2 + php 5 + MySql 5
使用版本:(phpBB 2.0.20)

請問引言語法使用後跑出原始碼~要修正哪個檔案呢?
meida 寫:測試


引言回覆:
多了這段帳號名沒辦法正常顯示引言的樣子 ="meida"

Re: [問題] 請問引言語法使用後跑出原始碼~要修正哪個檔案呢?

發表於 : 2006-09-22 01:41
meida
meida 寫:裝phpBB2020+CashMod223a+attach_mod
●架設主機作業系統:Windows(Xp Pro)
●的上網方式:ADSL (Seednet)。
●安裝的程式:Apache 2 + php 5 + MySql 5
使用版本:(phpBB 2.0.20)

請問引言語法使用後跑出原始碼~要修正哪個檔案呢?
[ quote="meida" ]測試[ /quote ]

引言回覆:
多了這段帳號名沒辦法正常顯示引言的樣子 ="meida"

發表於 : 2006-09-22 01:47
wu2017
這問題在 PHPBB 2.0.21 已經修正。

發表於 : 2006-09-23 21:30
meida
wu2017 寫:這問題在 PHPBB 2.0.21 已經修正。
我用2.20升2.21的全部修正後論壇會壞掉~
所以才要知道是哪個相關檔單獨修改~

發表於 : 2006-09-24 10:01
心靈捕手
meida 寫:
wu2017 寫:這問題在 PHPBB 2.0.21 已經修正。
我用2.20升2.21的全部修正後論壇會壞掉~
所以才要知道是哪個相關檔單獨修改~
關鍵在這個步驟.

代碼: 選擇全部

# 
#-----[ OPEN ]--------------------------------------------- 
# 
includes/functions_post.php

#
#-----[ FIND ]---------------------------------------------
# Line 59
			$message .= htmlspecialchars($part) . clean_html($tag);
		}

		$message = addslashes($message);

#
#-----[ REPLACE WITH ]---------------------------------------------
#
			$message .= preg_replace($html_entities_match, $html_entities_replace, $part) . clean_html($tag);
		}

		$message = addslashes($message);
		$message = str_replace('"', '\"', $message);
Source: phpbb-2.0.20_to_2.0.21.txt

發表於 : 2006-09-25 17:40
meida
心靈捕手 寫:
meida 寫:
wu2017 寫:這問題在 PHPBB 2.0.21 已經修正。
我用2.20升2.21的全部修正後論壇會壞掉~
所以才要知道是哪個相關檔單獨修改~
關鍵在這個步驟.

代碼: 選擇全部

# 
#-----[ OPEN ]--------------------------------------------- 
# 
includes/functions_post.php

#
#-----[ FIND ]---------------------------------------------
# Line 59
			$message .= htmlspecialchars($part) . clean_html($tag);
		}

		$message = addslashes($message);

#
#-----[ REPLACE WITH ]---------------------------------------------
#
			$message .= preg_replace($html_entities_match, $html_entities_replace, $part) . clean_html($tag);
		}

		$message = addslashes($message);
		$message = str_replace('"', '\"', $message);
Source: phpbb-2.0.20_to_2.0.21.txt
大大真厲害~真的成功了~果然是高手高手高高手!