Help, I'm UK based with a mainly UK audience and want to change the preselected country in the dropdown box on the sign up page to reflect that, but can't find where to do this?
counties vs states Thanks Alex, I've done that, just one more thing. How can I get the 'State' lookup to include a list of UK Counties rather than US states?
editing common.inc.php I've just installed a test version of amember... picking up on this thread - this file (common.inc.php) is encrypted, so how can you edit it? P.N.
couple of questions about pre-filling fields like country code. 1. How do you pre-fill multiple fields (ie. what would the URL string look like to prefill country and coupon code for example. 2. Is it possible to pre-fill custom fields? If so what code changes are required?
use & for additional fields Hi You can post additional pre-filled fields by using the '&' character between fields, eg: http://www.yoursite.com/amember/signup.php?country=US&coupon=1234
Thanks for the help Gail. Have you tried this with custom fields? I'm trying to figure out what field name will be added to the URL and if any changes to the PHP code will be required.
Basically, whatever the input box is called, which comes from the internal 'name' field in the table on the admin page where you added the field. For example I have a field Account Number whose internal name is 'account', so if I wanted to prepoulate this field I would link to http://www.in2networking.com/amember/signup.php?account=1234 and a sponsor's surname fields, internal name sponsor, so this would be http://www.in2networking.com/amember/signup.php?sponsor=seymour Logically if I wanted to prepopulate both fields I would link to http://www.in2networking.com/amember/signup.php?account=1234&sponsor=seymour
Thanks for the reply. If this is the case, then the 30-day trial download isn't the same as the version you purchase, which makes evaluation of it somewhat problematic. P.N.
ask Alex try emailing Alex using the support desk and ask him to make the changes for you so you can upload the changed file. Honestly though, if you get the rest of the system set up and working how you want it, you can always make these minor adjustments once you've bought the pro version. I did and I'm not familiar with php at all.
my counties code I've attached the list of UK counties I made for my amember pro (counties.txt) I hope this helps others UK users. Duncan
Hi, just gone through your list of counties - there seem to be a lot of cities in there! Forgive me if I'm wrong, but since when has Portsmouth, Southampton, Leeds, Cardiff or Middlesborough been counties?... Could you please tell me where you compiled the list from? Many Thanks,
Hi I also looked at creating the counties file, see attached, the list covers the whole of the UK and was extracted from the following site http://www.internet-promoter.com/code-UK-county-drop-list.htm However, I decided to go for the option of not using the standard address fields and opted for creating my own using the control panel to create user fields, this gave me the option of having County as an input field as I didn't want to exclude oversees users! I was able to make the address fields compulsary - I can give you the code if you are interested. I am not sure whether the normal address fields automatically populate the data in the payment system (can anyone tell me whether it does?) but it doesn't my way, I am on Worldpay. Brian
Hi I wanted to add an additional field for "Town" to the address details, Alex gave me the following: Add this to config.inc.php: add_member_field('town', 'Town', 'text'); Then modify signup.html template and add html for this field. And I needed the field to be required, he gave me this script in signup.php check_payment_form function add this: (for example) if (!strlen($vars['field_name'])){ $error[] = 'Please specify field name'; } I hope this is useful Regards Brian
Message for Gail Hi Gail. Sorry to jump in on this thread but I noticed the company Kleeneze on one of the links that were added to a reply. Is that by any chance based in or near Leeds? I did a demo website for them about 4 years ago Just Curious Andrew