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


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationPlugins (Moderators: scott, DanO, Marty)SplitRecurrences plugin
Pages: 1 2 [3]   Go Down
Print
Author Topic: SplitRecurrences plugin  (Read 2614 times)
0 Members and 1 Guest are viewing this topic.
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #30 on: May 07, 2004, 12:34:00 PM »

I found my answer here: Event sort in Search View

Plugin and search functions working well now. Thanks Dan.

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

[This message has been edited by DanO (edited November 02, 2006).]

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #31 on: May 07, 2004, 07:04:00 PM »

** I installed the Split Events plugin and now all of my Search Results are out of order chronologically **

That shouldn't have anything to do with the plug-in but it may make the search's
default behavior more noticeable as normally only the first occurrence of a recurring
event is displayed, not all of them like when the plug-in is used to convert them.

** [search results sorting link > Event sort in Search View ] Plugin and search functions working well now. **


Glad to hear it.

Dan O.


[This message has been edited by DanO (edited November 02, 2006).]

Logged
MrSlate
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #32 on: August 26, 2004, 12:23:00 PM »

Sorry if I am asking a redundant question, But I want to make sure I have the criteria straight. All I am looking for is a way to schedule a reoccurring event over four month period, (lets say once every Monday)with the ability to remove the THIRD Monday of every other month. (something circumvents the meeting on a regular basis) OR, if the meeting gets circumvented with another event, the ability to cancel just that ONE Monday.


Does your plug-in allow for this? If it is really complicated, I'll just add every Monday by hand and remove those not needed..

Seems like a simple future version Calendar request.

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

[This message has been edited by MrSlate (edited August 26, 2004).]

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #33 on: August 26, 2004, 04:53:00 PM »

** Does your plug-in allow for this? **

Yes. The Split Recurring Event plug-in allows you to add a recurring event
in the normal way but edit or delete the events separately afterward.

Dan O.


[This message has been edited by DanO (edited August 27, 2004).]

Logged
MrSlate
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #34 on: August 28, 2004, 09:30:00 AM »

Great thanks!

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #35 on: September 04, 2004, 08:18:00 PM »

