Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Snitz Calendar
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 11

Aznknight
Senior Member

USA
1373 Posts

Posted - 10 January 2001 :  21:05:52  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
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  Show Profile  Visit hamb0n3z's Homepage  Send hamb0n3z an ICQ Message  Send hamb0n3z a Yahoo! Message
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.
Go to Top of Page

Kerry
Average Member

USA
553 Posts

Posted - 10 January 2001 :  21:21:15  Show Profile  Visit Kerry's Homepage
quote:

Sorry Kerry if this is duplicating your efforts.




No apology necessary - I actually like your implementation better

-Kerry

Go to Top of Page

SuTech
Starting Member

USA
23 Posts

Posted - 10 January 2001 :  23:05:15  Show Profile
Wow! That's the only word that's needed. The calendar you made fits perfectly withthe forum. Can't wait to implement this one.

Go to Top of Page

slemieux
Junior Member

USA
234 Posts

Posted - 11 January 2001 :  01:31:27  Show Profile
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!!
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 11 January 2001 :  02:43:42  Show Profile
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
Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 11 January 2001 :  02:53:45  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
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

ô¿~
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 11 January 2001 :  05:19:21  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
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.

Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 11 January 2001 :  05:28:44  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
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.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 11 January 2001 :  05:56:37  Show Profile
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.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 11 January 2001 :  07:07:17  Show Profile
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:
Go to Top of Page

JohnO
Starting Member

United Kingdom
21 Posts

Posted - 11 January 2001 :  07:40:40  Show Profile
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


Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 11 January 2001 :  07:59:42  Show Profile
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.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 11 January 2001 :  09:25:44  Show Profile
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
Go to Top of Page

Hopper
Junior Member

192 Posts

Posted - 11 January 2001 :  09:29:36  Show Profile  Send Hopper an ICQ Message
Can you zip up the corrected mod and give us a link to get it? *smile*

Go to Top of Page

kycable
New Member

USA
82 Posts

Posted - 11 January 2001 :  11:28:18  Show Profile  Visit kycable's Homepage  Send kycable an AOL message
<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
Go to Top of Page
Page: of 11 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07