Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: Shark-Time on September 13, 2009, 02:41:49 AM

Title: Problem appearing in internet explorer..
Post by: Shark-Time on September 13, 2009, 02:41:49 AM
Hello...

i have installed a mod and it worked perfectly fine..i customized and the customized ver did also worked great..but today i tried to open my site in internet explorer and i found this problem that the mod is not appearing in internet explorer..

its filter mod...

its working in Mozilla firefox

(http://i341.photobucket.com/albums/o377/pakistanihaider/4562589.jpg)

but in IE it shows like this..

(http://i341.photobucket.com/albums/o377/pakistanihaider/456285.jpg)

nothing coming on that bar...

i did this coding behind it..


echo'
<table width="100%" cellpadding="0" cellspacing="0" border="0">';

if (!empty($modSettings['topicsfilter_enable']))
echo '
<td colspan="8" align="right">
<div class="pathway-l">
<div class="pathway-r">
<div class="pathway">
<div id="filterTopics"><noscript>', $txt['filter_Off'], '</noscript></div>
<script language="JavaScript" type="text/javascript"><!-- // --><!--
oTopicsFilter.load();
//--></script>
</div>
</div>
</div>
</td>
</table><br />';


Really need Help..
Title: Re: Problem appearing in internet explorer..
Post by: Shark-Time on September 14, 2009, 12:46:06 PM
im really in need of help here.. common why no one is replying... even the author of this mod is not replying..

Reply guys..thats whats this forum is made for helping each other..
Title: Re: Problem appearing in internet explorer..
Post by: Kays on September 14, 2009, 12:58:24 PM
Which version of IE? If it's IE8, try changing compatibility to IE7 and see what it looks like.
Title: Re: Problem appearing in internet explorer..
Post by: Shark-Time on September 14, 2009, 01:11:58 PM
its ver 6.0.the second screen cap is from ver6.0.but its not about versions...if it is working for me in firefox then why should i go for old versions..but not every users use firefox...and i know mostly peoply are still using IE...and i think its mod problem..but the mod author dont know why but not replying and he mostly dont use to be active...

please can you tell me how to make it work with IE..too...
Title: Re: Problem appearing in internet explorer..
Post by: Shark-Time on September 14, 2009, 01:23:03 PM

(http://i341.photobucket.com/albums/o377/pakistanihaider/testii.jpg)

look even in opera it is showing slighty above...can any one make this coding ok for me? will be really great full to anyone who makes it ok..
Title: Re: Problem appearing in internet explorer..
Post by: Kays on September 14, 2009, 01:29:18 PM
Did it ever work with IE? I suspect so since I can't see a mod getting approved if it didn't.

I believe that you've got quite a number of mods installed. As well you've made a number of other modifications to your files. I wonder if it's not a conflict there somehow. That mod does use javascript.

Are there any errors when loading the page in IE. Look for a yellow icon in the bottom left. Check for javascript warnings in FireFox. Also is that page valid xhtml?

The problem with Opera is something else. At least it shows.
Title: Re: Problem appearing in internet explorer..
Post by: Shark-Time on September 14, 2009, 01:38:27 PM
i dont remember cuz when i opened my forum in IE and saw that prob i posted here...Yes Yellow icon is coming.. what is valid xhtml?


(http://i341.photobucket.com/albums/o377/pakistanihaider/fdjfkldjflkjghfdg.jpg) (http://i341.photobucket.com/albums/o377/pakistanihaider/fdjfkldjflkjghfdg.jpg)


Please Tell me what should i do to have this mod without any errors..

Title: Re: Problem appearing in internet explorer..
Post by: Kays on September 14, 2009, 02:07:26 PM
On the bottom left on that screenshot, where it says "Done but with errors" Double click on the icon next to it. That will show what the error is. Google the error to get an idea of what could be causing it. Or post it, but I can't be of much help since I'm not that familiar with Javascript.

Go to the following link to validate your page. It might not help your problem. But it won't hurt to do so. If there are errors, correct them and revalidate.

http://validator.w3.org/
Title: Re: Problem appearing in internet explorer..
Post by: Shark-Time on September 14, 2009, 02:11:59 PM
well i think it says it is undefined.. what does that mean??

(http://i341.photobucket.com/albums/o377/pakistanihaider/6345138.jpg)

it do not show intruption of java with any other jave file?
Title: Re: Problem appearing in internet explorer..
Post by: Kays on September 14, 2009, 02:35:04 PM
All that tells me is that the javascript is broken.

Now that you've got more info. Ask the author of the mod and see if he can shed a light on what's happening.
Title: Re: Problem appearing in internet explorer..
Post by: Shark-Time on September 14, 2009, 03:08:55 PM
i already asked for his help and co-operation in this but there is no reply from his side..

please i really need this to be working.. please can you tell me any other way how to fix this?
Title: Re: Problem appearing in internet explorer..
Post by: Kays on September 14, 2009, 03:27:48 PM
No, I do not know javascript and suspect that it's probably a conflict with some other javascript which you are using. I have a similar problem with FireFox and there's a conflict with one of the mods I use and the javascript controling my menu.

The mod you have is javascript driven and the person who knows it best is the mod author. Post that screenshot and see if he's got any other ideas on this. At least now he's got a bit more information to work with.
Title: Re: Problem appearing in internet explorer..
Post by: Shark-Time on September 15, 2009, 08:22:02 AM
Hey here is some coding from view source..

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<td colspan="8" align="right">
<div class="pathway-l">
<div class="pathway-r">
<div class="pathway">
<div id="filterTopics"><noscript>Topics Filter Off: You Need Javascript Enable</noscript></div>
<script language="JavaScript" type="text/javascript"><!-- // --><!--
oTopicsFilter.load();
//--></script>
</div>
</div>
</div>
</td>
</table><br />



and here is this coding from my php file..message index.template.php..

echo'
<table width="100%" cellpadding="0" cellspacing="0" border="0">';

if (!empty($modSettings['topicsfilter_enable']))
echo '
<td colspan="8" align="right">
<div class="pathway-l">
<div class="pathway-r">
<div class="pathway">
<div id="filterTopics"><noscript>', $txt['filter_Off'], '</noscript></div>
<script language="JavaScript" type="text/javascript"><!-- // --><!--
oTopicsFilter.load();
//--></script>
</div>
</div>
</div>
</td>
</table><br />';


and you have already seen the message which IE gives..can you figure it out now?? may be it is not properly link or some thing like that..


----------------------------------------------------------------------------------------

EDIT:

is there any other way to load the function of Javascript..
cuz when i removed these codings

<script language="JavaScript" type="text/javascript"><!-- // --><!--
oTopicsFilter.load();
//--></script>


this didnt worked on firedox as well too.. so this means fiewfox understands on this coding but as IE is old version so i suppose it cant understand the coding...

well is any one there can tell me how to load this oTopicsFilter.load(); function?? cuz IE cant possibly link it to its source and say it is undefined??

Im Obivously not a Javascript programmer so i can be wrong.. im just guessing it... i think any one wiser can understand on it and may be he helps me solve it..

so please reply but related to this topic..i dont like off-topic posts..
Title: Re: Problem appearing in internet explorer..
Post by: Shark-Time on September 17, 2009, 05:09:09 AM
bump....Help!!!
Title: Re: Problem appearing in internet explorer..
Post by: Shark-Time on September 18, 2009, 04:07:25 AM
again bumping for Help...
Title: Re: Problem appearing in internet explorer..
Post by: Shark-Time on September 20, 2009, 01:13:35 PM
common guys..im not a javascript man.. i cant handle it on my own...please reply.. help me with this mod..
Title: Re: Problem appearing in internet explorer..
Post by: samurai-lupin on May 01, 2011, 11:05:00 AM
Bump. I'm having the very same problem and am looking for a fix desperately, too.