Jump to content

Member's Country

Featured Replies

Hello,

I got an problem with this plugin. Since the last update, new users can not register anymore, and getting en error EX0

I already had the support from Invision looking at this, and they told me that your plugin was causing the problem.

I swithed off the plugin and registrations work normal again.

Please lookin to this.

 

Henk

  • Replies 565
  • Views 47.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Adriano Faria
    Adriano Faria

    New version submitted and is awaiting review/approval.

  • Adriano Faria
    Adriano Faria

    Submitted to the marketplace. You now have to wait for IPS to review and approve the submission.

  • mesteele101
    mesteele101

    Now if you could integrate Members map, I'd be on this, and a lot of others would be...

Posted Images

  • Author
1 minute ago, Henk Bartels said:

and they told me that your plugin was causing the problem

I'm able to create an account just fine:

What's the error message in your log?

This is the answer i got from Invision Support :

The issue here is being casued by the 3rd party plugin 'Members Country'. You would need to contact the author of that application for assitance.

In the error-logs there is the following :

 

The log entry was triggered by a guest (Guests)

19 hours ago
The URL of page the error occurred on was https://www.signalsoft.info/forum/register/
 
ArgumentCountError: Too few arguments to function IPS\core\modules\front\system\_register::_createMember(), 3 passed in /var/www/vhosts/signalsoft.info/httpdocs/forum/init.php(893) : eval()'d code on line 13 and exactly 4 expected (0)
#0 /var/www/vhosts/signalsoft.info/httpdocs/forum/init.php(893) : eval()'d code(13): IPS\core\modules\front\system\_register::_createMember()
#1 /var/www/vhosts/signalsoft.info/httpdocs/forum/applications/core/modules/front/system/register.php(240): IPS\core\modules\front\system\hook726::_createMember()
#2 /var/www/vhosts/signalsoft.info/httpdocs/forum/applications/core/modules/front/system/register.php(103): IPS\core\modules\front\system\_register->_registrationForm()
#3 /var/www/vhosts/signalsoft.info/httpdocs/forum/system/Dispatcher/Controller.php(101): IPS\core\modules\front\system\_register->manage()
#4 /var/www/vhosts/signalsoft.info/httpdocs/forum/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute()
#5 /var/www/vhosts/signalsoft.info/httpdocs/forum/index.php(13): IPS\_Dispatcher->run()
#6 {main}
  • Author

Are you using the latest Members Country version? Are you in the plugin yet? This is now an app and it doesn’t even has a hook in registration process anymore. It uses memberSync now. 

EDIT: oh boy, you’re ages outdated! Your last download is from 05/04/2020 03:44 AM!

Update it.

Edited by Adriano Faria

Hello Adriano,

I did not get any update messages about this, but i don't know if that is done for plugins.

However, i did load the newest version (application now) and now everything is working fine.

Thank you

Henk

  • 1 month later...
  • 4 weeks later...

Sorry for this dummy question. I wanted to buy the plugin but I am confused after reading the GeoLocation statement in the plugin's description.

  • IPS Geolocation is an active license perk so you need to have an active license to countries get picked by IP Address.

What does it mean exactly? I need to have an active license of what? I have searched IPS for geolocation, location, and I can't see anything. Thanks

2 minutes ago, OptimusBain said:

an active license of what?

Just active license of IPS. If you are self-hosted and your IPS license expires, this mod will not work. 

Just now, Sonya* said:

Just active license of IPS. If you are self-hosted and your IPS license expires, this mod will not work. 

IPS is hosted in my own server and I have an active IPS license. I guess it should work then

  • Author
2 minutes ago, Sonya* said:

Just active license of IPS. If you are self-hosted and your IPS license expires, this mod will not work. 

Actually it won’t pick the country automatically but it keeps showing the flags.

Users can also choose a country manually in Account Settings. 

I've just purchased the plugin. I can't make it work as expected. I see the flags on a very reduced number of users.

I logged in ACP and made sure that the IPs corresponded to their countries. See below. Aren't the IPs detected and the flag will be added based on the IPs? Most users won't show the flag, the majority of them.

