[問題]]Resize Posted Images Based on Max Width 的問題[找到解決方法]

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

版主: 版主管理群

主題已鎖定
stric
星球公民
星球公民
文章: 99
註冊時間: 2002-08-16 09:30

[問題]]Resize Posted Images Based on Max Width 的問題[找到解決方法]

文章 stric »

問題外掛及版本:Resize Posted Images Based on Max Width 2.4.5
外掛的下載網址:http://starryhometown.net/forum/viewtopic.php?t=522
phpbb版本: phpBB 2.0.13
外掛問題描述:
安裝這個mod後出現怪怪的現象
如下圖所示 左下角出現"網頁錯誤" 且沒有縮圖效果
圖檔


請問這大概是那邊有問題產生呢\r
要怎麼解決呢?
最後由 stric 於 2005-04-09 12:28 編輯,總共編輯了 1 次。
tseesther
星球公民
星球公民
文章: 70
註冊時間: 2003-11-25 13:46

文章 tseesther »

我裝過也是沒有效果的
stric
星球公民
星球公民
文章: 99
註冊時間: 2002-08-16 09:30

文章 stric »

找到解決的方法囉
果然如天霜兄所說是在overall_header.tpl and simple_header.tpl
因為我用的風格是Morpheus
我想大概只要不能用的話 應該都是和風格有關
但不知道修正方法是不是都一樣\r
我跑到作者的網站問
我照著改 就可以囉 :mrgreen:
他回答如下:

代碼: 選擇全部

The MOD uses the value of {T_BODY_LINK} for the color of the border: 
Code: 

var rmw_border_1 = '1px solid {T_BODY_LINK}'; 
var rmw_border_2 = '2px dotted {T_BODY_LINK}'; 
 

Look at what your board outputs for this value: 
Code: 

var rmw_border_1 = '1px solid #'; 
var rmw_border_2 = '2px dotted #'; 
 


Simply hardcode overall_header.tpl and simple_header.tpl and put the color that you want: 
Code: 

var rmw_border_1 = '1px solid #00BFFF'; 
var rmw_border_2 = '2px dotted #00BFFF'; 
 

Here's a page to choose: 
http://www.qindex.info/Q_drctry/webtools/colors.php 

IE aborts when a script has an error (invalid value for the color) and Firefox continues. That's why IE doesn't resize and Firefox resizes but doesn't put any border. 

And if you don't want any border for the images, simply put 0 as the values. Don't forget the single quotes. The value for border is not an integer but a string: 
Code: 

var rmw_border_1 = '0'; 
var rmw_border_2 = '0'; 
死狐狸
星球公民
星球公民
文章: 144
註冊時間: 2004-05-12 17:34
來自: 江狐....
聯繫:

文章 死狐狸 »

我的也是沒有效果.............

沒有錯誤訊息,而且我是裝在subsilver上的!!
難道Resize_Posted_Images_Based_on_Max_Width不相容於2.0.17嗎?
(還是說他有後台控制可是我沒發現@@)
●架設主機作業系統:Xp Pro
●快速架站程式:Appserv2.4.4a
●我的網站 : 1. http://foxbbs.24cc.com 2.建造中\r
●免費空間連結: http://members.lycos.co.uk/
●您的 phpBB2 版本:1. 2.08 2. 2.0.17
------------------------------------------------------
您在使用電腦上有任何問題嗎?歡迎來江狐論壇跟大家一起解決喔!!

P.S 直接叫我"死狐狸"沒關係啦!! :mrgreen:
主題已鎖定

回到「外掛問題討論」