Jump to content

Member's Country


Adriano Faria

Recommended Posts

1 hour ago, Square Wheels said:

OK, this is odd, I just installed it again (after downloading just now) ACP still says the same, but now it works.

 

1 hour ago, Adriano Faria said:

Send a PM. I'll take a look after try to solve dozens of fixes and requests, after a week away. Sorry.

Sorry, you might not have seen the second part of my post, IPS merged them.

Link to comment
Share on other sites

rooms as in discussion forums in a board

it works on the default theme only if i dont have it selected in the Theme Override drop down menu in a forum setting

And if you're wondering why not leave it like that , it's because creating a new theme is the only way to set a different logo for every forum ( i wish there was an app or plugin for it because that's the only thing i change in a theme) 

 

 

Link to comment
Share on other sites

On 10/19/2016 at 11:55 PM, Adriano Faria said:

It works for me on 4.1.16.1, the latest version:

Capturar.jpg

I don't have .15 anymore.

Send a PM. I'll take a look after try to solve dozens of fixes and requests, after a week away. Sorry.

Could you add feature "Add country to all existing users"? (to Admin CP)

Edited by T-MIKE
Link to comment
Share on other sites

3 minutes ago, T-MIKE said:

Its good idea

Run on your SQL Toolbox or PHPMyAdmin:

update core_members set members_country = 'us';

If you use database prefix, add it to the table name. Example: suppose you use ibf_ as prefix, then your query will be:

update ibf_core_members set members_country = 'us';

This will add UNITED STATES to all countries.

This is the list of countries:

		'AF', // Afghanistan
		'AX', // Ã…land Islands
		'AL', // Albania
		'DZ', // Algeria
		'AS', // American Samoa
		'AD', // Andorra
		'AO', // Angola
		'AI', // Anguilla
		'AQ', // Antarctica
		'AG', // Antigua and Barbuda
		'AR', // Argentina
		'AM', // Armenia
		'AW', // Aruba
		'AU', // Australia
		'AT', // Austria
		'AZ', // Azerbaijan
		'BS', // Bahamas
		'BH', // Bahrain
		'BD', // Bangladesh
		'BB', // Barbados
		'BY', // Belarus
		'BE', // Belgium
		'BZ', // Belize
		'BJ', // Benin
		'BM', // Bermuda
		'BT', // Bhutan
		'BO', // Bolivia, Plurinational State Of
		'BA', // Bosnia and Herzegovina
		'BW', // Botswana
		'BV', // Bouvet Island
		'BR', // Brazil
		'IO', // British Indian Ocean Territory
		'BN', // Brunei Darussalam
		'BG', // Bulgaria
		'BF', // Burkina Faso
		'BI', // Burundi
		'KH', // Cambodia
		'CM', // Cameroon
		'CA', // Canada
		'CV', // Cape Verde
		'BQ', // Caribbean Netherlands
		'KY', // Cayman Islands
		'CF', // Central African Republic
		'TD', // Chad
		'CL', // Chile
		'CN', // China
		'CX', // Christmas Island
		'CC', // Cocos (Keeling) Islands
		'CO', // Colombia
		'KM', // Comoros
		'CG', // Congo
		'CD', // Congo, The Democratic Republic Of The
		'CK', // Cook Islands
		'CR', // Costa Rica
		'CI', // Côte d’Ivoire
		'HR', // Croatia
		'CU', // Cuba
		'CW', // Curaçao
		'CY', // Cyprus
		'CZ', // Czech Republic
		'DK', // Denmark
		'DJ', // Djibouti
		'DM', // Dominica
		'DO', // Dominican Republic
		'EC', // Ecuador
		'EG', // Egypt
		'SV', // El Salvador
		'GQ', // Equatorial Guinea
		'ER', // Eritrea
		'EE', // Estonia
		'ET', // Ethiopia
		'FK', // Falkland Islands (Malvinas)
		'FO', // Faroe Islands
		'FJ', // Fiji
		'FI', // Finland
		'FR', // France
		'GF', // French Guiana
		'PF', // French Polynesia
		'TF', // French Southern Territories
		'GA', // Gabon
		'GM', // Gambia
		'GE', // Georgia
		'DE', // Germany
		'GH', // Ghana
		'GI', // Gibraltar
		'GR', // Greece
		'GL', // Greenland
		'GD', // Grenada
		'GP', // Guadeloupe
		'GU', // Guam
		'GT', // Guatemala
		'GG', // Guernsey
		'GN', // Guinea
		'GW', // Guinea-Bissau
		'GY', // Guyana
		'HT', // Haiti
		'HM', // Heard Island and McDonald Islands
		'VA', // Holy See (Vatican City State)
		'HN', // Honduras
		'HK', // Hong Kong
		'HU', // Hungary
		'IS', // Iceland
		'IN', // India
		'ID', // Indonesia
		'IR', // Iran, Islamic Republic Of
		'IQ', // Iraq
		'IE', // Ireland
		'IM', // Isle Of Man
		'IL', // Israel
		'IT', // Italy
		'JM', // Jamaica
		'JP', // Japan
		'JE', // Jersey
		'JO', // Jordan
		'KZ', // Kazakhstan
		'KE', // Kenya
		'KI', // Kiribati
		'KP', // Korea, Democratic People's Republic Of
		'KR', // Korea, Republic Of
		'KW', // Kuwait
		'KG', // Kyrgyzstan
		'LA', // Laos People's Democratic Republic
		'LV', // Latvia
		'LB', // Lebanon
		'LS', // Lesotho
		'LR', // Liberia
		'LY', // Libya
		'LI', // Liechtenstein
		'LT', // Lithuania
		'LU', // Luxembourg
		'MO', // Macao
		'MK', // Macedonia, The Former Yugoslav Republic Of
		'MG', // Madagascar
		'MW', // Malawi
		'MY', // Malaysia
		'MV', // Maldives
		'ML', // Mali
		'MT', // Malta
		'MH', // Marshall Islands
		'MQ', // Martinique
		'MR', // Mauritania
		'MU', // Mauritius
		'YT', // Mayotte
		'MX', // Mexico
		'FM', // Micronesia, Federated States Of
		'MD', // Moldova, Republic Of
		'MC', // Monaco
		'MN', // Mongolia
		'ME', // Montenegro
		'MS', // Montserrat
		'MA', // Morocco
		'MZ', // Mozambique
		'MM', // Myanmar
		'NA', // Namibia
		'NR', // Nauru
		'NP', // Nepal
		'NL', // Netherlands
		'NC', // New Caledonia
		'NZ', // New Zealand
		'NI', // Nicaragua
		'NE', // Niger
		'NG', // Nigeria
		'NU', // Niue
		'NF', // Norfolk Island
		'MP', // Northern Mariana Islands
		'NO', // Norway
		'OM', // Oman
		'PK', // Pakistan
		'PW', // Palau
		'PS', // Palestine, State of
		'PA', // Panama
		'PG', // Papua New Guinea
		'PY', // Paraguay
		'PE', // Peru
		'PH', // Philippines
		'PN', // Pitcairn
		'PL', // Poland
		'PT', // Portugal
		'PR', // Puerto Rico
		'QA', // Qatar
		'RE', // Réunion
		'RO', // Romania
		'RU', // Russian Federation
		'RW', // Rwanda
		'BL', // Saint Barthélemy
		'SH', // Saint Helena, Ascension and Tristan da Cunha
		'KN', // Saint Kitts and Nevis
		'LC', // Saint Lucia
		'MF', // Saint Martin
		'PM', // Saint Pierre and Miquelon
		'VC', // Saint Vincent and The Grenadines
		'WS', // Samoa
		'SM', // San Marino
		'ST', // Sao Tome and Principe
		'SA', // Saudi Arabia
		'SN', // Senegal
		'RS', // Serbia
		'SC', // Seychelles
		'SL', // Sierra Leone
		'SG', // Singapore
		'SX', // Sint Maarten
		'SK', // Slovakia
		'SI', // Slovenia
		'SB', // Solomon Islands
		'SO', // Somalia
		'ZA', // South Africa
		'GS', // South Georgia and The South Sandwich Islands
		'SS', // South Sudan
		'ES', // Spain
		'LK', // Sri Lanka
		'SD', // Sudan
		'SR', // Suriname
		'SJ', // Svalbard and Jan Mayen
		'SZ', // Swaziland
		'SE', // Sweden
		'CH', // Switzerland
		'SY', // Syrian Arab Republic
		'TW', // Taiwan, Province Of China
		'TJ', // Tajikistan
		'TZ', // Tanzania, United Republic Of
		'TH', // Thailand
		'TL', // Timor-Leste
		'TG', // Togo
		'TK', // Tokelau
		'TO', // Tonga
		'TT', // Trinidad and Tobago
		'TN', // Tunisia
		'TR', // Turkey
		'TM', // Turkmenistan
		'TC', // Turks and Caicos Islands
		'TV', // Tuvalu
		'UG', // Uganda
		'UA', // Ukraine
		'AE', // United Arab Emirates
		'GB', // United Kingdom
		'US', // United States
		'UM', // United States Minor Outlying Islands
		'UY', // Uruguay
		'UZ', // Uzbekistan
		'VU', // Vanuatu
		'VE', // Venezuela, Bolivarian Republic Of
		'VN', // Vietnam
		'VG', // Virgin Islands, British
		'VI', // Virgin Islands, U.S.
		'WF', // Wallis and Futuna
		'EH', // Western Sahara
		'YE', // Yemen
		'ZM', // Zambia
		'ZW', // Zimbabwe

 

Use the country in lowercase.

Link to comment
Share on other sites

5 minutes ago, Adriano Faria said:

Run on your SQL Toolbox or PHPMyAdmin:


update core_members set members_country = 'us';

If you use database prefix, add it to the table name. Example: suppose you use ibf_ as prefix, then your query will be:


update ibf_core_members set members_country = 'us';

This will add UNITED STATES to all countries.

This is the list of countries:


		'AF', // Afghanistan
		'AX', // Ã…land Islands
		'AL', // Albania
		'DZ', // Algeria
		'AS', // American Samoa
		'AD', // Andorra
		'AO', // Angola
		'AI', // Anguilla
		'AQ', // Antarctica
		'AG', // Antigua and Barbuda
		'AR', // Argentina
		'AM', // Armenia
		'AW', // Aruba
		'AU', // Australia
		'AT', // Austria
		'AZ', // Azerbaijan
		'BS', // Bahamas
		'BH', // Bahrain
		'BD', // Bangladesh
		'BB', // Barbados
		'BY', // Belarus
		'BE', // Belgium
		'BZ', // Belize
		'BJ', // Benin
		'BM', // Bermuda
		'BT', // Bhutan
		'BO', // Bolivia, Plurinational State Of
		'BA', // Bosnia and Herzegovina
		'BW', // Botswana
		'BV', // Bouvet Island
		'BR', // Brazil
		'IO', // British Indian Ocean Territory
		'BN', // Brunei Darussalam
		'BG', // Bulgaria
		'BF', // Burkina Faso
		'BI', // Burundi
		'KH', // Cambodia
		'CM', // Cameroon
		'CA', // Canada
		'CV', // Cape Verde
		'BQ', // Caribbean Netherlands
		'KY', // Cayman Islands
		'CF', // Central African Republic
		'TD', // Chad
		'CL', // Chile
		'CN', // China
		'CX', // Christmas Island
		'CC', // Cocos (Keeling) Islands
		'CO', // Colombia
		'KM', // Comoros
		'CG', // Congo
		'CD', // Congo, The Democratic Republic Of The
		'CK', // Cook Islands
		'CR', // Costa Rica
		'CI', // Côte d’Ivoire
		'HR', // Croatia
		'CU', // Cuba
		'CW', // Curaçao
		'CY', // Cyprus
		'CZ', // Czech Republic
		'DK', // Denmark
		'DJ', // Djibouti
		'DM', // Dominica
		'DO', // Dominican Republic
		'EC', // Ecuador
		'EG', // Egypt
		'SV', // El Salvador
		'GQ', // Equatorial Guinea
		'ER', // Eritrea
		'EE', // Estonia
		'ET', // Ethiopia
		'FK', // Falkland Islands (Malvinas)
		'FO', // Faroe Islands
		'FJ', // Fiji
		'FI', // Finland
		'FR', // France
		'GF', // French Guiana
		'PF', // French Polynesia
		'TF', // French Southern Territories
		'GA', // Gabon
		'GM', // Gambia
		'GE', // Georgia
		'DE', // Germany
		'GH', // Ghana
		'GI', // Gibraltar
		'GR', // Greece
		'GL', // Greenland
		'GD', // Grenada
		'GP', // Guadeloupe
		'GU', // Guam
		'GT', // Guatemala
		'GG', // Guernsey
		'GN', // Guinea
		'GW', // Guinea-Bissau
		'GY', // Guyana
		'HT', // Haiti
		'HM', // Heard Island and McDonald Islands
		'VA', // Holy See (Vatican City State)
		'HN', // Honduras
		'HK', // Hong Kong
		'HU', // Hungary
		'IS', // Iceland
		'IN', // India
		'ID', // Indonesia
		'IR', // Iran, Islamic Republic Of
		'IQ', // Iraq
		'IE', // Ireland
		'IM', // Isle Of Man
		'IL', // Israel
		'IT', // Italy
		'JM', // Jamaica
		'JP', // Japan
		'JE', // Jersey
		'JO', // Jordan
		'KZ', // Kazakhstan
		'KE', // Kenya
		'KI', // Kiribati
		'KP', // Korea, Democratic People's Republic Of
		'KR', // Korea, Republic Of
		'KW', // Kuwait
		'KG', // Kyrgyzstan
		'LA', // Laos People's Democratic Republic
		'LV', // Latvia
		'LB', // Lebanon
		'LS', // Lesotho
		'LR', // Liberia
		'LY', // Libya
		'LI', // Liechtenstein
		'LT', // Lithuania
		'LU', // Luxembourg
		'MO', // Macao
		'MK', // Macedonia, The Former Yugoslav Republic Of
		'MG', // Madagascar
		'MW', // Malawi
		'MY', // Malaysia
		'MV', // Maldives
		'ML', // Mali
		'MT', // Malta
		'MH', // Marshall Islands
		'MQ', // Martinique
		'MR', // Mauritania
		'MU', // Mauritius
		'YT', // Mayotte
		'MX', // Mexico
		'FM', // Micronesia, Federated States Of
		'MD', // Moldova, Republic Of
		'MC', // Monaco
		'MN', // Mongolia
		'ME', // Montenegro
		'MS', // Montserrat
		'MA', // Morocco
		'MZ', // Mozambique
		'MM', // Myanmar
		'NA', // Namibia
		'NR', // Nauru
		'NP', // Nepal
		'NL', // Netherlands
		'NC', // New Caledonia
		'NZ', // New Zealand
		'NI', // Nicaragua
		'NE', // Niger
		'NG', // Nigeria
		'NU', // Niue
		'NF', // Norfolk Island
		'MP', // Northern Mariana Islands
		'NO', // Norway
		'OM', // Oman
		'PK', // Pakistan
		'PW', // Palau
		'PS', // Palestine, State of
		'PA', // Panama
		'PG', // Papua New Guinea
		'PY', // Paraguay
		'PE', // Peru
		'PH', // Philippines
		'PN', // Pitcairn
		'PL', // Poland
		'PT', // Portugal
		'PR', // Puerto Rico
		'QA', // Qatar
		'RE', // Réunion
		'RO', // Romania
		'RU', // Russian Federation
		'RW', // Rwanda
		'BL', // Saint Barthélemy
		'SH', // Saint Helena, Ascension and Tristan da Cunha
		'KN', // Saint Kitts and Nevis
		'LC', // Saint Lucia
		'MF', // Saint Martin
		'PM', // Saint Pierre and Miquelon
		'VC', // Saint Vincent and The Grenadines
		'WS', // Samoa
		'SM', // San Marino
		'ST', // Sao Tome and Principe
		'SA', // Saudi Arabia
		'SN', // Senegal
		'RS', // Serbia
		'SC', // Seychelles
		'SL', // Sierra Leone
		'SG', // Singapore
		'SX', // Sint Maarten
		'SK', // Slovakia
		'SI', // Slovenia
		'SB', // Solomon Islands
		'SO', // Somalia
		'ZA', // South Africa
		'GS', // South Georgia and The South Sandwich Islands
		'SS', // South Sudan
		'ES', // Spain
		'LK', // Sri Lanka
		'SD', // Sudan
		'SR', // Suriname
		'SJ', // Svalbard and Jan Mayen
		'SZ', // Swaziland
		'SE', // Sweden
		'CH', // Switzerland
		'SY', // Syrian Arab Republic
		'TW', // Taiwan, Province Of China
		'TJ', // Tajikistan
		'TZ', // Tanzania, United Republic Of
		'TH', // Thailand
		'TL', // Timor-Leste
		'TG', // Togo
		'TK', // Tokelau
		'TO', // Tonga
		'TT', // Trinidad and Tobago
		'TN', // Tunisia
		'TR', // Turkey
		'TM', // Turkmenistan
		'TC', // Turks and Caicos Islands
		'TV', // Tuvalu
		'UG', // Uganda
		'UA', // Ukraine
		'AE', // United Arab Emirates
		'GB', // United Kingdom
		'US', // United States
		'UM', // United States Minor Outlying Islands
		'UY', // Uruguay
		'UZ', // Uzbekistan
		'VU', // Vanuatu
		'VE', // Venezuela, Bolivarian Republic Of
		'VN', // Vietnam
		'VG', // Virgin Islands, British
		'VI', // Virgin Islands, U.S.
		'WF', // Wallis and Futuna
		'EH', // Western Sahara
		'YE', // Yemen
		'ZM', // Zambia
		'ZW', // Zimbabwe

 

Use the country in lowercase.

Is it needs to do for all countries?

Edited by T-MIKE
Link to comment
Share on other sites

Just now, Adriano Faria said:

Of course, not. Choose the country you want to update all members and run the query I posted above.

I showed you all countries just in case you don't want to use United States (un).

But users from different countries, not from only US. Do you have solution for update profile for different countries on IP geolocation?

Link to comment
Share on other sites

Just now, T-MIKE said:

But users from different countries, not from only US. Do you have solution for update profile for different countries on IP geolocation?

That's why I told you it makes no sense!

You asked me a way to add a country to all existing members. I showed you how to do. Obviously everybody will have same country.

Link to comment
Share on other sites

Admin must have this feature (automatically set user country) in Admin CP (I have 3500 users from different countries) and needs to see from wich country they with maximum usability

4 minutes ago, Adriano Faria said:

That's why I told you it makes no sense!

You asked me a way to add a country to all existing members. I showed you how to do. Obviously everybody will have same country.

Admin must have this feature (automatically set user country) in Admin CP (I have 3500 users from different countries) and needs to see from wich country they with maximum usability

Link to comment
Share on other sites

1 minute ago, Adriano Faria said:

Ah no, this is MEMBER feature, not an ADMIN feature. I have absolutely no plan to add such feature in ACP.

Its not good... when I buy this plugin, I could not assume that such a logical and necessary functionality in the Member's Country, will not availiable.

Link to comment
Share on other sites

Just now, T-MIKE said:

Its not good... when I buy this plugin, I could not assume that such a logical and necessary functionality in the Member's Country, will not availiable.

You could ask before you purchase. This is a PRE PURCHASE and a support topic.

All features that this plugin performs, it's listed on its description. If something you think is NECESSARY isn't listed there, you should ask before you buy.

Link to comment
Share on other sites

1 minute ago, Adriano Faria said:

You could ask before you purchase. This is a PRE PURCHASE and a support topic.

All features that this plugin performs, it's listed on its description. If something you think is NECESSARY isn't listed there, you should ask before you buy.

Yep, you right)

