Home › Forums › Calendar Products › Community Events › Google Calendar Export Doesn't work with Sharing Plugin
- This topic has 11 replies, 3 voices, and was last updated 11 years, 3 months ago by
Josh.
-
AuthorPosts
-
November 5, 2014 at 8:45 am #862328
neueideas
ParticipantI first discovered the issue when using Jetpack’s social sharing module. Clicking on the +Google Calendar button with the module activated returns an “invalid request” page from Google. I noticed this problem was addressed previously with a user on the Genesis framework.
I also tried using other social sharing plugins, but ended up with the same result. I’m trying to find a way for the Google Calendar button to function properly alongside the social sharing buttons.
November 5, 2014 at 10:40 pm #863572Josh
ParticipantHello neueideas,
Thanks for reaching out to us!
It looks like this is the solution for the Genesis example you mentioned above?
Since the main hook is modifying the templates built into The Events Calendar, the theory behind this should work with any theme. You’ll just need to modify the output of the Genesis Simple Share code to be that of the output for the Jetpack social share buttons. To start, you could take a look at this function and see if that can be used in conjunction with the hook from the previous snippet to get the display moved and Google working for both buttons.
I’m sorry I wasn’t able to give you a direct response however I hope this was able to point you in the right direction.
Thanks!
November 17, 2014 at 2:35 pm #888321gchead
ParticipantI have the same problem. Narrowed it down to a conflict with Mashshare social sharing plugin.
See: http://capitalblues.co.nz/
Newbie here so looking for a simple solution please 🙂November 18, 2014 at 8:34 am #889206Josh
Participant<p>Hello gchead,</p><p>Thanks for reaching out to us!</p><p>It’s best to open new threads to ensure we’re able to respond to your issue as quickly as possible. It also helps to keep the threads organized since the issues are slightly different and the solution may be different as well.</p><p>However, I wasn’t able to view the issue on your site. I imagine you have it removed? My assumption would be that the theory behind this solution would still work in this case. You would just need to find the appropriate display function for the social share buttons in Mashshare (if they have a function for this) and hook the display to the “tribe_events_single_event_before_the_content” hook in a similar fashion as the Genesis Share buttons in the previous snippet. </p><p>Let me know if this helps. </p><p>Thanks!</p><p>- Josh</p>
November 18, 2014 at 12:13 pm #889563gchead
ParticipantI’m puzzled that you can’t see the problem. I have tried with two different computers, with both Chrome and IE and always get an “Invalid Request” error when I click on the “+ Google Calendar” button.
Can you please look at this event and confirm if it works for you?
http://capitalblues.co.nz/event/stax-of-soul/
I have found that if I disable the Mashshare plugin the calendar button returns to normal functioning.
Thanks,Geoff
November 18, 2014 at 8:39 pm #890008Josh
ParticipantHello neueideas,
Thanks for following up with us. I apologize for missing that the first time looking at your site. I now see the error when clicking on the Google Calendar button.
However, since this is still a conflict with a plugin that you would like to continue using, the only solution I can really offer is the same from the previous message. Does moving the display of the secondary social media buttons to outside of the loop work for your site?
Thanks!
November 19, 2014 at 11:01 am #890862gchead
ParticipantSorry but I don’t know how to do that. I’m not a WordPress programmer. Can you explain?
November 20, 2014 at 8:58 am #892231neueideas
ParticipantSorry for the late response; I guess email updates don’t work on this forum.
I’m kind of in the same boat as gchead. I understand what the code modification is attempting to do, but I’m a front-end guy, so I don’t quite know what to do with it. I’ll poke around a bit at it.
November 21, 2014 at 1:55 pm #894295Josh
ParticipantHello neueideas,
Thanks for following up with us.
I did some digging and it looks like this is where display of the icons is being controlled with the Jetpack sharing icons. Within your theme, you should be able to remove these filters and then hook the “sharing_display” function to the “tribe_events_single_event_before_the_content” hook like is done in the snippet provided before.
Let me know if this helps.
Thanks!
November 24, 2014 at 2:46 pm #897517neueideas
ParticipantHey, thanks for the response. I’d really like to take your advice and run with it, but I tried exploring the code and just couldn’t get the thing to work.
As an example, when trying to add the event on the following page (http://wheelingartbeat.com/event/m-80s/) to Google calendar, I get the Invalid Request page. Can you give me any more specific guidance? I really want the share functionality to remain, but it’s been disabled until I can get this fixed.
November 28, 2014 at 9:39 am #901227Josh
ParticipantHello neueideas,
Thanks for following up with us! I tried testing out the solution on my local install however I didn’t get the error while trying to add the event to my calendar using the +Google Calendar while I had Jetpack’s’ Sharing tools activated.
Would you mind trying the Testing for Conflicts procedures to see if this is a conflict with Jetpack in general or if this is possibly a conflict with the active theme, Jetpack and the events calendar plugin.
Thanks!
January 8, 2015 at 5:23 am #930390Josh
ParticipantHey,
We like to close out tickets after they’ve been inactive for a couple of weeks. If you have any further questions on this issue, please don’t hesitate to open a new ticket.
Thanks!
-
AuthorPosts
- The topic ‘Google Calendar Export Doesn't work with Sharing Plugin’ is closed to new replies.
