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)
 Show Birthdays in Events Calendar
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 4

Huntress
New Member

USA
96 Posts

Posted - 23 November 2002 :  01:28:41  Show Profile  Visit Huntress's Homepage
This is a Birthday Notification MOD. This will NOT add birthday events to the calendar, but will show them in sitenews (ServerHacker) and default.asp within the Events listing.

This mod can be used with either with or without Serverhacker's code.
THIS IS BETA AND NEEDS TESTING ON REGULAR SNITZ, however I have no reason to think this should not work, see my link below for default.asp

This has only been tested with Access 2000 and MS SQL Server. This will need testing on MySQL and I would appreciate it if a MySQL user would contact me for testing.

You can see this mod on my site on the sitenews page:
http://huntcentral.com/forum/sitenews.asp
and
http://huntcentral.com/forum/default.asp

Download Beta v2.0 Here

Fix for DBS file for SQL users (if you have Access you don't NEED this, but it wouldn't hurt in case you ever upgrade to SQL and forget about this):
Download Beta v2.1 Here

Readme File:
For Serverhacker Snitz Version 8
AND AS OF BETA VERSION 2.0 FOR REGULAR SNITZ 3.4.03

Initial Release - 11/17/2002 - Beta version 1.3
Prior Release   - 11/18/2002 - Beta version 1.4
This Release	- 11/22/2002 - Beta version 2.0

REQUIREMENTS - Red1's New Event Mod

Author - Huntress
For support, please email me at huntress@huntcentral.com

This has ONLY been tested on Access and SQL Server and forum version 3.4.03
This is still a BETA mod as it has only been tested by a few users.

Features:
=========

- Show Today's Birthdays in Events on sitenews (serverhacker only).
- Show Next 30 days worth of Upcoming Birthdays in Events on sitenews.
- Show Last 30 days worth of Recent Birthdays in Events on sitenews.
  NOTE: The above is configurable by setting BdayDays in:
	inc_events.asp and cal_default.asp
- Only show these birthdays for members having made posts within the last 30 days.
- Refreshs listings automatically if a user changes updates birthday in profile.

Issues:
=======

1) Needs leap year logic, will show 2/29 even if there is no 2/29 in current year.
   This should be addressed within the next couple of months, I have until 1/29
   to fix this ;-) What date should I show for 2/29 birthdays?
2) Will this work on MySql???? Need MySQL users to help test this, Interested?
   Contact me at the email address above!

Included in this ZIP:
=====================

readme.txt			This file.
inc_events.asp			Code that shows Event Calendar and Birthdays in 
				Sitenews.asp (ServerHacker Only). This file can be
				called to other webpages to show Event calendar.
cal_default.asp			Code that shows Event Calendar and Birthdays in 
				Default.asp
cal_functions.asp		Functions used by Event and Birthdays
pop_profile.asp			Added update to clear working tables on DOB changes
dbs_birthdayevents.asp		DBS to create (or clear) the working tables, also cleans
				up from previous releases.
bdayprsbox2.gif			image
bdayprsbox.gif			image
bdaycake.gif			image

Install Notes:
==============

1. BACKUP YOUR EXISTING FILES!!! Here's the files to backup:

	/include/inc_events.asp	
	pop_profile.asp	
	cal_default.asp			
	cal_functions.asp

2. Delete these files if you had previously installed prior versions of this mod:

	dbs_birthdayevents_v1-3.asp					
	dbs_birthdayevents_v1-4.asp					

3. Upload the ASP files to your forum directory.

	a) pop_profile.asp, cal_default.asp and cal_functions.asp go
	   to the root of your forum directory
	b) inc_events.asp goes to the include directory

   NOTE: If you have modified any of the included
	ASP files, this MOD is clearly commented,
	so simply search and cut and paste into
	your code. The exception to this is cal_default.asp, 
	MAKE SURE TO BACK THIS UP PRIOR TO INSTALL.

4. Upload the image files to your forum image directory.

5. Run Admin_mod_DBSetup.asp (ADMIN MOD in ADMIN control panel) with the supplied DBS file, 
   titled "Birthday Events Beta 2.0".

   NOTE: If you had previously installed this mod from version 1.3, please make sure you run 
   the correct one. I strongly suggest you delete the file dbs_birthdayevents_v1-3.asp and
   dbs_birthdayevents_v1-4.asp to avoid confusion (step 2 above).

Be kind, this is my very first mod

There are 10 kinds of people, those that understand binary, and those that don't.

Edited by - Huntress on 23 November 2002 21:29:21

Huntress
New Member

USA
96 Posts

Posted - 23 November 2002 :  01:32:20  Show Profile  Visit Huntress's Homepage
If I am by chance not paying attention to this post, please stop by Serverhacker.com and this post on this mod:

http://www.serverhacker.com/forum/topic.asp?TOPIC_ID=854

