Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
webservant
Newbie
Newbie



Joined: Mar 07, 2007
Posts: 5

PostPosted: Tue Nov 13, 2007 7:07 am Reply with quote

I recently replaced my installation of Total Calendar with GCalendar 1.7.0 in anticipation of RN 2.20.00 release. Do you have taps for GCalendar?

Thanks.

_________________
Awaiting His Shout,
Webservant - GraciousCall.org
Romans 8:28-39 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Tue Nov 13, 2007 2:35 pm Reply with quote

Yes, I do. They are in the upcoming RavenNuke 2.20 release, but I will post them here later tonight for you.
 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Wed Nov 14, 2007 12:09 am Reply with quote

Here are the ShortLinks pieces for GCalendar, latest release:

GT-GCalendar.php:

Code:

$urlin = array(
'"(?<!/)modules.php\?name=GCalendar&amp;file=(viewday|viewweek)&amp;y=([0-9]*)&amp;m=([0-9]*)&amp;d=([0-9]*)&amp;e=([0-9]*)&amp;printable=1"',
'"(?<!/)modules.php\?name=GCalendar&amp;file=(submit|viewday|viewweek|friend)&amp;y=([0-9]*)&amp;m=([0-9]*)&amp;d=([0-9]*)&amp;e=([0-9]*)"',
'"(?<!/)modules.php\?name=GCalendar&amp;file=(viewday|viewweek)&amp;y=([0-9]*)&amp;m=([0-9]*)&amp;d=([0-9]*)&amp;printable=1"',
'"(?<!/)modules.php\?name=GCalendar&amp;file=(submit|viewday|viewweek)&amp;y=([0-9]*)&amp;m=([0-9]*)&amp;d=([0-9]*)"',
'"(?<!/)modules.php\?name=GCalendar&amp;file=edit&amp;y=([0-9]*)&amp;m=([0-9]*)&amp;d=([0-9]*)&amp;eventId=([0-9]*)"',
'"(?<!/)modules.php\?name=GCalendar&amp;file=edit&amp;y=([0-9]*)&amp;m=([0-9]*)&amp;d=([0-9]*)"',
'"(?<!/)modules.php\?name=GCalendar&amp;file=submit&amp;y=([0-9]*)&amp;m=([0-9]*)"',
'"(?<!/)modules.php\?name=GCalendar&amp;y=([0-9]*)&amp;m=([0-9]*)&amp;printable=1"',
'"(?<!/)modules.php\?name=GCalendar&amp;y=([0-9]*)&amp;m=([0-9]*)"',
'"(?<!/)modules.php\?name=GCalendar&amp;file=submit&amp;op=submit"',
'"(?<!/)modules.php\?name=GCalendar&amp;file=(viewweek|rsvp|friend)"',
'"(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;username=([a-zA-Z0-9_-]*)"',
'"(?<!/)modules.php\?name=GCalendar"'
);

$urlout = array(
'eventscalendar-\\1-\\2-\\3-\\4-event\\5-print.html',
'eventscalendar-\\1-\\2-\\3-\\4-event\\5.html',
'eventscalendar-\\1-\\2-\\3-\\4-print.html',
'eventscalendar-\\1-\\2-\\3-\\4.html',
'eventscalendar-edit-\\1-\\2-\\3-event\\4.html',
'eventscalendar-edit-\\1-\\2-\\3.html',
'eventscalendar-submit-\\1-\\2.html',
'eventscalendar-\\1-\\2-print.html',
'eventscalendar-\\1-\\2.html',
'eventscalendar-submit.html',
'eventscalendar-\\1.html',
'userinfo-\\1.html',
'eventscalendar.html'
);


.htaccess:

Code:

#GCalendar
RewriteRule ^eventscalendar-(viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*)-print.html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&e=$5&printable=1 [L]
RewriteRule ^eventscalendar-(submit|viewday|viewweek|friend)-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*).html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&e=$5 [L]
RewriteRule ^eventscalendar-(viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*)-print.html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&printable=1 [L]
RewriteRule ^eventscalendar-(submit|viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4 [L]
RewriteRule ^eventscalendar-edit-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*).html modules.php?name=GCalendar&file=edit&y=$1&m=$2&d=$3&eventId=$4 [L]
RewriteRule ^eventscalendar-edit-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=edit&y=$1&m=$2&d=$3 [L]
RewriteRule ^eventscalendar-submit-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=submit&y=$1&m=$2 [L]
RewriteRule ^eventscalendar-([0-9]*)-([0-9]*)-print.html modules.php?name=GCalendar&y=$1&m=$2&printable=1 [L]
RewriteRule ^eventscalendar-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&y=$1&m=$2 [L]
RewriteRule ^eventscalendar-submit.html modules.php?name=GCalendar&file=submit&op=submit [L]
RewriteRule ^eventscalendar-(viewweek|rsvp|friend).html modules.php?name=GCalendar&file=$1 [L]
RewriteRule ^eventscalendar.html eventscalendar.html [L]


For both blocks, you can simply use these:

Code:

$urlin = array(
'"(?<!/)modules.php\?name=GCalendar&amp;file=(viewday|viewweek)&amp;y=([0-9]*)&amp;m=([0-9]*)&amp;d=([0-9]*)&amp;e=([0-9]*)"',
'"(?<!/)modules.php\?name=GCalendar&amp;file=(submit|viewday|viewweek)&amp;y=([0-9]*)&amp;m=([0-9]*)&amp;d=([0-9]*)"',
'"(?<!/)modules.php\?name=GCalendar&amp;y=([0-9]*)&amp;m=([0-9]*)"',
'"(?<!/)modules.php\?name=GCalendar"'
);

$urlout = array(
'eventscalendar-\\1-\\2-\\3-\\4-event\\5.html',
'eventscalendar-\\1-\\2-\\3-\\4.html',
'eventscalendar-\\1-\\2.html',
'eventscalendar.html'
);
 
View user's profile Send private message Visit poster's website
webservant
Newbie
Newbie



Joined: Mar 07, 2007
Posts: 5

PostPosted: Wed Nov 14, 2007 7:57 am Reply with quote

Works like a champ with one addition. In GTB-block-Modules.php

Find:
Code:
'"(?<!/)modules.php\?name=HTML_Newsletter"'
);


Replace with:
Code:
'"(?<!/)modules.php\?name=HTML_Newsletter"',
'"(?<!/)modules.php\?name=GCalendar"'
);


Find:
Code:
'html_newsletter.html'
);


Replace with:
Code:
'html_newsletter.html',
'eventscalendar.html'
);

_________________
Awaiting His Shout,
Webservant - GraciousCall.org
Romans 8:28-39 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Wed Nov 14, 2007 9:26 am Reply with quote

Ah, yes, thank you, I forgot to provide that one.
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch
linear-bunch