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 DEV-Group
 DEV Discussions (General)
 Database Tables
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

alex042
Average Member

USA
631 Posts

Posted - 29 August 2002 :  11:26:19  Show Profile  Send alex042 an AOL message  Send alex042 a Yahoo! Message
After briefly review the table structure, I have the following suggestions:

CONFIG_NEW
Add C_NAME TEXT 255 (for MOD development similar to how slash was created)

FORUM
F_PASSWORD_NEW TEXT 255 -> TEXT 65 (to follow other password defs)

MEMBERS
M_COUNTRY TEXT 50 -> TEXT 75 or NUM (dropdown option from inc_countrylist.asp)
M_FIRSTNAME TEXT 100 -> TEXT 50
M_LASTNAME TEXT 100 -> TEXT 50
M_SEX TEXT 50 -> M_GENDER TEXT 25
M_MARSTATUS TEXT 100 -> NUM (add dropdown options)
M_STATE TEXT 100 -> TEXT 2 (state abbreviation) or NUM (add dropdown options in inc_countrylist.asp)
M_AIM/M_ICQ/M_MSN/M_YAHOO TEXT 150 -> TEXT 100?
Add M_ZIPCODE TEXT 10 (99999-9999)




RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 29 August 2002 :  11:38:18  Show Profile
ideally, MODS should not be adding fields to the CONFIG_NEW table, they should create a new table to store their data in.

the F_PASSWORD_NEW field was kept as is, because we aren't encrypting the FORUM password.

We already increased the field size of M_COUNTRY to 50.

The other mentioned fields, we did look at and we decided they were fine as is.
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 29 August 2002 :  11:40:07  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Zip code can be a very useful bit of information to include. I intend on adding it myself at some point so I can offer some services based on it such as weather forecasts. But I would leave it hidden.

@tomic

SportsBettingAcumen.com
Go to Top of Page

alex042
Average Member

USA
631 Posts

Posted - 29 August 2002 :  12:00:45  Show Profile  Send alex042 an AOL message  Send alex042 a Yahoo! Message
quote:
Zip code can be a very useful bit of information to include. I intend on adding it myself at some point so I can offer some services based on it such as weather forecasts.


I had a few ideas for zipcode also. Another possible use for it is city/state lookup and/or verification. Basically, for U.S. residents, a zipcode can eliminate the need for city AND state as they'd be included in a zipcode table. There were some other member fields I was considering adding as search fields for my particular application, but I thought zip could be used by others too.


Edited by - alex042 on 29 August 2002 12:01:40
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 August 2002 :  12:52:01  Show Profile  Send ruirib a Yahoo! Message
quote:
Originally posted by @tomic

Zip code can be a very useful bit of information to include. I intend on adding it myself at some point so I can offer some services based on it such as weather forecasts. But I would leave it hidden.

@tomic


US wise maybe. Don't think it's that important for the rest of us.
I agree with Richard: changes like these should be left for mods-added tables.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 29 August 2002 :  17:22:55  Show Profile
quote:
Originally posted by alex042


M_STATE TEXT 100 -> TEXT 2 (state abbreviation) or NUM (add dropdown options in inc_countrylist.asp)
Add M_ZIPCODE TEXT 10 (99999-9999)



You are thinking a bit USA centric with these.

Other countries can still use thse if left as longer text fields.

USA <-> UK
STATE <-> COUNTY
ZIPCODE <-> POSTCODE

Once v4 comes out, there will need to be a language file for UK-Engilsh and another for USA-Engish
Go to Top of Page

alex042
Average Member

USA
631 Posts

Posted - 29 August 2002 :  18:24:13  Show Profile  Send alex042 an AOL message  Send alex042 a Yahoo! Message
quote:
ZIPCODE <-> POSTCODE


Does this mean you'd approve adding a zipcode/postcode field which currently isn't in the database?

quote:
USA <-> UK
STATE <-> COUNTY


The idea behind supplying number fields here is to provide dropdowns for the countries and possibly for the states/counties associated with the selected country.


Edited by - alex042 on 29 August 2002 18:26:59
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 29 August 2002 :  18:59:29  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
quote:
Does this mean you'd approve adding a zipcode/postcode field which currently isn't in the database?


Who needs approval? Just add it

@tomic

SportsBettingAcumen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07