I've edited the user whose IP is below, added address, etc. Saved. Still, no flag. Same with most of the users. It's not about the country, because I can I am the only user from Spain that displays the flag, no other user has it. 

What could be wrong? Is it the IP that is detected and the flag added based on it?

image.png.75e8a46abc0c659bf752c70de17bd00a.png

3 minutes ago, OptimusBain said:

I see the flags on a very reduced number of users.

I know nothing about this application at all, but the above would indicate to me that SOMETHING has to happen for a user's flag to appear. Which leads me back to reading the opening information about the application, specifically:

Quote

It uses the Geolocation to grab the country when a new user register an account or when existing users logs in on your board

 

Edited by Nathan Explosion

  • Author
11 minutes ago, OptimusBain said:

I see the flags on a very reduced number of users.

It’s enough to the user browse any page or your community. The country will be picked if he’s a group you selected in the settings. 

  • Author
31 minutes ago, OptimusBain said:

I can't make it work as expected. I see the flags on a very reduced number of users.

 

18 minutes ago, Adriano Faria said:

It’s enough to the user browse any page or your community. The country will be picked if he’s a group you selected in the settings. 

This is a very common “mistake” on this resource. As this is an app now, I’ll add a tool to grab country flag from all members on a background task and will also run it when installing the resource so it will show up the flags to everyone after install. 

Just now, Adriano Faria said:

 

This is a very common “mistake” on this resource. As this is an app now, I’ll add a tool to grab country flag from all members on a background task and will also run it when installing the resource so it will show up the flags to everyone after install. 

That would be awesome. Thanks

Quick question. A member from China sees his profile is displaying an American flag. Are flags calculated only his the IP? If the member edits his profile and changes his country, will the country's flag be displayed regardless of the IP? 

Users might use a VPN different from his original country and the flag would not match his country and nationality 

Thanks

  • Author

Can be the 2 things there you mentioned. 

Hi Adriano. Small typo in members_country_show_desc

You have want with two tt

Hi Adriano.

I need to import users (often). I just tried using the IPS import via CSV function. I noticed that the Country does not appear as one of the import fields. Did I miss it or is it not there? If not there, could it be?

Thx.

  • Author

Not there. I have absolutely no idea. Will take a look when I have to upgrade it again.

Just now, Adriano Faria said:

Not there. I have absolutely no idea. Will take a look when I have to upgrade it again.

Thanks. No worries for now though. I may be able to import the person's registration IP and that should set the country automatically 😇

10 minutes ago, Adriano Faria said:

Not there. I have absolutely no idea. Will take a look when I have to upgrade it again.

Thanks. No worries for now though. I may be able to import the person's registration IP and that should set the country automatically 😇

**edit**

Worked perfectly. As long as you have the member's IP address, the import feeds right in 😉 Happy.

  • 3 weeks later...

Hi @Adriano Faria,

Thanks for the application. Is there a way or consideration for this to be displayed on just the members post rather than everywhere in the forums please?

  • Author
1 minute ago, Jim said:

Hi @Adriano Faria,

Thanks for the application. Is there a way or consideration for this to be displayed on just the members post rather than everywhere in the forums please?

Hello,

Go to the app settings and uncheck the Display flags everywhere or something then you’ll see all the apps you have. Choose the ones you want the flags to show.

2 minutes ago, Adriano Faria said:

Hello,

Go to the app settings and uncheck the Display flags everywhere or something then you’ll see all the apps you have. Choose the ones you want the flags to show.

Thanks for the reply. I have done this, but by selecting Forums it displays everywhere, ideally I'd like this to only display next to the Members Username alongside their post as per the screenshot:

1072019847_Screenshot2021-05-04at22_08_39.png.2a4f20101fa10c996990e83ec2a8b757.png

Could there be some consideration for finer settings where it displays within the forums as there are a lot of places currently...

Regards

Jim

Also the option of it showing on the 'Who's Online' Widget?

Recently Browsing 0

  • No registered users viewing this page.