Support

Home Forums Event Espresso Premium Other site event list – plugin not working

Other site event list – plugin not working

Posted: September 15, 2020 at 8:00 am


greg@successteam1.com

September 15, 2020 at 8:00 am

See: https://share.vidyard.com/watch/rB4moB94MmGmuxFYpd61uJ?

I’m trying to add and event list to a website where event the event espresso is not installed. dev.greatelakesreia.com. (event espress is installed on members.greatlakesreia.com). I have installed the plugin on dev.greatlakesreia.com.

plugin: https://github.com/eventespresso/ee-code-snippet-library/blob/master/shortcodes/jf_other_site_event_list.php

However its not working as shown in video. Let me know what to do.


Tony

  • Support Staff

September 15, 2020 at 8:23 am

Hi there,

It looks like you added the URL you want to pull the events from into the comments of the plugin itself, but you need to add it in the shortcode itself within a url parameter, like this:

[other_site_event_list url=https://members.greatlakesreia.com]

You’re telling the shortcode which site it needs to pull the events from by passing the site in the URL parameter.

I can’t tell from the video if you are already doing that so can you confirm, please?

(I’m asking because I’ve just tested this on my own site and it pulls your event in fine: https://monosnap.com/file/ipUi9071ve7hJtQUK9kuadCju9tj42)


greg@successteam1.com

September 15, 2020 at 9:32 am

Yes, I added the correct short code but its not working:

https://share.vidyard.com/watch/tMmmvvUTguqskJJhFpw7UC?


Tony

  • Support Staff

September 15, 2020 at 9:37 am

Ok, thank you.

So the next thing to check is that your server has allow_url_fopen enabled as that function Josh created relies on it.

Go to Event Espresso -> Maintenance -> System information.

Search for allow_url_fopen, what do you have for global and local value?

Do you know how to enable WP_DEBUG mode on the site? If so, enable it and the shortcode may be throwing an error not currently visible.


greg@successteam1.com

September 15, 2020 at 9:49 am

See: https://share.vidyard.com/watch/LFicXBYbTjzj1gZnC59yXJ?

Does not look like it has a local value:

global_value
local_value
access 4


Tony

  • Support Staff

September 15, 2020 at 9:57 am

Ok, having no value means it’s false (nothing to display), so it’s disabled.

Do you have cPanel or similar to edit PHP options? Or know how to access to the php.ini file yourself?

If so, open up the above and search for allow_url_fopen

You should have allow_url_fopen = On to enabled it, so your looking for something like this:

https://monosnap.com/file/3JUQIJb733UvjPynME0uex0JbMd6W5

Side question, does the Invoice/Receipt PDF look a little odd on your site and not show images? That’s a quick indication that allow_url_foepn is disabled and the PDF library we use relies on it.


greg@successteam1.com

September 15, 2020 at 10:00 am

In addition to the response above, I’ve also put both sites in debug mode.


greg@successteam1.com

September 15, 2020 at 10:06 am

I have cPanel.

and since they have not actually used EE yet, I don’t know what the Invoice/Receipt PDF looks like from this account.


greg@successteam1.com

September 15, 2020 at 10:13 am

See: https://share.vidyard.com/watch/fGEkrRMCYUA1Mr8fvSEZNg?

allow_url_fopen is enabled


Tony

  • Support Staff

September 15, 2020 at 10:14 am

cPanel often allows you to change allow_url_fopen in the same section where you select the PHP version to use and it’s usually under PHP options.

See: https://chemicloud.com/kb/article/how-to-enable-or-disable-allow_url_fopen-in-cpanel/


greg@successteam1.com

September 15, 2020 at 10:26 am

https://share.vidyard.com/watch/fGEkrRMCYUA1Mr8fvSEZNg?

Still not working see:
http://dev.greatlakesreia.com/about/


Tony

  • Support Staff

September 15, 2020 at 11:04 am

Hmm, strange.

Can you create a new temp page and outside of beaver builder add the same shortcode to the page, please? Then post the link here.

Also, between line 17 and 18 on the snippet add var_dump($data_url); and then after what is line 18 currently, add var_dump($json);

That should output some details on the page that we can view on that new page.


greg@successteam1.com

September 16, 2020 at 7:19 am

Hey I went to add the page this morning and it is now working.


Tony

  • Support Staff

September 16, 2020 at 7:22 am

Not sure what to say about that one as I have no idea why that would be the case, but I’m glad it’s working for you all the same.

If you run into more issues just let us know.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 1 week, 3 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!