Same issue, hoping to find an answer 🙂
Plugin Author
Franky
(@liedekef)
No dice. Here’s the code in SexyBookmarks:
classes/public.php
function get_shr_like_buttonset($pos = 'Bottom', $return_type = NULL) { // $pos = 'Bottom'/'Top' Case sensitive
global $shrsb_plugopts, $post;
global $eventID;
if ($eventID) {
$event=eme_get_event($eventID);
$href = urlencode(eme_event_url($event));
} else {
$href = urlencode(get_permalink($post->ID));
}
This includes the suggested changes. I’m globalizing the $eventID, hoping to grab that variable from “somewhere.” What would be the proper way to access the eventID variable from within another plugin?
Plugin Author
Franky
(@liedekef)
For the Like button: there’s an option in the EME settings page that allows you to set extra HTML headers, useful for facebook headers.
See here for extra headers facebook uses:
http://developers.facebook.com/docs/share/
This should allow you to add these html headers when viewing a single event …
Do you have this working Franky? Not sure if I’m doing this right but putting this in the meta header doesn’t seem to affect FB:
<meta property="og:share_url" content="#_EVENTPAGEURL" />
Plugin Author
Franky
(@liedekef)
Well, I don’t really use facebook myself but people asked for this. I’ll try this out later myself. But please do post this to the official forum: http://www.e-dynamics.be/bbpress/