Jump to content
View in the app

A better way to browse. Learn more.

SOS Invision

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Administrator

Member's Country

This application will display the country flag of users in several places of the entire suite, including third-party resources. It uses Geolocation to grab the country when a new user registers an account or when existing users log 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 a 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 the user profile.
  • Groups allowed to change the country: users from selected groups will be able to change their country on Account Settings. Sometimes Geolocation picks the wrong country, so the user will be able to fix it.

File Information

Submitter Adriano

Submitted 09/03/2018

Category Paid Applications/Plugins

View File

Member's Country

  • 1 year later...
  • Replies 37
  • Views 6.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Choose the groups in the app settings: 

  • For some reason, the file was 1.3.8 but the version in file view on IPS was showing 1.3.7 so I just set the same for both. Anyway, no change in the app; it is 4.7 & 4.6 compatible.

  • Less than I thought. Done:

Posted Images

a versão 1.3 estará disponivel?

  • Author
  • Administrator

What's New in Version 1.3.0.1:

  • COMPATIBLE WITH IPS 4.5 ONLY!
  • Now coded as an application
  • New setting to choose if want to show flags in all apps installed or in specific ones
  • Script optimization due to new marketplace guidelines
    • drop column from members tables and use own table to store members preferences
  • 1 year later...

I am seeing errors in the system log, is it related to this add on?

Thanks

Template store key: template_157_beeee822f51347c3353dea41a2fc264a_global missing (memberscountry, front, global)

#0 /home/squarewheels/public_html/system/Theme/Theme.php(856): IPS\_Log::log('Template store ...', 'template_store_...')
#1 /home/squarewheels/public_html/cache/template_157_94a9d7649fb9cdbfc784d3516e61a717_global.php(17975): IPS\_Theme->getTemplate('global', 'memberscountry', 'front')
#2 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->userLink(Object(IPS\Member), NULL, true, NULL)
#3 /home/squarewheels/public_html/system/Theme/Theme.php(880) : eval()'d code(2313): IPS\Theme\_SandboxedTemplate->__call('userLink', Array)
#4 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), Array, '')
#5 /home/squarewheels/public_html/system/Theme/Theme.php(880) : eval()'d code(4988): IPS\Theme\_SandboxedTemplate->__call('postContainer', Array)
#6 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array)
#7 /home/squarewheels/public_html/applications/forums/modules/front/forums/topic.php(553): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#8 /home/squarewheels/public_html/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_topic->manage()
#9 /home/squarewheels/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#10 /home/squarewheels/public_html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#11 /home/squarewheels/public_html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
#12 /home/squarewheels/public_html/index.php(13): IPS\_Dispatcher->run()
#13 {main}

  • Author
  • Administrator
On 4/1/2022 at 6:02 PM, Square Wheels said:

I am seeing errors in the system log, is it related to this add on?

Thanks

Template store key: template_157_beeee822f51347c3353dea41a2fc264a_global missing (memberscountry, front, global)

#0 /home/squarewheels/public_html/system/Theme/Theme.php(856): IPS\_Log::log('Template store ...', 'template_store_...')
#1 /home/squarewheels/public_html/cache/template_157_94a9d7649fb9cdbfc784d3516e61a717_global.php(17975): IPS\_Theme->getTemplate('global', 'memberscountry', 'front')
#2 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->userLink(Object(IPS\Member), NULL, true, NULL)
#3 /home/squarewheels/public_html/system/Theme/Theme.php(880) : eval()'d code(2313): IPS\Theme\_SandboxedTemplate->__call('userLink', Array)
#4 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), Array, '')
#5 /home/squarewheels/public_html/system/Theme/Theme.php(880) : eval()'d code(4988): IPS\Theme\_SandboxedTemplate->__call('postContainer', Array)
#6 /home/squarewheels/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array)
#7 /home/squarewheels/public_html/applications/forums/modules/front/forums/topic.php(553): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#8 /home/squarewheels/public_html/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_topic->manage()
#9 /home/squarewheels/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#10 /home/squarewheels/public_html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#11 /home/squarewheels/public_html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
#12 /home/squarewheels/public_html/index.php(13): IPS\_Dispatcher->run()
#13 {main}

