Weird problem with Flattr-plugin
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Weird problem with Flattr-plugin
Hi,
a reader of my blog sent this video to illustrate an error with the Flattr-Plugin.
http://dl.dropbox.com/u/1486929/deimeke ... 09_001.mov
Any ideas?
Thanks
Dirk
a reader of my blog sent this video to illustrate an error with the Flattr-Plugin.
http://dl.dropbox.com/u/1486929/deimeke ... 09_001.mov
Any ideas?
Thanks
Dirk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Weird problem with Flattr-plugin
Hi!
I've seen this recently also on the blog of stm9x9; but don't see it on serotonic.de or koehntopp.de. In either way, the flattr JS (from flattr itself) seems to be producing this with some of its action...
Also, this code here:
occurs multiple times on your blog, even with the invalid markup - did you insert that manually? Remember to always paste code WITHOUT applying s9y markup plugins in HTML nuggets.
Maybe because you have that code AND the flattr buttons on the plugin, the flattr JS code is misbehaving due to multiple code overwrites.
Maybe you can also ask the flattr support, because I actually think the return text comes from their JS/iframe...
Regards,
Garvin
I've seen this recently also on the blog of stm9x9; but don't see it on serotonic.de or koehntopp.de. In either way, the flattr JS (from flattr itself) seems to be producing this with some of its action...
Also, this code here:
Code: Select all
<script type="text/javascript">
/<strong> <![CDATA[ </strong>/
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/<strong> ]]> </strong>/
Maybe because you have that code AND the flattr buttons on the plugin, the flattr JS code is misbehaving due to multiple code overwrites.
Maybe you can also ask the flattr support, because I actually think the return text comes from their JS/iframe...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Weird problem with Flattr-plugin
I only inserted the button on the right hand side (HTML-Nugget) manually. The rest is done via Plugin.garvinhicking wrote:occurs multiple times on your blog, even with the invalid markup - did you insert that manually? Remember to always paste code WITHOUT applying s9y markup plugins in HTML nuggets.
Ok, that means, that removing the button from the nugget could solve the issue?garvinhicking wrote:Maybe because you have that code AND the flattr buttons on the plugin, the flattr JS code is misbehaving due to multiple code overwrites.
I keep that in mind.garvinhicking wrote:Maybe you can also ask the flattr support, because I actually think the return text comes from their JS/iframe...
Thanks Garvin
Dirk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Weird problem with Flattr-plugin
Hi!
But have a look at your HTML source; the code shows up twice on different places.
HTH,
Garvin
But have a look at your HTML source; the code shows up twice on different places.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Weird problem with Flattr-plugin
Hmm, I took a single article and find the following two occurences:garvinhicking wrote:But have a look at your HTML source; the code shows up twice on different places.
Code: Select all
<script type="text/javascript">
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
</script>Code: Select all
<script type="text/javascript">
var flattr_uid = '11670';
var flattr_tle = 'NoSQL ...';
var flattr_dsc = 'Am vergangenen Samstag haben Ingo, Marc, Sven und ich die erste Folge Binärgewitter zum Thema NoSQL, das neue Sendeformat von RadioTux, aufgenommen. Herausgekommen sind zwei Stunden und fünfundvierzig Minuten über Datenbanken im Allgemeinen und natürlich ganz besonders über Not-only-SQL (NoSQL) Datenbanken. Ich glaube, das ist gut geworden. Achtung, das ist nicht so leicht verdauliche Kost, da es zwischenzeitlich sehr ins Detail geht (das ist auch gewollt). Viel Spass!';
var flattr_cat = 'text';
var flattr_lng = 'de_DE';
var flattr_tag = 'nosql,planet-community,podcast,radiotux';
var flattr_url = 'http://www.deimeke.net/dirk/blog/index.php?/archives/2479-NoSQL-....html';
var flattr_btn = 'compact';
</script>
<script src="http://api.flattr.com/button/load.js" type="text/javascript"></script>What shall I do?
Cheers
Dirk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Weird problem with Flattr-plugin
Hi!
Exactly, the first code you quoted - it occured 2 times when I looked today. now it's only one time, in the head. Can you remove that code as well? It doesn't come from the flattr plugin...
Regards,
Garvin
Exactly, the first code you quoted - it occured 2 times when I looked today. now it's only one time, in the head. Can you remove that code as well? It doesn't come from the flattr plugin...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Weird problem with Flattr-plugin
In my opinion it is only a comment, correct?garvinhicking wrote:Exactly, the first code you quoted - it occured 2 times when I looked today. now it's only one time, in the head. Can you remove that code as well? It doesn't come from the flattr plugin...
I did not enter that code.
Do you think removing and reinstalling the plugin might be helpfull?
Cheers
Dirk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Weird problem with Flattr-plugin
Hi!
No, this is not a comment, it's active code. And it doesn't come from the flattr plugin!
Regards,
Garvin
No, this is not a comment, it's active code. And it doesn't come from the flattr plugin!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Weird problem with Flattr-plugin
In this case the most interesting question is, where does it come from?garvinhicking wrote:No, this is not a comment, it's active code. And it doesn't come from the flattr plugin!
Are you sure that it was not inserted by former versions of the plugin?
Cheers
Dirk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Weird problem with Flattr-plugin
Hi!
I created the plugin and cannot remember it was ever in there. You should do a grep on all your files for a part of the string to see where it originates. Maybe start with scanning your serendipity_config DB table. I'm still quite sure it must come from a HTML Page nugget.
Regards,
Garvin
I created the plugin and cannot remember it was ever in there. You should do a grep on all your files for a part of the string to see where it originates. Maybe start with scanning your serendipity_config DB table. I'm still quite sure it must come from a HTML Page nugget.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Weird problem with Flattr-plugin
You are quite right I must confess, it came from a "head-nugget".garvinhicking wrote:I created the plugin and cannot remember it was ever in there. You should do a grep on all your files for a part of the string to see where it originates. Maybe start with scanning your serendipity_config DB table. I'm still quite sure it must come from a HTML Page nugget.
I have to apologize.
How can I add a big button for the blog in the sidebar-nugget without having this in a head nugget?
Many thanks for your support Garvin!
Cheers
Dirk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Weird problem with Flattr-plugin
Hi!
The first question would be - does removing the code make the flattr plugin work again correctly?
Regards,
Garvin
The first question would be - does removing the code make the flattr plugin work again correctly?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Weird problem with Flattr-plugin
I have no clue, the guy who helped me flattred about ten times ... and I don't want to ask him again.garvinhicking wrote:The first question would be - does removing the code make the flattr plugin work again correctly?
Cheers
Dirk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Weird problem with Flattr-plugin
Hi!
Ah, it works now! I flattrd one of your articles and no more strange display.
I believe you cannot put a flattr big button AND normal flattr buttons on the same page, maybe? I'm afraid you'll need to ask flattr support about this; I think because their API is loaded twice this generates the problem.
Regards,
Garvin
Ah, it works now! I flattrd one of your articles and no more strange display.
I believe you cannot put a flattr big button AND normal flattr buttons on the same page, maybe? I'm afraid you'll need to ask flattr support about this; I think because their API is loaded twice this generates the problem.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Weird problem with Flattr-plugin
Thanks a lot, this will give a good result this monthgarvinhicking wrote:Ah, it works now! I flattrd one of your articles and no more strange display.
(I flattred back).
This is what I had to add for the button:garvinhicking wrote:I believe you cannot put a flattr big button AND normal flattr buttons on the same page, maybe? I'm afraid you'll need to ask flattr support about this; I think because their API is loaded twice this generates the problem.
Code: Select all
<a class="FlattrButton" style="display:none;" href="http://www.deimeke.net/dirk/blog/"></a>Cheers
Dirk