Author |
Topic  |
Aznknight
Senior Member
   
USA
1373 Posts |
Posted - 10 January 2001 : 21:05:52
|
Snitz and Calendar seems to be the buzz recently so I've decided to re-do the mod of asp calendar and snitz from my site with my free time today.
I've cleaned up my code and fully integrated the aspcalendar with snitz3.1sr4.
features included: - shows upcoming events (kinda like slash mod for events) - shows recent past events - style sheets - event logging ("added by") - members can add/edit/delete their events. - moderators can edit/delete any event. - admin have full privileges
demo: http://www.calvsa.net/snitz31sr4/events.asp
code: http://www.calvsa.net/snitz31sr4/events_mod.zip
For the admin part, I'll try to add an option so that the admin can set whether an member can add event or just moderators.
Suggestions and comments are welcomed.
Sorry Kerry if this is duplicating your efforts.
- Alan alan@calvsa.net www.calvsa.net
Edited by - aznknight on 11 January 2001 05:21:44 |
|
hamb0n3z
Starting Member
USA
44 Posts |
Posted - 10 January 2001 : 21:11:21
|
I am liking the way this one looks alot! 
"Hold on pickle." - Out of the blue while watching TV my 31/2 yr old niece pretends to drive fast with half eaten pickle in hand. |
 |
|
Kerry
Average Member
  
USA
553 Posts |
Posted - 10 January 2001 : 21:21:15
|
quote:
Sorry Kerry if this is duplicating your efforts.
No apology necessary - I actually like your implementation better 
-Kerry
|
 |
|
SuTech
Starting Member
USA
23 Posts |
Posted - 10 January 2001 : 23:05:15
|
Wow! That's the only word that's needed. The calendar you made fits perfectly withthe forum. Can't wait to implement this one.
|
 |
|
slemieux
Junior Member
 
USA
234 Posts |
Posted - 11 January 2001 : 01:31:27
|
This is great! And actually saving me some time :) Can't wait to see it.
One thing I would add is location, especially Zip so people can search for events in their area. But that can be done later
Scott LeMieux Ready... Fire... Aim!!  |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 11 January 2001 : 02:43:42
|
Alan,
This looks great.
If you want to, feel free to use the code I used for the start date/end date in the announcements mod I did.
You can download just the admin_add_announce.asp file here: http://www11.ewebcity.com/dssdbs/files/admin_add_announce.zip
all of the functions and subs are included in there.
Edited by - Richard Kinser on 11 January 2001 05:55:19 |
 |
|
frankie
Junior Member
 
Vatican City
304 Posts |
Posted - 11 January 2001 : 02:53:45
|
Alan,
Looking good, baby. Is there anyway for someone who has the birth day field added to the registration form to automatically insert the members b-day (they have the choice not to, or just insert the month and day with no year!!) into the event calendar??!! Thank you for your efforts
ô¿~ |
 |
|
Aznknight
Senior Member
   
USA
1373 Posts |
Posted - 11 January 2001 : 05:19:21
|
After making sure that everything also works in netscape and some finishing touches I'm set to release it.
code: http://www.calvsa.net/snitz31sr4/events_mod.zip
I didn't finish admin thing so to allow setable option so that only moderators can add events. maybe that can be an add-on later.
|
 |
|
Aznknight
Senior Member
   
USA
1373 Posts |
Posted - 11 January 2001 : 05:28:44
|
Slemieux: Nice suggestion about the zip code, I can see how that will come in handy when there are lots of events. maybe a future add_on.
Richard: Thanks man. brinkster was down though.
Frankie: This can be another add-on too, which would mean adding code to register.asp and the profile stuff. Right now I'm trying to keep it simple. Might be worth a shot in the near future. |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 11 January 2001 : 05:56:37
|
Alan,
sorry, it was my fault, left out the /files/ subdirectory. Link works now if you want it.
Thanks again! This is an excellent addition to the forum. |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 11 January 2001 : 07:07:17
|
Alan,
I think you left this line out of events.asp:
TD.NON2 {font-family: Tahoma, Verdana, Arial; font-size :12px; background-color :lightgrey; font-weight :normal}
I found it in your vsa.css from your main site.
Also line.gif was missing from the .zip file
and in events.asp the link for line.gif (line #600) was as: images\line.gif
Here is the line.gif:  |
 |
|
JohnO
Starting Member
United Kingdom
21 Posts |
Posted - 11 January 2001 : 07:40:40
|
Alan, Richard, etc ,
Here is a link to my implemenation of this calendar.
http://www.crossover.org.uk/misc/calendar.zip
It generates little popups when a date in bold is hovered over. Maybe it would be a nice little enhancement to include. I use it because I don't show a "full" version of the calendar.
John
|
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 11 January 2001 : 07:59:42
|
One little problem I noticed.
When the calendar is showing the grayed out days from the previous month, the dates aren't always correct. Like in March, on the top row the grayed out dates should be 25, 26, 27 & 28 but it shows: 28, 29, 30 & 31 . In May, it shows the last day of April was 31 instead of 30. |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 11 January 2001 : 09:25:44
|
After looking at Manohar Kamath's own demo of the ASPCalendar V1, which this mod is based, I see that the error occurs on his also.
So I started looking through the code, and alot of the variables are never defined.
Like intLastMonth & intPrevYear which are used to get the last day of the previous month.
The aren't defined anywhere in any of the code. So I wrote the necessary code to define them.
Please feel free to test it at my site and try to break it:
http://richard.cfm-resources.com/v31sr4/events.asp
to see the code I added:
http://richard.cfm-resources.com/v31sr4/events.txt
look for the code between these tags: (there are 2 instances of it)
'###################### Added below on 1/11/2001
'###################### Added above on 1/11/2001 |
 |
|
Hopper
Junior Member
 
192 Posts |
Posted - 11 January 2001 : 09:29:36
|
Can you zip up the corrected mod and give us a link to get it? *smile*
|
 |
|
kycable
New Member

USA
82 Posts |
Posted - 11 January 2001 : 11:28:18
|
<sorry>... Edited.... Thanks Alan for the mod....
Thanks Richard for the modification
Jeff Brown Web Zone Complete <Snitz with many addons>
Edited by - KYCable on 11 January 2001 15:58:45
Edited by - KYCable on 11 January 2001 15:59:22 |
 |
|
Topic  |
|