BTW. If anyone wants to split 'recurring' events but not 'day span' events (if you're using the DaySpan template), it is easy to modify the script to omit altering those.

Look in the after_schedule_event.pl file for the lines following:

## IF static event with start and end date greater than 1 day

Right before the line:

if ($verbose)

Add:

next;

So the code will then look like:

code:
## IF static event with start and end date greater than 1 day

elsif (!$waiting && $matches == 1 && !$info->{'recurrence_type'} ...
   {

   next; # skipping 'day span' events  ** ADDED LINE **
   
   if ($verbose)
      {
      &addUserMessage("Fixing 'static' Schedule with date range");
      }


JFYI

Dan O.

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

Logged
chillaxing
New Member
*

Karma: 0
Offline Offline

Posts: 0

Web Development Librarian


WWW
« Reply #36 on: November 08, 2004, 03:34:00 PM »

I'm sure this has been answered elsewhere, but I can't seem to find it. Will this plug-in allow me to search recurring events by date as if they were individual events? I.e., Does it get around the problem of recurring events not showing up in a date search when the range does not include the first occurrence. I have many recurring events and entering them individually (hundreds of individual events) is incredibly time consuming. Thanks.

[This message has been edited by chillaxing (edited November 08, 2004).]

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #37 on: November 08, 2004, 05:34:00 PM »

** Will this plug-in allow me to search recurring events by date as if they were individual events? **

Yes, once a recurring event is converted with the plug-in, each instance (date) will act
exactly like a single event. Ie. Each of the events will appear in the search results
separately instead of just the first occurrence of the event as recurring events usually do.

Dan O.

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

Logged
mraj
New Member
*

Karma: 0
Offline Offline

Posts: 0

Software Engineer


« Reply #38 on: February 26, 2005, 01:41:00 PM »

DanO,

You said: My Split Recurring Event plug-in now only splits events after they have been approved to minimize the approval process. Un-bounded events ARE still converted to bounded at time of posting though.

1. If I have all my users set for "auto-approve", I assume it will take place when the event is created, right?

2. How are un-bounded events bounded?  Is the user prompted to enter an end-date? or is the end date admin-configurable? I want to be sure the user is aware that the recurring event was bounded, and what the end-date is.

BTW, this is THE plug-in, and I will soon be sending you $10.
Without this, CalendarScript is not 'up to snuff'.  There are always exceptions to recurring events.

I think Matt should update the CalendarScript.com site to mention that this capability is available... under the "Advanced Scheduling Options" paragraph on the Features page.
I almost didn't look at this program because I didn't think it could remove individual events from a normally-recurring event (because that paragraph makes no mention of it, and of course when I downloaded it, I saw the capability did not exist).  As a matter of fact, I haven't paid Matt yet, because I need to prove that this works first -- so you'll probably get paid before Matt.  

Maybe Matt should up the price by $3, and pay you $3 for every license...  I assume most users would want this important feature, and would much rather have it bundled with the product, rather than have to figure our that much2.com exists, and that you have to PayPal someone, and ....    AND, there are probably a bunch of CalendarScript users out there that don't even know this capability exists! (and are living with adding recurring events individually by hand).

-- Mark

------------------
See some of my modifications to CalendarScript at
http://www.prayforoneanother.org/cgi-bin/cal/calendar.pl

Logged

See some of my modifications to CalendarScript at
http://www.prayforoneanother.org/cgi-bin/cal/calendar.pl
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #39 on: February 26, 2005, 08:01:00 PM »

** 1. If I have all my users set for "auto-approve", I assume it will take place when the event is created, right? **

The events will be split immediately.

** 2. How are un-bounded events bounded? Is the user prompted to enter an end-date? or is the end date admin-configurable? **

From the installation instructions:

quote:
Edit the after_schedule_event.pl file with a *text editor* and set the
4 variables at the top of it. Most of them are for how you want un-bounded
events to be scheduled. The variable options are as follows:

--------------
$number_days - Sets the number of days to schedule un-bounded weekly recurring events for.
$number_months - Sets the number of months to schedule un-bounded monthly recurring events for.
$number_years - Sets the number of years to schedule un-bounded yearly recurring events for.

NOTE: All unbounded events will be scheduled from the current date forward only!


** I want to be sure the user is aware that the recurring event was bounded **

As far as I can remember it does display a message like:
Scheduled changed to starting $starting_date until $ending_date only!

Dan O.

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

Logged
mraj
New Member
*

Karma: 0
Offline Offline

Posts: 0

Software Engineer


« Reply #40 on: February 27, 2005, 11:32:00 PM »

Dan,
Plug-in works great. Thanks for writing this!

FYI, I also thought the plug-in affected my search results,
as musicvid said above.  The link to visit to make the search results appear in date-order can be accessed here:
http://web.archive.org/web/20030712182435/www.calendarscript.com/support/forum/Forum4/HTML/000244.html

I changed the wording in before_edit_event_form.pl
from 'Select if you want all related records modified'
to 'Check 'Edit All' below if you want all related records modified.'
Similarly, in before_delete_event.pl
from 'Select if you want all related records deleted.'
to 'Check 'Delete ALL' below if you want all related records deleted.'

I think "Select" might be confusing for some people... when I first read it, I thought "select what?"

------------------
See some of my modifications to CalendarScript at
http://www.prayforoneanother.org/cgi-bin/cal/calendar.pl

Logged

See some of my modifications to CalendarScript at
http://www.prayforoneanother.org/cgi-bin/cal/calendar.pl
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #41 on: February 28, 2005, 01:59:00 AM »

** Plug-in works great. **

Glad to hear it.

Dan O.

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

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