1
slacker13
Address Module
  • 2008/2/29 19:46

  • slacker13

  • Just popping in

  • Posts: 19

  • Since: 2008/2/25


Does anyone know how to either add a State input box or at least change the "Country" input box to "State" and have it show that way when someone looks up someones address?

Also, any idea how to make it so "Description" is not required?

Thank you

2
slacker13
I figured it out.
  • 2008/3/3 18:22

  • slacker13

  • Just popping in

  • Posts: 19

  • Since: 2008/2/25


For those who would like to edit the Addresses module here is what I did...

To edit/change text on the completed form:

modules/addresses/language/english/main.php
Change only the last part. leave MD alone

Line 52
Name/Organisation
define("_MD_SITETITLE","Full Name: ");

Line 34
//
define("_MD_DESCRIPTIONC","Description: ");

This started at line 172
//added for addresses//
define("_MD_ADRESS","Address");
define("_MD_ZIP","Zip Code");
define("_MD_CITY","City");
define("_MD_COUNTRY","State");
define("_MD_PHONE","Phone");
define("_MD_FAX","Fax");
define("_MD_MOBILE","Mobile");
define("_MD_CONTEMAIL","Email");
define("_MD_WEBSITE","Website");
define("_MD_OPENED","Opened");
define("_MD_VIEWMORE","Extended Information");
define("_MD_PUBLISHED","Published");
define("_MD_THISCOMESFROM","This article comes from %s");
define("_MD_URLFORSTORY","The URL for this story is:");
define("_MD_PRINT","Print");

Text On Submit Page. This edits the directions
Line 70
//
define("_MD_RECEIVED","We received your Address information. Thanks!");
define("_MD_WHENAPPROVED","If you are a member you'll receive an E-mail when it's approved.");
define("_MD_SUBMITONCE","Submit your address only once.");
define("_MD_ALLPENDING","All address information are posted pending verification.");
define("_MD_DONTABUSE","Username and IP are recorded, so please don't abuse the system.");
define("_MD_TAKESHOT","We will check your submitted address so it may take several days before your address resource will be added to our database.");
define("_MD_BANNERTISE","It is possible to advertise your banner or logo below your address. For more information please contact us."); // Banner advertisement text addresses. You can adjust this.


Nothing earth shattering but it may help someone.

3
mjz55
Re: Address Module
  • 2008/3/3 22:01

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


Where do I download the address module?

4
slacker13
Re: Address Module
  • 2008/3/4 4:45

  • slacker13

  • Just popping in

  • Posts: 19

  • Since: 2008/2/25


It is in the Module Repository and is called "Addresses module"Click Here for Module

Login

Who's Online

254 user(s) are online (218 user(s) are browsing Support Forums)


Members: 0


Guests: 254


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits