Adding Facebook's Like buttons

Creating and modifying plugins.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Adding Facebook's Like buttons

Post by garvinhicking »

Hi!

Well, that helps nothing at all. They need to tell which other Apache URL rewriting modules are interfering, like mod_speling or mod_security or whatever. I don't really see an issue by Serendipity itself, it is some oddity of their server that they cannot deliver the requested file. Maybe you can urge them to properly read your example code and actually read your mail.

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/
schimanke
Regular
Posts: 161
Joined: Mon Jan 07, 2008 4:38 pm
Location: Hameln, Germany
Contact:

Re: Adding Facebook's Like buttons

Post by schimanke »

That's what I thought. Okay, I will see what I can find out.
lfrantzen
Regular
Posts: 55
Joined: Fri May 02, 2008 1:24 pm
Location: Munich, Germany
Contact:

Re: Adding Facebook's Like buttons

Post by lfrantzen »

Hi,

just discovered that I run into the same problems with 1&1. I could solve it by changing one rewriting rule, please see this thread:

http://board.s9y.org/viewtopic.php?f=3&t=17136

Hope that helps also in your case.

Cheers,
Lars
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Adding Facebook's Like buttons

Post by garvinhicking »

Hi!

This is great news. The "$" is optional and not really required. If removing it changes things, I'll of course remove it in the main s9y distro now. :-)

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/
schimanke
Regular
Posts: 161
Joined: Mon Jan 07, 2008 4:38 pm
Location: Hameln, Germany
Contact:

Re: Adding Facebook's Like buttons

Post by schimanke »

Garvin, just to let you know and as a follow-up to my issue... The mentioned solution indeed did the trick for me and my 1&1 setup. After removing the "$" my CSS is now used correctly when enabling mod_rewrite.

Being able to use rewriting also solved my issues with the Facebook like button (and also Twitter and Flattr buttons).

Thanks to Lars for the solution!
littlerabbit
Regular
Posts: 15
Joined: Thu Nov 09, 2006 6:41 pm
Contact:

Re: Adding Facebook's Like buttons

Post by littlerabbit »

Enabling URL Rewriting: mod_rewrite in Config totally fixes this problem I've never been able to figure out! Wonderful.

Does anyone know how to grab the first image in the entry and stick that into og:image? Right now fb grabs my technorati icon which is totally absurd...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Adding Facebook's Like buttons

Post by garvinhicking »

Hi!
Does anyone know how to grab the first image in the entry and stick that into og:image? Right now fb grabs my technorati icon which is totally absurd...
Sadly that's not so easy within the template itself, because it involves some preg matching.

However I've added this feature to version 0.3 of the serendipity_event_facebook plugin right now. It should be available through spartacus in max. 24 hours.

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/
Post Reply