"Add to Google Calendar" BBCODE (not working)

Get help developing custom BBCodes or request one.
Post Reply
Registered User
Posts: 410
Joined: Thu Mar 28, 2013 10:27 pm

"Add to Google Calendar" BBCODE (not working)

Post by techman41973 » Tue Dec 17, 2013 11:33 pm

I'm trying to create an "Add to Google Calendar" BBCODE.
So users can click a button and add a pre-filled event (that I create) to their Google Calendar.
I created a test event using the template at https://support.google.com/calendar/answer/3033039
and I tested the html on a blank page (not in a post). It works fine. The "Add to Google Calendar button" appears and works when pressed.

Code: Select all

<a href="http://www.google.com/calendar/event?action=TEMPLATE&text=Test&dates=20131231T053000Z/20141231T060000Z&details=This%20is%20a%20test&location=Neverland&trp=false&sprop=mysite.com&sprop=name:mysite.com" target="_blank"><img src="//www.google.com/calendar/images/ext/gc_button3.gif" border=0></a>
To create the BBCODE template I did the following:

BBCODE Usage: I filled in the following:

BBCODE Usage: I filled in the following:
<a href="http://www.google.com/calendar/event?ac ... ext={TEXT1}" target="_blank"><img src="//www.google.com/calendar/images/ext/gc_button3.gif" border=0></a>

Then I added a use case to a post.


This doesn't work. My BBCODE doesn't get parsed.
I tried {SIMPLETEXT1} also, since simpletext is much safer. That doesn't work either.
I would appreciate some help.
Last edited by Oyabun1 on Wed Dec 18, 2013 12:08 am, edited 1 time in total.
Reason: Moved from Support

Post Reply

Return to “Custom BBCode Development and Requests”