Reflection BBCODE

Started by Rik©, September 19, 2008, 07:43:00 AM

Previous topic - Next topic

Krysia

Can anyone tell me if this mod works in Safari? I've installed it and it works insofar as posting the image, but I don't see the "reflection".

The reflection.js page is in the theme directory.

Thank you! :)



T3CHN0

Not sure if anyone else hase had this error but thought I better post it to help others

I have been getting allot of members telling me about a stack over flow error 171 error message
when using Internet explorer; as this does not impact any other browser I never bothered with it untill now
to find a fix

After allot of researching I found the answere to my error with Internet Explorer why everyone
gets "Stack overflow at line: 171" 'was this mods .js script'

works with all browsers except IE,8 or before if you have the java script fault but also depends on users computers setups
I found by removing this string everyone who uses my forum with IE no longer get the 171 error anymore
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js"></script>
but in saying that this mod works very well with IE my problem was I had 2 of the same strings as to why it was a problem
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js"></script><script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js"></script></home>
removed the doubled string and walla all good now.

hope this helps other, take care all

T3CHN0

#42
Quote from: aw06 on March 30, 2010, 07:31:35 AM
Hey ric, slight flaw in this mod .... if you have smf set to recize images when you use the reflec that is ignored and the actual image size is posted....
Is there a fix ?? Using SMF 2.0 Rc3

Hi Ric I know this mod has had no posts for the past year apart from mine.
I was just wondering if you ever fix this error posted before.. I have the same problem
on my smf 2.0.1 site. images are not resized.

Not a biggy as very few members use reflection on there images and I edit it after there post
and resize them my self but would be good if there is a fix for it.

cheers buddy.

P.S.
if there is a better way then yeah fix it but for now I found a fix by doing this

Subs.php
Find
'content' => '<img src="$1" alt="" border="0" class="glossy rheight33"/>
change to this
'content' => '<img src="$1" alt="" border="0" width="50%" height="50%" class="glossy rheight33" />
and it will resize the image by 50% not a good fix for little images but works all the same :)

Advertisement: