Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8054 Posts in 1860 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationHacks and Mods (Moderators: scott, DanO, Marty)bug csr plugin: multiple calendars (solved)
Pages: [1]   Go Down
Print
Author Topic: bug csr plugin: multiple calendars (solved)  (Read 349 times)
0 Members and 1 Guest are viewing this topic.
walter
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: February 24, 2004, 02:43:00 PM »

I found and finally could solve a bug in the calendarscript reminder plugin of Michael Estigoy:

When you have multiple calendars, the csr won't work: there is missing a variable in the url after you set the reminder.

To solve this:

1. csrinput.html
insert this in the form :
<input type="hidden" name="calendar" value="<%csr_key%>">

2. display_after_getEvent.pl
after this (around line 50): sub display_after_getEvent {
insert this: $csr_key = $calendar;

in this routine: sub csr_show_form {
after this (around line 150): foreach $line (@sourcelines) {
insert this: $line =~s/<%csr_key%>/$csr_key/isg;

That's all!

P.S. Is Michael still alive and kicking   because his site is down? His csr plugin is really great!

Logged
Geoffrey
New Member
*

Karma: 0
Offline Offline

Posts: 0

Bridge Engineer


WWW
« Reply #1 on: January 20, 2005, 11:40:00 PM »

(I probably should be posting this as a new thread, but anywho....)

I have two issues with the CSR plug-in:

* It would be REAL nice if the links to request a reminder showed up ONLY for future events.  It makes no sense to show the links for past events.

* Importing the vcs files into Outlook is failing for me.  (For some reason, it will work for some evnets but rarely.)  In the event.vcs, the dates look like:
DTSTART:T00
DTEND:T00

Any ideas?

------------------
Geoffrey H. Goldberg
Pittsburgh

Logged

Geoffrey H.  Goldberg<BR>Pittsburgh<BR>
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 235

Please don't PM me. Post in the open forum.


WWW
« Reply #2 on: January 21, 2005, 08:04:00 PM »

** It would be REAL nice if the links to request a reminder showed up ONLY for future events. **

In display_after_getEvent.pl after the lines:

$csr_q = new CGI;
$csr_seldate = $csr_q->param('csr_datestring');

try adding:

if ($csr_seldate < $TODAY_DATESTRING)
   {
   return;
   }

 This is untested so use at your own risk!

** Importing the vcs files into Outlook is failing for me. Any ideas? **

Sorry, I don't use either.

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: