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 CommunityCustomizationPlugins (Moderators: scott, DanO, Marty)CSR Plugin - Observation
Pages: 1 [2] 3   Go Down
Print
Author Topic: CSR Plugin - Observation  (Read 2979 times)
0 Members and 1 Guest are viewing this topic.
beneath_the_ashes
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #15 on: December 25, 2002, 06:24:00 AM »

hello...i installed an older version of csremind...and part of that installion, i had to make a slew of modifications to default.htm...after i attempted to upgrade, the link in the event view that takes you to the reminder input form is missing...im not sure what changed, but your help would be appreciated...
thanks....ryan
Logged
michaelest
New Member
*

Karma: 0
Offline Offline

Posts: 0

Cagerattler


WWW
« Reply #16 on: December 25, 2002, 12:17:00 PM »

Ryan,

When there is a problem with a plug-in, CalendarScript will still run but won't execute the plug in. With csremind, the link doesn't appear when there's a problem.

Did you follow the upgrade instructions for v1.05?  Make sure you go to the "Modify Permissions" control panel and see that CSRemind Setup appears in the Permission List.

Then go to 'Plug in Configuration' and modify the CSRemind parameters for your installation (sendmail, email address, etc.)

After you've done this, see if the link appears at the top.

If the link still doesn't appear, then I suggest that you perform a clean install of the csremind plug in (although you don't need to change your calendar template).

If you need further assistance, please let me know.

Thanks,

Michael

------------------
  michael@estigoy.com  
http://www.estigoy.com/csremind  

Logged

Dirk Holthaus
Guest
« Reply #17 on: December 25, 2002, 12:53:00 PM »

Hi,

which changes have to be made in the default.html or in other files to let csremind work with all calenders but only the default one?

Logged
michaelest
New Member
*

Karma: 0
Offline Offline

Posts: 0

Cagerattler


WWW
« Reply #18 on: December 25, 2002, 01:26:00 PM »

>>which changes have been made to let csremind work with all calendars...<<

The link generated by csremind now has 'calendar=$calendar' in it.  

This change does not occur in the calendar template, it occurs in the plug in script.

The parameter for the link has '&calendar=$calendar' added to it.  In version 1.02, the link appears on line 95.  In version 1.05, the link appears on line 112 of the script.

- Michael

------------------
  michael@estigoy.com  
http://www.estigoy.com/csremind  

Logged

beneath_the_ashes
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #19 on: December 26, 2002, 05:01:00 AM »

Michael...

Yes, the CSRemind Setup option is listed in the permissions.

And actually, i followed the upgrading instructions, and when that didnt work, i followed the entire basic instructions from scratch.

Could any of the changes that were made to default.html as part of the previous installations be causing this?  I included a link to d/l my current default.html:
http://www.darkvisionsmedia.com/poop/default.html

you can also view my calendar @:
http://www.darkvisionsmedia.com/cgi-bin/calendar/calendar.pl

Thanks
Ryan

Logged
michaelest
New Member
*

Karma: 0
Offline Offline

Posts: 0

Cagerattler


WWW
« Reply #20 on: December 26, 2002, 06:22:00 PM »

Ryan,

I was able to get your template to work in my demo with very few modifications.  Check out: http://www.estigoy.com/csremind/calendar.cgi?template=darkvision.html  .

You can download the template from http://www.estigoy.com/csremind/darkvision.html  .

The modifications I made included:

Commenting out ALL of the:

FROM THIS:

TO THIS:

Download the template I modified and try it.  If it works, then there's a "permission" issue to deal with.  If it doesn't work, let me know.

Thanks,

Michael

------------------
  michael@estigoy.com  
http://www.estigoy.com/csremind  

Logged

beneath_the_ashes
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #21 on: December 28, 2002, 09:57:00 AM »

The code that you changed is the code that prevents anonymous users to view private event details.  Is it just an issue with the 2 being incompatible?  Or is there a way to have both features?
Logged
michaelest
New Member
*

Karma: 0
Offline Offline

Posts: 0

Cagerattler


WWW
« Reply #22 on: December 28, 2002, 04:17:00 PM »

>> is it an issue with the two being incompatible..<<

No, I don't think so.  Your original template worked fine, except that events (all events in the grid) could only be seen if the Adminstrator (or someone) was logged in.

