Jump to content
You're invited! Join our 4.6 Live Event on ZOOM 6/24 ×

Community

Member's Country


Adriano Faria

Recommended Posts

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

Link to comment
Share on other sites

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}
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 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

Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 weeks later...
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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy