Calendar & Offers page

Have questions or comments about the site?
User avatar
montecarlojoe
Moderator
Moderator
Posts: 2529
Joined: Mon Jun 24, 2013 7:10 am
Collector: Yes
Player: Yes
White Whale: Avant Guard UL Gr - No17 Crown
Decks Owned: 690
Location: Portsmouth, England
Has thanked: 253 times
Been thanked: 268 times
Contact:

Re: Calendar & Offers page

Unread post by montecarlojoe »

And now with a tool bar to subscribe to the calendar or quick add deck release events.
User avatar
ecNate
Member
Member
Posts: 2099
Joined: Sat Mar 01, 2014 1:46 am
Collector: Yes
Player: Yes
Decks Owned: 400
Location: Wisconsin
Has thanked: 420 times
Been thanked: 440 times
Contact:

Re: Calendar & Offers page

Unread post by ecNate »

Ah, very nice.

Question though, is it really a 'mush' that I have Google Calendar to add a deck? ;) Small spelling error there on the hover text.
User avatar
montecarlojoe
Moderator
Moderator
Posts: 2529
Joined: Mon Jun 24, 2013 7:10 am
Collector: Yes
Player: Yes
White Whale: Avant Guard UL Gr - No17 Crown
Decks Owned: 690
Location: Portsmouth, England
Has thanked: 253 times
Been thanked: 268 times
Contact:

Re: Calendar & Offers page

Unread post by montecarlojoe »

Yes - google is a mush. lol

(Will take a look at the typo when I get back home)
User avatar
shaitani
Member
Member
Posts: 303
Joined: Thu Oct 27, 2016 4:58 pm
Cardist: Yes
Collector: Yes
White Whale: Artistic Spring
Has thanked: 142 times
Been thanked: 125 times

Re: Calendar & Offers page

Unread post by shaitani »

I didn't know about the up to date google calendar until I saw this post.
It is pretty damn useful, thanks for keeping it up to date and working properly.
User avatar
ecNate
Member
Member
Posts: 2099
Joined: Sat Mar 01, 2014 1:46 am
Collector: Yes
Player: Yes
Decks Owned: 400
Location: Wisconsin
Has thanked: 420 times
Been thanked: 440 times
Contact:

Re: Calendar & Offers page

Unread post by ecNate »

The UTC time is a little annoying, but plenty of converters exist. You just need to realize times are in UTC which is mentioned as a footnote.

One good addition since we now have a custom solution as a listing would be to include the description of the calendar entry since it typically includes a link to the forum thread entry for that deck.
User avatar
shaitani
Member
Member
Posts: 303
Joined: Thu Oct 27, 2016 4:58 pm
Cardist: Yes
Collector: Yes
White Whale: Artistic Spring
Has thanked: 142 times
Been thanked: 125 times

Re: Calendar & Offers page

Unread post by shaitani »

I'm actually seeing the correct time in my calendar, at least for one sample.
E.g. Don Quixote is being released "Tuesday at 12:00 pm EST", and I'm seeing that correctly in my calendar at "9:00 am" (I'm in PST). I assume Google Calendar automatically populates the calendar for the appropriate time zone you're in.

I also very much like the description containing a link to the thread, a good time saver.
User avatar
montecarlojoe
Moderator
Moderator
Posts: 2529
Joined: Mon Jun 24, 2013 7:10 am
Collector: Yes
Player: Yes
White Whale: Avant Guard UL Gr - No17 Crown
Decks Owned: 690
Location: Portsmouth, England
Has thanked: 253 times
Been thanked: 268 times
Contact:

Re: Calendar & Offers page

Unread post by montecarlojoe »

I had to pick a time zone do display the list on UC and UCT is, well, universal. (And the rest of the board uses it as a standard - GMT anyway, basically the same)

However if you subscribe times will be displayed according to your locality in your own calendar.
User avatar
flyers3003
Member
Member
Posts: 449
Joined: Fri Jan 04, 2013 1:21 pm
Collector: Yes
Player: Yes
White Whale: Original Rarebit
Location: Charlottesville, Virginia
Has thanked: 96 times
Been thanked: 138 times

Re: Calendar & Offers page

Unread post by flyers3003 »

Still seeing this:
Screen Shot 2017-02-09 at 5.02.46 PM.png
Screen Shot 2017-02-09 at 5.02.46 PM.png (97.95 KiB) Viewed 7409 times
Cleared cache many times. Any ideas?
User avatar
montecarlojoe
Moderator
Moderator
Posts: 2529
Joined: Mon Jun 24, 2013 7:10 am
Collector: Yes
Player: Yes
White Whale: Avant Guard UL Gr - No17 Crown
Decks Owned: 690
Location: Portsmouth, England
Has thanked: 253 times
Been thanked: 268 times
Contact:

Re: Calendar & Offers page

Unread post by montecarlojoe »

It relies on Javascript - so if you have noscript installed or similar it wont work...