I took the time to modify your custom code so that it works with my existing events.txt file (I don't have a custom field called "permissions").

If you go to http://www.estigoy.com/csremind/calendar.cgi?template=darkvision.html   , you can see all the events listed in the grid.  If you click on an event, you will be restricted from viewing the event details because you are logged in as 'anonymous'.

However, if you log in as "guest/guest" and then view the template, you can click on the event link and view all the details.  (or you can use this convoluted URL to log in directly as guest  http://www.estigoy.com/csremind/calendar.cgi?template=darkvision.html&fromTemplate=login.html&view=Month&command=login&calendar=default&username=guest&password=guest   )

Notice how the CSRemind link appears at the top on BOTH occaisions.  This is because the script doesn't perform any public/private checking before printing the link to the screen.  

Using the code you created to check for 'public' 'private' or 'hidden', create an "if statement" in the CSR script before the link is printed to the screen (starting on line 112 of v1.05 of the script).

Hope that helps.

- Michael


------------------
    michael@estigoy.com    
http://www.estigoy.com/csremind  

[This message has been edited by michaelest (edited December 28, 2002).]

Logged

beneath_the_ashes
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #23 on: December 29, 2002, 12:57:00 AM »

ok...that makes sense...except the code that you specified to remove, allows the event details to be viewed by anonymous, except for specific events marked as private when they are created.  The way you have it set up prevents all events from being viewed by anonymous.  There are actually hidden events as well, that dont even show up on the grid unless logged in as administrator specifically.  I need to keep the functionality of public, private, and hidden events all co-existing.  You can see those options on my calendar in the add event form:
http://www.darkvisionsmedia.com/cgi-bin/calendar/calendar_admin.pl?calendar=default&username=anonymous&template=add_edit_event.html

I hope that all made sense...thanks a million....
ryan

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 235

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


WWW
« Reply #24 on: December 31, 2002, 10:37:00 PM »

BTW. I just noticed that if I click on the "Second Event" on say Jan. 22, 2003 your email reminder link says:  
quote:
To schedule a reminder to attend this event on 12/31/2002, click here or, add to your local calendar

Maybe because it is a recurring event?

Dan O.

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

Logged
michaelest
New Member
*

Karma: 0
Offline Offline

Posts: 0

Cagerattler


WWW
« Reply #25 on: January 01, 2003, 07:54:00 PM »

Dan O.,

Thanks for the heads up.

I was debugging other folks' templates and ended up copying up a standard default template that did not have the &datestring modification.

Fixed now.

Thanks again.

- Michael

------------------
  michael@estigoy.com  
http://www.estigoy.com/csremind  

Logged

michaelest
New Member
*

Karma: 0
Offline Offline

Posts: 0

Cagerattler


WWW
« Reply #26 on: January 02, 2003, 06:21:00 PM »

Ryan,

I'm debugging a template that is similar to yours for someone else to determine why the CSRemind 'after event' is not being executed.

The problems are very similar, and I think that once I figure the other template's solution, it will apply to your issue as well.

Stay tuned.

- Michael

------------------
  michael@estigoy.com  
http://www.estigoy.com/csremind  

Logged

beneath_the_ashes
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #27 on: January 15, 2003, 05:07:00 AM »

hey michael, just checking back to see if you found anything yet...im still coming up with nothing...thanks much
ryan
Logged
TubaDave
New Member
*

Karma: 0
Offline Offline

Posts: 0

Student


WWW
« Reply #28 on: January 15, 2003, 07:00:00 PM »

I'd hate to be walking over CSRemind's area, but would y'all like me to put single event notification options in EmailNotify2?  Also, the problem with after event not being called might be because another plugin is already using that hook.... I haven't looked at the code myself, just an educated guess.

------------------
David Whittaker
http://www.uabcm.com
http://bama.ua.edu/~whitt013

Logged

Keith G
Guest
« Reply #29 on: January 15, 2003, 11:00:00 PM »

  A single reminder would be a nice addition so a user could set this so many hours/days before an event happens. Michael's written some nice plugins but it is hard to write them for everyone's seperate configurations. Myself, when I enable csremind from the plugin menu, I do not get the html text on the top of the screen to set the reminder. I'm using your dayspan template with some mods inside of it. Also the csxport plugin is a great idea. Would be a nice way to archive events before deletion. However when I enable this I do get the html text on top of the search template to export the data but when I export the data I get something different. What I get is the html code for the calendarscript login screen. So probably again it is something in the modified dayspan template I am using, or other plugins I have installed. This one seems to be on the permissions end as it is saving the login screen and not the actual events.
 Anyway - it's great to have the talents of you, Dan O, Michael and all the rest of the contributors to this forum. I doubt any 2 calendars are alike. So a variety of plugins that would let users choose what suits their needs best would awesome. I hope all of you keep up the good work.
           Keith
Logged
Pages: 1 [2] 3   Go Up
Print
Jump to: