dnhmusic
Forum Replies Created
-
Forum: Plugins
In reply to: [EME Sync Events] Uncaught Exception Error?Hi there,
Not sure if I had to start a new topic since I run into the same type of error for a few days now. Here’s a part of the log file :Skipping already synchronized event: 212<br />Inserting location: <br />Skipping already synchronized event: 213<br />Inserting location: <br />Skipping already synchronized event: 239<br />Inserting location: <br />Skipping already synchronized event: 296PHP Fatal error: Uncaught exception 'F acebook\FacebookAuthorizationException' with message 'Unsupported get request. Please read the Graph API documentat ion at https://developers.facebook.com/docs/graph-api' in public_html/dnh m/wp/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v4-4.0.23/src/Facebook/FacebookRequestEx ception.php:104 Stack trace: #0 public_html/dnhm/wp/wp-content/plugins/eme-sync-facebook-events/Facebo ok/facebook-php-sdk-v4-4.0.23/src/Facebook/FacebookRequest.php(280): Facebook\FacebookRequestException::create('{"e rror":{"mess...', Object(stdClass), 400) #1 public_html/dnhm/wp/wp-content/plugins/eme-sync-facebook-events/eme-sy nc-facebook-events.php(185): Facebook\FacebookRequest->execute() #2 public_html/dnhm/wp/wp-content/plugins/eme-sync-facebook-events/eme-sy nc-facebook-events.php(129): eme_sfe_sync_events('1659983850947 in public _html/dnhm/wp/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v4-4.0.23/src/Facebook/Facebook RequestException.php on line 104
Please note that my FB app is already in API 2.4
Thanks in advance for your help ??
Forum: Plugins
In reply to: [Events Made Easy] Facebook sharing & Meta tagsFranky,
To share, here’s the response A2A’s support gave me :
The floating buttons use the current URL, and the default standard buttons use the post URL via WordPress’ get_permalink().
You should look into having the Events Made Easy plugin adjust the post URLs provided by get_permalink().
Otherwise, you can disable the default standard buttons and manually place some buttons code into your theme so that the buttons share the current URL. See the plugin FAQ for PHP template code you might use to share the current URL. For example:
<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT( array( 'use_current_page' => true ) ); } ?>
And here’s how I put it in place on my website running with Thesis 1.8.6:
custom_functions.php
function addtoany_current_url (){ ?><div id="addToAny_custom"><?php wp_reset_query(); if (is_page(1340)){ if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT( array( 'use_current_page' => true ) ); } } else{ if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT( array( 'use_current_page' => false ) ); } } ?></div><?php } add_action('thesis_hook_before_post','addtoany_current_url');
custom.css
#addToAny_custom {text-align: center; padding-bottom : 1.5em;}
Forum: Plugins
In reply to: [Events Made Easy] Facebook sharing & Meta tagsOK I’ll check with them, it is a pretty strange behavior.
On the topic of OG tags, to share, here’s the code I used to disable Yoast SEO for events page :
function remove_yoast() { wp_reset_query(); global $wpseo_front; if (is_page(1340)){ if(defined($wpseo_front)){ remove_action('wp_head',array($wpseo_front,'head'),1); } else { $wp_thing = WPSEO_Frontend::get_instance(); remove_action('wp_head',array($wp_thing,'head'),1); } remove_action('wp_head','rel_canonical'); remove_action('wp_head','index_rel_link'); remove_action('wp_head','start_post_rel_link'); remove_action('wp_head','adjacent_posts_rel_link_wp_head'); } } add_action('wp','remove_yoast');
Forum: Plugins
In reply to: [Events Made Easy] Facebook sharing & Meta tagsDear Franky,
AddToAny isn’t playing along anymore (nor is Social Floating Bar) , even with the modified HTML headers… please help ??
Forum: Plugins
In reply to: [Events Made Easy] Facebook sharing & Meta tagsHey thanks, my bad, I put them in the “Extra HTML Header”.
FYI, I also had to disable Facebook’s official WP plugin as it was clashing on the og meta tags.
Forum: Plugins
In reply to: [Events Made Easy] Adding social contest to eventsOK thanks, I tried, it should work as intended ??
Forum: Plugins
In reply to: [Events Made Easy] Adding social contest to eventsHi Franky,
If I am correct, adding it to the “event list format” would mean that the contest would appear for every event, wouldn’t it ?
I’d like to have it on specific events only, is there a way to do it?
Forum: Plugins
In reply to: [Events Made Easy] Adding social contest to eventsHi, indeed, it makes sense. It does work now by inserting the shortcode into the “notes” part (at the bottom of it per example).
Now, is it possible to have a custom placeholder for the contest shortcode, so I can place it anywhere I want in the events page using the “default layout” parameters in the “Events” tab in settings?
Thanks in advance ??