[問題] 如何改變一些 [img] 的問題..

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
bebe2803
星球公民
星球公民
文章: 117
註冊時間: 2005-01-24 19:31
來自: Hong Kong

[問題] 如何改變一些 [img] 的問題..

文章 bebe2803 »

phpBB 預設管的很嚴... (可能是為了防止人用圖片是直接開的設定, 而令一些人放有問題的檔案令人直接開, 在其他的論壇也有不少這樣的人..)

所以一些如 tinypic.com 的圖因為沒有 .jpg, .png 等副檔, 不能用 [img] 來開, 請問有什麼解決方法 ? 謝謝各位.
怨念公社

phpBB 2.0.17, 8+1 個 template, 70+ mod...
wu2017
竹貓忠實會員
竹貓忠實會員
文章: 359
註冊時間: 2002-08-20 15:23
來自: 平凡心動
聯繫:

文章 wu2017 »

一般圖檔連結, 適用於 jpg/gif/png

代碼: 選擇全部

[img]http://xxx.xxx.xxx/xxx.jpg[/img]
其它圖檔連結, 例如連結相簿藝廊網址的圖片(需先至後台基本組態, 在html標籤中加入img, 文章發表時注意 html 選項開啟)

代碼: 選擇全部

<img src="./album_pic.php?pic_id=xx">   簡短連結位置只適用於本身網站

<img src="http://xxx.xxx.xxx/xxx/xxxxx">   廣泛適用於各種連結
以下為官方說明資料
http://www.phpbb2.de/viewtopic.php?t=19 ... hlight=img

Code:This are the security-functions of phpBB: If the IMG-Tag allows PHP-Files

your users could run dangerous PHP Skripts directly in the post! This is a very high security-risk so phpBB filters PHP Files from the Image Tag.

If you want to show these Pics (and make a security-leck into your board) you can go to the ACP under General > Configuration, allow "HTML" and enter there img at the allowed tags.

Now these PHP-Pictures you can enter with

代碼: 選擇全部

<img src="http://xxx.xxx.xxx/album_picm.php?pic_id=xxx"> 
if you have activated HTML in your User Profile.


目前轉貼副檔名非圖片格式的連結時(包含轉貼相簿藝廊圖片), 請用 html 語法, 如上所示
我們都想寫下自己的故事,才初執筆就驚覺,悲歡離合竟也是年輕事!
平凡心動 http://www.hope99.idv.tw/

提出問題時,請提供較完整的資料,才能給你正確的答案,節省你的時間。
發問格式可參閱: http://phpbb-tw.net/phpbb/viewtopic.php?t=15329

PLUS 下載位址: http://www.phpbb2.de/dload.php?action=c ... &cat_id=20
bebe2803
星球公民
星球公民
文章: 117
註冊時間: 2005-01-24 19:31
來自: Hong Kong

文章 bebe2803 »

嗯... 真的要開 HTML @@ 那就真的很危險了.... 還真的沒什麼可能令論壇自動容許 http://www.tinypic.com 來的檔案自動容許用 [img].....
怨念公社

phpBB 2.0.17, 8+1 個 template, 70+ mod...
主題已鎖定

回到「phpBB 2 安裝與使用」