DavidGNavas
(David García-Navas)
30 أكتوبر 2014، 11:50ص
1
Continuing the discussion from Failed to bootstrap with Google Calendar plugin :
Two months ago, I post a topic asking for a developer to do some customizations on Discourse for my organization, Territorio creativo .
Thanks to Vairix , an organization specialized on Rails who have helped us with this, we can now share this customizations.
The first one, it’s simple a plugin that allows to embed a Google Calendar in a post :
https://github.com/tcreativo/plugin_discourse_calendar
Screenshot:
18 إعجابًا
riking
(Kane York)
1 نوفمبر 2014، 9:46م
2
Looking at the code, I think this would be best upstreamed to the onebox code, so that all the sites can use it.
Though… The url matcher might need some tightening.
5 إعجابات
so what is the status of this? i would rather not install another plugin but do like the idea of being able to embed google calendars in topics. it would be very useful as a team/editorial calendar on our community.
إعجاب واحد (1)
Moter8
20 نوفمبر 2014، 6:53م
4
If @DavidGNavas submits a Pull Request to the onebox repo it could get added, but well, not sure if he wants to do that.
I’d be up to submit it too, but I’d rather let him do that.
إعجاب واحد (1)
DavidGNavas
(David García-Navas)
21 نوفمبر 2014، 12:03ص
5
The developer of this plugin was @Daniel_Fernandez_Pes from Vairix, perhaps he wants to submit the PR, I will notificate him. But, if he doesn’t mind, you are free to do it
4 إعجابات
I already send a PR to implemente this feature.
https://github.com/discourse/onebox/pull/255
Thanks for notifying me!!
nice! but what you’ve done here seems to be about spreadsheets and not calendar? is it possible to also onebox a calendar using a URL like this:
You are right!! My mistake! Here is the right PR!!
https://github.com/discourse/onebox/pull/256
5 إعجابات
While the embed works on here, any time I try to embed a Calendar on my forum , it doesn’t work.
I’m on the latest version of Discourse and OneBox is included with Discourse automatically now, right? So there’s nothing I really need to add is there?
The plugins I have currently:
Any insight would be greatly appreciated!
DavidGNavas
(David García-Navas)
2 مارس 2015، 10:01م
10
Sorry for not contribute much to the conversation, but we have the same plugins installed (plus details ) on a latest version docker instance and it works perfectly
I’m not sure if it was the Discourse update or that I removed “google.com ” from our OneBox list, but they embed now!
إعجابَين (2)
Hmm. I’m just trying this out, and I only get an empty calendar. The exact same code in an iframe on wordpress works just fine. Any idea why?
ie:
(note how the dropdown at top right is empty)
vs.
http://southlondonmakerspace.org/ (3rd from top in the LH column)
riking
(Kane York)
2 يونيو 2015، 10:51م
13
Here’s the generated HTML:
<iframe src="https://www.google.com/calendar/embed?showTitle=0&rm=minimal" style="border: 0" width="695" height="521" frameborder="0" scrolling="no"></iframe>
Looks like some of the parameters are getting dropped.
Found that the embed only works if you take the plain URL from the “Embed This Calendar” box in Gcal settings
If you click on “Customize etc.” and paste the long URL with all the parameters separated with &
then the important bit (src=6hnjp743blahblahblah) doesn’t make it through.
I am not a coder so I don’t have the first clue about how to a)track down this issue in the source or b)submit a pull request to fix it, but hopefully this helps someone else with the same issue!
4 إعجابات
MiguelAngelLV
(Miguel Ángel López Vicente)
2 سبتمبر 2015، 4:11م
15
Any way to set agenda mode as default?
Swang007
(Sean Wangnick)
7 سبتمبر 2015، 3:50ص
16
Tom_Newsom:
Found that the embed only works if you take the plain URL from the “Embed This Calendar” box in Gcal settings
If you click on “Customize etc.” and paste the long URL with all the parameters separated with &
then the important bit (src=6hnjp743blahblahblah) doesn’t make it through.
I am not a coder so I don’t have the first clue about how to a)track down this issue in the source or b)submit a pull request to fix it, but hopefully this helps someone else with the same issue!
Can this be addressed again? We’d like to embed a Google Calendar into a topic, but we’d like to be able to use the customizable code instead of
إعجابَين (2)
Ryan_H
(Ryan Harris)
29 مارس 2016، 1:07ص
17
When you go to generate your embed code, just make all of your custom modifications and then look at the iframe tag that’s generated. take everything in the source attribute.
<iframe src="http://some-crazy-url-with-all-the-styles-that-i-want">
you want to grab everthing between the quotation marks after src=
إعجاب واحد (1)
xiasummer
(xiasummer)
30 يناير 2017، 9:06م
18
Hi, I’ve installed the plugin, and I tried writing the urls google calendar presented me, but nothing happened.
Could you please tell me Why?
@tobiaseigen @Daniel_Fernandez_Pes @Swang007
ewanly
(EW 👌)
31 يناير 2017، 10:15م
19
Google Calendar & Spreadsheet supposed to work now with Onebox without the need to install an extra plugin. Right?
I’d tried to include Google Calendar but I couldn’t succeed. Could anybody confirm that it’s working and how please?
إعجاب واحد (1)
xiasummer
(xiasummer)
4 فبراير 2017، 10:16م
20
What do you mean? Which plugin? How can it works perfectly?
So now, how to achieve the goal of enbeding the google calendar in the Discourse?