Welcome to Geeklog, Anonymous Sunday, January 05 2025 @ 08:09 am EST

Geeklog Forums

Need 3 spaces in states Abbreviations


Status: offline

Bucster

Forum User
Junior
Registered: 01/01/06
Posts: 18
Location:Brisbane Qld Australia
Hi,
I live in Australia. Yes its bloody hot right now approx 38C. 102F.
Anyways.
We use 2 or 3 letters in our states abbreviations, Eg- Queensland is Qld,
New South Wales is Nsw, Etc. Some do use 2, South Australia is SA.
I have added the Australian States to the Array, but when included in the text there might only be Ql or NS, etc. I assume the setting is only set for two spaces, how can i set this to 3 spaces. I was referring to adding an event to the master calendar, but it is probably used elsewhere also.
Also regarding the calendar, can i make some of the insertion fields optional so it doesnt return the error, that all fields must be completed.
I run Gl 1.3.9. It is a value added server application and causes too many headaches to upgrade. Banging your head

Regards
Bucster
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yeah, the calendar is a bit too US-centric as far as addresses are concerned Neutral

The limit for 2 characters is in the database actually. We don't recommend modifying Geeklog's tables, but I guess in this case it would be safe to extend the 'state' field in the gl_events and gl_eventsubmission tables to 3 characters.

bye, Dirk
 Quote

All times are EST. The time is now 08:09 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content