PDA

View Full Version : RESOLVED: Graphical counter configuration not working


webmaster
11-25-2007, 01:22 PM
http://blog.statcounter.com/?p=43#comment-4134
Oh and having picked a horrible colour for the background of the counter its not letting me change or update that either

Willmonwah
11-25-2007, 08:37 PM
I set the counter as invisible and it works in Firefox, but shows up as a "?" img which means Safari can't load the image (both in the configuration and on my site). I then changed the javascript flag sc_invisible=1 from 0 and now it's invisible as it should be.

Thanks, not sure if this needs to be split into a different thread.

Tamas Kalman
11-26-2007, 01:38 PM
Hello,

I've visited your page and I've see the two counters:
the SC3 counter is at the top with background color #FEFBF0, the foreground color is green and it currently shows 0028189.
The SC4 counter below has a background color #FEFBF0, the foreground color is brown and it currently shows 118.

Since the two background colors are exactly identical is it means were you able to manage to setup the background colors well ?

Please let me know if the problem is still exits and give a more detailed description to let us see what's wrong with the colors!

thank you,
regards

Tamas Kalman

http://blog.statcounter.com/?p=43#comment-4134
Oh and having picked a horrible colour for the background of the counter its not letting me change or update that either

Tamas Kalman
11-26-2007, 04:24 PM
Hello,

I've fixed this issue - now you can use the regular settings (sc_invisible=1) for invisible counter - it will works well with all browsers, including Safari. Anyway, if you still experience this issue please contact us again!

thank you for supporting our SC4 beta test,

Tamás Kálmán

I set the counter as invisible and it works in Firefox, but shows up as a "?" img which means Safari can't load the image (both in the configuration and on my site). I then changed the javascript flag sc_invisible=1 from 0 and now it's invisible as it should be.

Thanks, not sure if this needs to be split into a different thread.

Snowlark
11-26-2007, 06:16 PM
Whew - thank you for fixing this feature (per se).

For some reason the counter was showing on one browser, but not on others. Now it is invisible cross the boards.

Thanks again!

Steve

Willmonwah
11-27-2007, 06:42 AM
now you can use the regular settings (sc_invisible=1) for invisible counter - it will works well with all browsers, including Safari.


Thanks, Tamas. BTW, I think you mean sc_invisible=0. I switched back to 0 and everything is fine.

Willmonwah
11-28-2007, 05:00 AM
Thanks, Tamas. BTW, I think you mean sc_invisible=0. I switched back to 0 and everything is fine.
Sorry, but it seems the problem is back. Please see the counter at bottom of the left column at http://willmonwah.blogspot.com

webado
11-28-2007, 12:36 PM
Wilmonwah,

You have this:

First counter:
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=334159;
var sc_partition=1;
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c2.statcounter.com/counter.php?sc_project=334159&amp;amp;java=0" alt="free stats" border="0" /></a> </noscript>

<!-- End of StatCounter Code -->

The second amp; should not be there. This is an old problem from when you must have used Firefox to get the code and it was messing it up.

Anyway, it's this particular counter (the old one) which is not invisible because it is not configured invisible - it's white digits on pale pink background.


Second counter:
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=3194572;
var sc_invisible=0;
var sc_partition=34;
var sc_click_stat=1;
var sc_security="f0efa153";
</script>

<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c.statcounter.com/3194572/0/f0efa153/0/" alt="blog counter" /></a></div></noscript>
<!-- End of StatCounter Code -->

This beta counter is invisible, as it must have been configured as invisible from the start.

Willmonwah
11-29-2007, 06:12 AM
Wilmonwah,
This beta counter is invisible, as it must have been configured as invisible from the start.

chrisooc, thanks for the reply. I removed the amp but I'm not concerned about the old counter. That's supposed to be visible (just barely). The new counter is showing up as a ?. It doesn't even seem to work in Firefox anymore (showing a text link)

Anyhow, I have once again set the sc_invisible=1 and that seems to fix the problem. Is this a bug where sc_invisible is supposed to be 1 but is generated as 0? That makes more sense to me.

webado
11-29-2007, 01:05 PM
The line
var sc_invisible=1;
only gets generated when you opt for a viisble counter on the homepage and invisible on other pages. In thsoe cases the configuratin is for visible and the visibility is controlled in code.

For a purely invisible counter, when you first create it it will make the image invisibel and nto do anythign further with the code.

Using the method with the visibile & invissible counter allows you to configure it after having generated the code to an invisible image and you'd have already geenrated code for an invisible counter (based on a visible image).

I guess I'm not explaining it right LOL

In any case last night the counter was not working so it was showing up as a broken image (even if your image was invisible, the script did not know that yet, until it could actually connect to the server).

webado
11-30-2007, 01:28 AM
Here's one of my findings:

When setting the transparency as invisible background, it doesn't make it transparent. It keeps it white apparently.

I have it on my site at www.webado.net , bottom left corner.