Thanks for answer. But why do you "absolutely no plan to add such feature in ACP"?

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Similar Content

    • By Adriano Faria
      This resource will display the country flag of user in several places of the entire suite, including third-party resources. It uses the Geo location to grab the country when a new user register an account or when existing users logs in on your board. Clicking on the flag will give you a list of all users from that country.
      Important Notice:
      IPS Geolocation is an active license perk so you need to have an active license to countries get picked by IP Address. Usage:
      New members: new members will have their country detected when they register the account Existing members: Country will be recognized when member is online or if allowed by the admin, go to Account Settings and pick your country. Settings:
      Display country flag everywhere: will display the country flag in several places from official apps like on Forums, Gallery, Blogs, Pages, Gallery, Downloads, including its widgets and third-party resources. If disabled, will display the country name + flag only on user profile. If you disable this option, a new setting will show up so you can choose specific applications where to show the flags. Groups allowed to change the country: users from selected groups will be able to change their country on Account Settings. Sometimes Geolocation picks an wrong country, so the user will be able to fix it. Integration:
      Compatible with Community Map., by @Martin A.:
         
    • By Michael.J
      Select which countries your advertisements will appear in. Integrates with the Commerce app to sell ad products to selected countries. Setup regions for quick access to multiple countries.
      Features:
      Integrates with IPB4 advertisements. Integrates with the Commerce application to sell ad products with selected countries. (Requires Commerce app) Setup multi country regions for quick repeat additions. Setup a default loading country if the geo location fails to identity the users country. Setup a default ad to show if no ads are setup to match a members country. Keep up to date with DevFuse mod development and releases.

    • By Shmuel G
      The help guides on this site all seem to be written with site administrators and moderators in mind. Is there any guide that documents how members of a community can actually use the forums?
    • By Adriano Faria
      Do you need to track the activities of specific members on your forum? Track Members will allow you to track the steps of any member as they interface with your forum and it is highly configurable to include settings for time frame and a multitude of trackable actions (Account Actions, Profile Actions, Messenger Actions, Content Actions). It also provides settings for automatic member tracking for members being warned as well as new members.
      Read more:
       
    • By Fosters
      Inactive Members and Real Last Activity is a suite of tools and enhancements for your IPS Community, designed to help you measure real last activity, notify users based upon real last activity, and ultimately manage inactive members.  
      Are you looking to re-engage old or inactive members?   Are you looking to automatically clean out inactive members?  Are you looking to overcome the hidden activity of anonymous users? Inactive Members and Real Last Activity by @Fosters adds three powerful tools into your admin toolkit to help you intelligently manage the activity of your members.
      Inactive Members
      Inactive Members adds new rule-making capabilities to your Members tab in the ACP which empower you to engage inactive members and attract them back; manage inactive members by automatically moving them to another membergroup or permanently deleting them; and automate the entire setup  in a seamless and constant back-end process.  
      Choose the number of inactive days.  Select the action.  Save.  
      Other features on Inactive Members include:
      Write multiple rules such as 30 days, 60 days, and 180 days based on your own community activity and needs Exclude certain membergroups so they stay protected from changes Draft custom email messages using the powerful IPS tag system to customize it to the recipient Real Last Activity
      Real Last Activity adds a new measurement metric to every user profile on the user's actual recorded activity.  This can be used to overcome the activities of users who mark themselves as anonymous and participate in the forums without showing their activity.  
      Bulk Mail Filter
      A new filter is added to the IPS Bulk Mail feature.  This can be used to sharpen your Bulk Mail targeting to include or exclude anonymous users based upon their real last activity on your community.  For users who want to stay anonymous but who actively visit and participate on your website, you can now target them better with your community newsletters and mailings. 
       
×
×
  • Create New...