BE VERY CLEAR THAT YOU ARE USING IT FOR REGULAR SNITZ. As posts at SH's site are going to assume you are using his modded up forum code

Thanks!

Diana

There are 10 kinds of people, those that understand binary, and those that don't.

Edited by - Huntress on 23 November 2002 09:16:58
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 23 November 2002 :  07:09:05  Show Profile  Visit PeeWee.Inc's Homepage
Just goin to get some food then install it

De Priofundus Calmo Ad Te Damine
Go to Top of Page

Huntress
New Member

USA
96 Posts

Posted - 23 November 2002 :  10:52:46  Show Profile  Visit Huntress's Homepage
PeeWee, did this go okay for you?

I saw you were having other issues this morning, but I've been watching for an update.

There are 10 kinds of people, those that understand binary, and those that don't.
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 23 November 2002 :  10:55:45  Show Profile  Visit PeeWee.Inc's Homepage
Poo! forgot about it, doin it now, give me 10 mins and i'll tell ya

De Priofundus Calmo Ad Te Damine
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 23 November 2002 :  11:10:51  Show Profile  Visit PeeWee.Inc's Homepage
Added and test just fine
Can i have the code you use to get it on your SiteNews.asp?

De Priofundus Calmo Ad Te Damine
Go to Top of Page

Huntress
New Member

USA
96 Posts

Posted - 23 November 2002 :  11:27:48  Show Profile  Visit Huntress's Homepage
All you have to do is do a include of inc_events.asp on the page you want it to show.

Like this:
<!--#include file="include/inc_events.asp"-->


Mind the directory

There are 10 kinds of people, those that understand binary, and those that don't.

Edited by - Huntress on 23 November 2002 11:30:12
Go to Top of Page

Huntress
New Member

USA
96 Posts

Posted - 23 November 2002 :  11:31:46  Show Profile  Visit Huntress's Homepage
Also can I have a link to see it on your forum please?

There are 10 kinds of people, those that understand binary, and those that don't.
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 23 November 2002 :  12:28:22  Show Profile
Installed it - include works fine, but birthdays do NOT show up. Also, looking at the Members_BDates table, every birthdate edited shows up as year 2003....

Carefree

Where is inc_events called? Don't see it anywhere....

Edited by - Carefree on 23 November 2002 13:34:12
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 23 November 2002 :  12:30:40  Show Profile  Visit PeeWee.Inc's Homepage
I have
<!--#include file="include/inc_events.asp"-->
But you did not say to edit any code in inc_events......

De Priofundus Calmo Ad Te Damine
Go to Top of Page

Huntress
New Member

USA
96 Posts

Posted - 23 November 2002 :  12:32:20  Show Profile  Visit Huntress's Homepage
Can I get a link to your install Carefree?

There are 10 kinds of people, those that understand binary, and those that don't.
Go to Top of Page

Huntress
New Member

USA
96 Posts

Posted - 23 November 2002 :  12:33:36  Show Profile  Visit Huntress's Homepage
quote:
Originally posted by PeeWee.Inc

I have
<!--#include file="include/inc_events.asp"-->
But you did not say to edit any code in inc_events......



Not following you PeeWee, can you be more specific on your issue?

There are 10 kinds of people, those that understand binary, and those that don't.
Go to Top of Page

Huntress
New Member

USA
96 Posts

Posted - 23 November 2002 :  12:43:49  Show Profile  Visit Huntress's Homepage
I get DNS errors on your server Carefree.

Can you email me the query results of select * on the Members_BDates table please.

huntress@huntcentral.com

Also, what type database are you using?

There are 10 kinds of people, those that understand binary, and those that don't.

Edited by - Huntress on 23 November 2002 12:44:24
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 23 November 2002 :  13:02:29  Show Profile  Visit PeeWee.Inc's Homepage
Hunt - you have a scrolling text thing at the top of your sitenews.asp and a banner, could i have the code for that?

De Priofundus Calmo Ad Te Damine
Go to Top of Page

Huntress
New Member

USA
96 Posts

Posted - 23 November 2002 :  13:18:45  Show Profile  Visit Huntress's Homepage
PeeWee, is there some reason you are not providing me a link to your site? You can email it to me if you prefer.

There are 10 kinds of people, those that understand binary, and those that don't.
Go to Top of Page

Huntress
New Member

USA
96 Posts

Posted - 23 November 2002 :  13:37:18  Show Profile  Visit Huntress's Homepage
quote:
Originally posted by Carefree

Installed it - include works fine, but birthdays do NOT show up. Also, looking at the Members_BDates table, every birthdate edited shows up as year 2003....

Carefree

Where is inc_events called? Don't see it anywhere....



That is used to call it outside of the forum in your other site pages. Remember, this is for use in both Portal code as well as regular plain Snitz as indicated in the readme file

There are 10 kinds of people, those that understand binary, and those that don't.

Edited by - Huntress on 23 November 2002 13:38:34
Go to Top of Page
Page: of 4 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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07