https://invisioncommunity.com/forums/topic/417902-member-away/?do=findComment&comment=2887151

  • 2 months later...

Hi Adriano.

Currently, both here and on IPS, Member's Country is 1.3.8 but the one on IPS shows updated a couple of hours ago, whereas the one here shows November 2021. Are they the same file?

  • Author
  • Administrator

For some reason, the file was 1.3.8 but the version in file view on IPS was showing 1.3.7 so I just set the same for both. Anyway, no change in the app; it is 4.7 & 4.6 compatible.

  • 3 months later...

Hi Adriano. Would it be super complicated to allow admins to change a member's country from the admin side?

  • Author
  • Administrator
On 9/20/2022 at 9:26 AM, Giray said:

Hi Adriano. Would it be super complicated to allow admins to change a member's country from the admin side?

 

On 9/20/2022 at 10:37 AM, Adriano said:

Yes, it would.

Less than I thought. Done:

Capturar.thumb.PNG.20830c6d1da0778414b31d6c096ecfbb.PNG

🥰

For anyone on the fence about this app, with the new ability to change the country in the AdminCP, it's a game changer. So elegant and members absolutely love it.

  • 4 months later...
  • Author
  • Administrator

What's New in Version 1.4.0:

  • Add a new setting to admin choose the API to grab country from users IP address
    • GeoPlugin API
    • IPS Geolocation
  • 1 month later...
  • Author
  • Administrator

What's New in Version 1.4.1:

  • Removes the GeoPlugin API
    • As before, only IPS Geolocation will be supported
  • 5 months later...
  • Author
  • Administrator

What's New in Version 1.4.2

  • Adds the Update Check URL to let you know when a new version is available.
  • 1 month later...

I am seeing the following error in my logs - any suggestion on how to remedy. 

I am using 1.4.2

 

-----------

 

UPDATE `memberscountry_members` `memberscountry_members`  SET `mc_mc_country`='us',`mc_mc_country_show`=1 WHERE mc_member_id=5 
Unknown column 'mc_mc_country' in 'field list'

 

 

---------

 

The actual table lists just mc_country when i go in with PHPadmin

  • Author
  • Administrator

What IPS version are you using? Do you get any errors in the front end or is the application working fine?

Front end seems to be fine just seeing the error in the system log when I manually run the background processes. Version is 4.7.13

  • Author
  • Administrator

Ok, will try to reproduce. By the error, it seems to happen on Account Settings.

  • 5 months later...

When on account settings, i have no option to set country or anything?

 

 

  • Author
  • Administrator
22 minutes ago, jcbmorgxn said:

When on account settings, i have no option to set country or anything?

Choose the groups in the app settings: 

Screenshot6.png.acfff0b2d332f22fee0a2bf9

On 3/28/2024 at 5:25 PM, Adriano said:

Choose the groups in the app settings: 

Screenshot6.png.acfff0b2d332f22fee0a2bf9

Resolved thank you!

  • 3 months later...

Unable to update. When I upload new file I got this:
image.png.5a31d8814e480e10d8e82824d488d74d.png

I have 777 permissions on applications and inside

  • Author
  • Administrator
2 hours ago, Xeite said:

Unable to update. When I upload new file I got this:
image.png.5a31d8814e480e10d8e82824d488d74d.png

I have 777 permissions on applications and inside

I’ll generate a new .tar and will upload the file on downloads.

  • Author
  • Administrator
4 hours ago, Xeite said:

Unable to update. When I upload new file I got this:
image.png.5a31d8814e480e10d8e82824d488d74d.png

I have 777 permissions on applications and inside

I just installed it here on this board and it is ok:

Capturadetela2024-07-10084250.thumb.png.9d5fef3d14fe3b42f92b4ad72c7dee6e.png

 

Anyways, I generated another.tar and will send you via private message:

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.