Support

IFTTT

Posted: May 27, 2015 at 7:27 am

Viewing 21 reply threads


Angus Russell

May 27, 2015 at 7:27 am

Hi, only found 2 posts on this topic, so will WP recipes work with EE3?

I know that there is possibly integration with EE4 but wondering how to make it work with EE3.

How about use a Feedly recipe and creating a .rss for pages? Ideally looking at a way to post to FB & Twitter once new events are added?

Thanks
Angus


Lorenzo Orlando Caum

  • Support Staff

May 27, 2015 at 9:32 am

Hi Angus, we do not offer an integration with IFTTT or Zapier at this time. If you are able to get this working, then do let us know and we’ll check into it.

Thanks


Lorenzo


Angus Russell

May 29, 2015 at 12:41 am

I think I know how to get IFTTT to work, which is by using an RSS feed, in our case from the calendar page. That way any changes in the calendar page (our landing page) will be reflected in the feed.

So, is there an RSS feed plugin that works with EE3? I know they work with the WP pages, but even using the Category Specific RSS Menu it wouldn’t feed the calendar.

Any ideas?

Thanks
Angus


Dean

May 29, 2015 at 3:27 am

Hi,

Not with EE3, you would have more look with EE4. This is because EE3 does not use true custom post types, so there is no feed generated. EE4 does use custom post types, so a feed can be generated.

One option in EE3, you be to generate a post when the event is created and use that post feed to trigger the IFTTT (see the bottom of the event editor for post generation options).


Angus Russell

May 29, 2015 at 8:21 am

Thanks Dean, thanks sounds plausible see we know that a blog post can generate an RSS feed.

Should I post as a “Post” or “event Espresso”? What’s the difference?

I know we only run a website off this setup but how does EE integrate with WP as a blogging site? Is there a way to leverage the blog element of WP for EE?

Thanks
Angus


Lorenzo Orlando Caum

  • Support Staff

May 29, 2015 at 8:47 am

Hi Angus, events in Event Espresso 3 are not custom post types. You would need to use the create a post option which appears in the event editor.

That will create a blog post with the event information. Since that is part of your blog, then it should be accessible via RSS.

However, your other “blog posts” will also appear in the RSS feed.


Lorenzo


Angus Russell

May 29, 2015 at 10:00 am

I found the generate post option at the bottom, and there was a drop down box for “Post” or “Event Espresso” – what’s the difference?

We don’t use WP for blogging at all so this lets us use IFTTT through the Feed channel to populate to wherever we want the information to go.

Thanks


Lorenzo Orlando Caum

  • Support Staff

May 29, 2015 at 10:38 am

Hi, I’m not sure I understand what you are describing. Here is what the create a post option looks like in the event editor:

http://cl.ly/image/221Z2n2y3n2C


Lorenzo


Angus Russell

May 29, 2015 at 10:42 am

Between “Author” and “Tags” I have an option for “Post Type” – either Post or Event Espresso with this rider beneath “Post templates are stored in the “templates” directory of the plugin.”

Thanks


Lorenzo Orlando Caum

  • Support Staff

May 29, 2015 at 10:44 am

Hi,

Was that something that was custom coded for your site? The image that I shared is from one of our testing sites.


Lorenzo


Angus Russell

May 29, 2015 at 11:27 am

Not AFAIK, it was not requested, there was never any intention of blogging! So, no idea!

Since I’ve connected the IFTTT WordPress channel to my WP user a/c I should be able to read the blogs.

If not then I’ll create then as an RSS feed and use the IFTTT Feed channel.

One of these should work, and as long as the only posts are those created when I create events it should achieve what I want.

Essentially want to connect the EE event calendar, Google Calendar, FB Page Event & Twitter; just need to suss the workflow now! All to avoid entering each event multiple times!

Thanks


Lorenzo Orlando Caum

  • Support Staff

May 29, 2015 at 12:28 pm

Thanks, do let us know what you find out. If it works, then we can expand upon it as a tutorial on our documentation site.


Lorenzo


Angus Russell

May 31, 2015 at 6:19 am

Yup, it works.

When adding/updating an event, choose to post to the blog. IFTTT needs to be connected to both the WP a/c and desired FB a/c – Page or personal.