What browser are you using?
User avatar
flyers3003
Member
Member
Posts: 449
Joined: Fri Jan 04, 2013 1:21 pm
Collector: Yes
Player: Yes
White Whale: Original Rarebit
Location: Charlottesville, Virginia
Has thanked: 96 times
Been thanked: 138 times

Re: Calendar & Offers page

Unread post by flyers3003 »

I get the same result for Chrome, Edge and FF.

I double-checked my Chrome settings and I have "Allow all sites to run Javascript" enabled.

I did notice in the developer tools console the following error: Refused to display 'https://accounts.google.com/o/oauth2/au ... iaXw4iMjOg' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

After a little further investigation, if I add "?:embed=yes" to the end of the URL "calendar.php", it works.
User avatar
montecarlojoe
Moderator
Moderator
Posts: 2529
Joined: Mon Jun 24, 2013 7:10 am
Collector: Yes
Player: Yes
White Whale: Avant Guard UL Gr - No17 Crown
Decks Owned: 690
Location: Portsmouth, England
Has thanked: 253 times
Been thanked: 268 times
Contact:

Re: Calendar & Offers page

Unread post by montecarlojoe »

I don't know why...

The iFrames are generated by the google API, as is the Google response header - makes no sense for them to clash, or for it to happen to one person and not others...

I use chrome on PC, but works fine for me in IE11 at work, and chrome on android.

In chrome console errors are limited to a couple of missing icons, and in IE is says access denied to the scripts within the generated iframes, but functionality wasn't limited.

I'll have a play later when I get back to my own computer at home
User avatar
montecarlojoe
Moderator
Moderator
Posts: 2529
Joined: Mon Jun 24, 2013 7:10 am
Collector: Yes
Player: Yes
White Whale: Avant Guard UL Gr - No17 Crown
Decks Owned: 690
Location: Portsmouth, England
Has thanked: 253 times
Been thanked: 268 times
Contact:

Re: Calendar & Offers page

Unread post by montecarlojoe »

I think it may to be to do with the way sandboxing works in HTML5 - there is an override to force the target of the iframes to NOT be self using the <base> element. I'll let you know when I can get that in place and we'll go a test!
User avatar
montecarlojoe
Moderator
Moderator
Posts: 2529
Joined: Mon Jun 24, 2013 7:10 am
Collector: Yes
Player: Yes
White Whale: Avant Guard UL Gr - No17 Crown
Decks Owned: 690
Location: Portsmouth, England
Has thanked: 253 times
Been thanked: 268 times
Contact:

Re: Calendar & Offers page

Unread post by montecarlojoe »

The other important point is to ensure you access UC at https://unitedcardists.com" onclick="window.open(this.href);return false; - which may mean redoing shortcuts. If your are accessing http://unitedcardists.com" onclick="window.open(this.href);return false; scripts may be blocked.

(NB this would also cause very regular forced log-outs as the site redirects you to the secure urls)
User avatar
flyers3003
Member
Member
Posts: 449
Joined: Fri Jan 04, 2013 1:21 pm
Collector: Yes
Player: Yes
White Whale: Original Rarebit
Location: Charlottesville, Virginia
Has thanked: 96 times
Been thanked: 138 times

Re: Calendar & Offers page

Unread post by flyers3003 »

Yeah, already using https - made the change to my shortcuts a while ago when you asked us to. So I just tried the calendar now and it is working.
User avatar
montecarlojoe
Moderator
Moderator
Posts: 2529
Joined: Mon Jun 24, 2013 7:10 am
Collector: Yes
Player: Yes
White Whale: Avant Guard UL Gr - No17 Crown
Decks Owned: 690
Location: Portsmouth, England
Has thanked: 253 times
Been thanked: 268 times
Contact:

Re: Calendar & Offers page (wap)

Unread post by montecarlojoe »

Weird. I haven't changed anything! Put it down to a glitch in the matrix!
User avatar
ecNate
Member
Member
Posts: 2099
Joined: Sat Mar 01, 2014 1:46 am
Collector: Yes
Player: Yes
Decks Owned: 400
Location: Wisconsin
Has thanked: 420 times
Been thanked: 440 times
Contact:

Re: Calendar & Offers page

Unread post by ecNate »

FYI - embedded calendar is broken again. :( calendar.php
User avatar
ecNate
Member
Member
Posts: 2099
Joined: Sat Mar 01, 2014 1:46 am
Collector: Yes
Player: Yes
Decks Owned: 400
Location: Wisconsin
Has thanked: 420 times
Been thanked: 440 times
Contact:

Re: Calendar & Offers page

Unread post by ecNate »

Looks like the event calendar is displaying again (thanks!), but unfortunately it's not showing the proper time zone. Apparently it is displaying as UTC. As an example, the House of the Rising Spade event shows on Google in my time zone to be accurate for me at 4pm central. However, when displayed on the site it shows as 9pm (21:00). I don't know if there is a way to force a dynamic update based on the users time zone via profile, probably not though. In that case adding a clear notice that it is UTC would be a good idea since the footer for me says "All times are UTC - 6 hours [ DST ]".
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests