0.8.0.2 Broke Embedded Google Calendar
Submitted by Tate on Mon, 03/31/2008 - 14:51.
I upgraded to the latest revision of PP as I was applying Tim's patch that seems to have fixed a problem where notification weren't being sent out. That all seems to work fine for me now, which is great.
Sadly, something has broken the ability to embed Google calendars through an iframe on the overview page be placing the code in the description.
This was an extremely important part of the way I use PP. I desperately need it back. Do I have to revert to the previous revision? Is there any way to fix this?
Thanks,
Tate.

Hi Tate,
it's probably due to some Textile restriction that have been added for security purposes. See this thread for some details:
http://projectpier.org/node/558
One way to fix it is to change the textile function call made to remove some restrictions. But that would be at your own risks I suppose.
-
Tim
Hey Tim,
Thanks for writing me back.
I actually spent the whole morning reverting back to my back-up and manually changing "recepient" to "recipient" in the 3 files I saw your patch modified. (Was there anything else that patch was doing?) What I've gotten is a version that seems to work with notifications and also displays a google calendar. When I have some time, maybe I'll try to upgrade and mess around with the textile issue.
One thing that is weird in the testing I've done is that there are all sorts of delays in the emails. If I send out 5 tests, some of them come instantaneously and some don't come for over 1/2 hour. In other threads I've seen that this might have something to do with server issues, but its weird that email that get sent out simultaneously aren't having the same delivery time.
Is this something I should talk to my host company about? Is there anything that can really be done?
I guess it's not a huge deal, but it is a little weird to have a notification of a comment on a message come before the notification of the message itself or test 4 and test 5 come before test 2.
Thanks,
Tate.
As far as I can tell, it has to be an issue with your host since the php code is handling all the emails at the same time.
One thing you could try if you can is set it up with another email host. If you have a Gmail account you can do that pretty easily. If you still have the same kind of delays with Gmail, I suppose we would have to look into the problem deeper.
Thanks,
-
Tim
For all the tests I used my work account (which is my user on the site) and a Test user with my Gmail account.
The Gmail had similar issues. For instance a new comment on "Test 2" was posted 15 min. before the notification for the "Test 2" message was delivered. Strangely the same notifications would get delivered at different rates for the 2 different accounts and some that came quickly for one would be delayed for the other.
I'm just wondering if it has anything to do with my shared hosting where the PP site is located. Is that possible? I know that others have had similar experiences, but I just don't know where to start looking in to the issue.
As long as everything gets delivered I guess it's okay, but it is just strange behavior and a little odd.
Tate.
What I meant was to use Gmail as the server for emails going out, not necessarily for the users.
From your comment, it seems that you're using your host email account and Gmail for one of the users.
If you use Gmail as your outgoing server, it should help point out if your host is at fault when delivering messages.
-
Tim
I do believe I understand now. I apologize for my lack of understanding here.
Is there an easy way I could do that?
Again, for me now, this is not a huge problem since the emails are just being delayed a variable rate of time.
Tanks,
Tate.
If you go under Configuration/Mailing in the administration part, you'll see that you can change the outgoing server.
Follow the advice given in this forum thread for the different parameters:
http://projectpier.org/node/325
Honestly, I just tried myself to set it up like they say and I can't get it to work :-/ However, I'm pretty sure I have been able to do it at some point, and other people obviously managed to get it to work, so there is a way.
-
Tim