Ingredients within the recipe permit tuning of it.

Thus EE3 now has a connection to IFTTT.

Thanks


Angus Russell

May 31, 2015 at 7:38 am

Under event template settings there is an option to “Use the custom post types feature?” This is where the option to use the EE post template came from. If this option is switched on then you have an “Event Post” listing in the left sidebar between “Pages” & “Comments”

Switching between having it on or off appears to have the unfortunate effect of deleting all existing posts!

Unfortunately, this happens when I post using the standard Post option with the EE template on:
“Warning: Creating default object from empty value in /home/supers62/public_html/wp-content/plugins/event-espresso/templates/event_post.php on line 60”

I get the same message when posting with the custom post option on. Please advise.

If the template is on & I post as EE then I do not get this warning sign, but IFTTT can not read the blog since the URL changes.

http://supersportsevents.me/events/testing-only-ee/ in place of http://supersportsevents.me/testing-only-ee/

Therefore the custom post types may work using the Feed channel of IFTTT, but if you can tell me how to remove the warning message that’d be far better ๐Ÿ™‚

Thanks
Angus


Lorenzo Orlando Caum

  • Support Staff

May 31, 2015 at 8:01 pm

Hi, could you try turning off WordPress debugging?

https://gist.github.com/lorenzocaum/848801a1173be464fbe7#comment-1239850


Lorenzo


Angus Russell

May 31, 2015 at 9:26 pm

When I opne EE I now get this

onstant SPARTAN_WPLC_PLUGIN_DIR – assumed ‘SPARTAN_WPLC_PLUGIN_DIR’ in /home/supers62/public_html/wp-content/plugins/contact-form-7-mailchimp-extension/cf7-mch-ext.php on line 36

Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/supers62/public_html/wp-content/plugins/contact-form-7-mailchimp-extension/cf7-mch-ext.php:36) in /home/supers62/public_html/wp-content/plugins/espresso-multiple/espresso-multi-registration.php on line 77

Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/supers62/public_html/wp-includes/functions.php on line 3508

Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/supers62/public_html/wp-includes/functions.php on line 3508

Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/supers62/public_html/wp-includes/functions.php on line 3508

Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/supers62/public_html/wp-includes/functions.php on line 3508


Angus Russell

May 31, 2015 at 10:38 pm

OK, sorted the wp-config issue

*/
define(‘WP_DEBUG’, false);
if (WP_DEBUG) {
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, true);
}

/

but still getting this in the Post

Warning: Creating default object from empty value in /home/supers62/public_html/wp-content/plugins/event-espresso/templates/event_post.php on line 60

I added this line too:

define( ‘SCRIPT_DEBUG’, true );

and that made no difference either.

Next plan?


Angus Russell

May 31, 2015 at 11:03 pm

This is the offending line of code

$data->event = $wpdb->get_row($sql, OBJECT);

Cheers


Lorenzo Orlando Caum

  • Support Staff

June 1, 2015 at 6:53 am

Hi, is your software up to date?

We have a fix for the issue that you described in a recent maintenance release:

https://eventespresso.com/wiki/change-log/#3.1.37.3


Lorenzo


Angus Russell

June 1, 2015 at 8:30 am

OK, was trying to avoid doing that for a little longer!

Concerned about some changes I made in that were not copied into snippets so may have to re-write some code, once I find which bits. Mind, it’s all logged here so shouldn’t be too hard!

I’ll try that and see what happens.

Thanks


Angus Russell

June 1, 2015 at 9:21 am

Excellent, that did it.

Now the whole system works. Add event, create blog post. IFTTT is connected via WP channel to that post. From their one can access almost all the other channels

I feed to FB Page, and FB Page to Twitter.

EE3 is now connected via IFTTT to the rest of the net ๐Ÿ™‚


Dean

June 1, 2015 at 11:45 am

Very good! I never expected to see that happen with EE3!

Anyhoo, there was a question back there that I don’t believe got answered: what’s the difference between posts and Event Espresso (posts)?

Basically not much, the Posts will produce a standard Post, where the Event Espresso will produce a custom post type. This is only useful if you want to keep event posts out of the normal blog feed, otherwise I would just use the Posts option.

Hope that makes sense!

Viewing 21 reply threads

The support post ‘IFTTT’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso