Internet Explorer...
My site worked fine on both IE and Firefox before i started putting your Adcode on it.. Is there a known reason why IE would malfunction?
Here is what happens:
Site partially loads, then goes away and all that is visible is your isksense adverts, then the site stops working completely. But the same site with the same code works fine with fine with firefox... Any ideas?
Comments are currently closed for this discussion. You can start a new one.
2 Posted by masterofmath on 30 Jan, 2009 06:30 PM
Same problem with me, can anyone help? It just started happening. I may need to remove isksense if this keeps on happening.
3 Posted by masterofmath on 30 Jan, 2009 07:00 PM
I was able to get it to work slightly if i used an IFRAME and put it at the BOTTOM of the page. However, it kind of messes up the layout and anything displayed under it disappears.
4 Posted by masterofmath on 30 Jan, 2009 07:13 PM
I found the issue! The extra head and body tag are causing the issue. Please remove them from the output of isksense.
5 Posted by masterofmath on 30 Jan, 2009 07:27 PM
False alarm, the extra body tag seems to be a creation of internet explorer and firefox when I view the source, not actually in the file.
6 Posted by masterofmath on 30 Jan, 2009 07:40 PM
OKAY, i think I have now found the problem Document.write function in IE creates a new page, overwriting the rest of it. This only happens in IE.
http://www.sitepoint.com/blogs/2007/07/11/insert-in-place-without-documentwrite/ ^some more information
btw, i am ralf smith, the idiot that wrote all of those eve mails in the isksense channel
7 Posted by masterofmath on 30 Jan, 2009 08:19 PM
I found that if I used <?php $ads = file_get_contents('http://www.isksense.com/renderer/INSERTYOURIDHERE'); $newstr = str_replace("document.write('","", $ads); echo str_replace("');","", $newstr); ?>
instead of the given script, the page loads faster and the issue IS COMPLETELY AVOIDED. This is probably the best solution for individuals. However, many, many people don't have the ability to use PHP so instead of using document.write to output the files, use some Javascript DOM to insert it in, or, better yet, allow us different methods of including such as giving us an option to get the HTML file instead of the javascript file.
8 Posted by Serious Sally on 30 Jan, 2009 09:08 PM
Awesome, the php you provided allows the Adverts to be shown.. But they always come out white, no matter what all text is white... Any ideas?
9 Posted by masterofmath on 30 Jan, 2009 09:48 PM
Did you change the color via the isksense website? It is changing it for me. Did this problem occur before the PHP code?
10 Posted by Serious Sally on 30 Jan, 2009 10:03 PM
No, before the PHP Code it worked fine (except in IE). Ive changed the colors and what not, but still it turns out white. Its really wired because the black border shows up, and the text flashes the colors i set in Isksense, but then the text turns to white... Could this be a Wordpress or CSS issue?
11 Posted by masterofmath on 30 Jan, 2009 11:36 PM
link your website, I will take a look.
12 Posted by Serious Sally on 31 Jan, 2009 12:11 AM
http://www.eve-news.net
Right now the only place i have the code is in the footer, because thats the only place white text will show up in my theme.
13 Posted by masterofmath on 31 Jan, 2009 12:17 AM
That is a damned nice site design! I will be bookmarking it.
As for the font color thing, maybe just have the code in a
14 Posted by Serious Sally on 31 Jan, 2009 01:11 AM
I tried the Div Tag thing.. Still only white text. I think it might be my CSS... But all of my links and text should be blue, red, or black. So i dont know where the white is coming from.
Ill go ahead and put boxes where i want the isksense to appear, it will read "isksense loading"..
Let me know if i can help you figure it out.
15 Posted by Serious Sally on 31 Jan, 2009 01:24 AM
Hmm, Ive just discovered that i can change the color of the actual text... But its the Link Color that wont change to anything but white.
16 Posted by Serious Sally on 31 Jan, 2009 01:31 AM
For the rest of my Adverts I use my own Adserver , its called Openx. Through it i can place the html that say Google Adsense give me and it displays adsense adverts. Maybe you could rig up some html code that would allow me to display the isksense ads in the same way...
17 Posted by masterofmath on 31 Jan, 2009 01:42 AM
I am not sure what i am doing wrong but I do not see any ISKsense loading things on any pages. Also, I am confused to as what you want me to do with Openx.
If you are looking for some html code to use to display the cleaned isksense code, you need to create a php file to first create the code. Then, if you need to use HTML, you can use the src property of a div element to include it. Such as, <div src="ads.php"></div>. That would be almost like an iframe, but cleaner. However, I really dont see why you would need to use it.
18 Posted by Serious Sally on 31 Jan, 2009 02:00 AM
There is a Isksense loading text right under each post right above the image banner, and right below the comments above the Donation plug.
As far as the OpenX is concerned. I was mostly just letting you know which server i use.
What i was asking was if you could use html code, like what Google Adsense give you, to invoke the Isksense . If not its all good, i just though that might be another option. But i really have little coding experience so i have no clue.
19 Posted by masterofmath on 31 Jan, 2009 02:12 AM
Use the code I gave you, put it in a php file, and use <div src="http://www.example.com/ads.php"></div> as the code for isksense, where ads.php contains the code i gave you. Im not too familiar with Openx (just looked at it now) but that should work.
If you want me to test your ads, i need to know your id (at the end of your ad url) and what color you set them as
Edit: NVM about that div src thing, it is considered bad practice to use it like that. The best possible way is a php include, but if that is not possible, use an iframe.
and if you happen to have any spare isk lying around, my character ralf smith could use some.
20 Posted by Serious Sally on 31 Jan, 2009 03:29 AM
http://www.isksense.com/renderer/352
Font: White Link: Black BG: None Border: None Border color: none Font size 12
Support Staff 21 Posted by Ix Forres on 31 Jan, 2009 06:07 PM
The issue can be avoided entirely by removing the 'defer="defer"' tag from the ISKsense script include tag.
Given the fact that it appears to break IE we'll be removing this from the tags on the site. In other browsers it simply means the rest of the page renders without waiting for the script to load, which helps site performance when ISKsense is down.
Apologies for the confusion here.
Ix Forres closed this discussion on 31 Jan, 2009 06:07 PM.
masterofmath re-opened this discussion on 31 Jan, 2009 08:57 PM
22 Posted by masterofmath on 31 Jan, 2009 08:57 PM
Forres, using the php script should allow the IGB to view the ads as well. Plus, javascript is not as 'nice' as pure html.
Support Staff 23 Posted by Ix Forres on 31 Jan, 2009 09:07 PM
Of course. Originally a PHP version of the system was made available but went unused because of the potential security risks of file_get_contents.
A full IGB solution based around XML is in the works, which will also allow for sites to further customise their advert spaces.
24 Posted by masterofmath on 01 Feb, 2009 04:01 AM
what risked are posed with file_get_contents?
Support Staff 25 Posted by Ix Forres on 01 Feb, 2009 10:50 AM
None nowadays, but there were risks associated with the function when I was writing ISKsense 1.
Ix Forres closed this discussion on 01 Feb, 2009 10:50 AM.
masterofmath re-opened this discussion on 01 Feb, 2009 05:09 PM
26 Posted by masterofmath on 01 Feb, 2009 05:09 PM
Oh, okay. I hope you dont mind if i continue using my php script, it also allows me to style the ads more like i want to, etc.
Support Staff 27 Posted by Ix Forres on 01 Feb, 2009 05:34 PM
For now such scripts will be permitted unless we start running into trouble. We've had some incidents which have lead me to start considering automated verification of adboxes being placed on sites- this would potentially mean such scripts would not be permitted, but we're not there yet.
Ix Forres closed this discussion on 01 Feb, 2009 05:34 PM.
masterofmath re-opened this discussion on 01 Feb, 2009 06:01 PM
28 Posted by masterofmath on 01 Feb, 2009 06:01 PM
What incidents would those be? Honestly, if an adbox does not show, how could anyone click on it? And as for verification, you could always hide <!-- comments like this --> in some of the ads and make sure they exist, or manual verification for specific incidents.
Support Staff 29 Posted by Ix Forres on 01 Feb, 2009 06:02 PM
We've had issues with people placing ads behind password protected areas and executing click fraud on those adboxes. I agree there are options but the point is that we don't have anything implemented just yet.
Ix Forres closed this discussion on 01 Feb, 2009 06:02 PM.