Resource icon

Mandatory Location 1.3.3

No permission to download
Added criteria..... Can you tell me where this criteria is used? On emailing, trophies, notices?
 
The only one I've tried it on is on notices. Basically, you can use it to make notices only show to people who haven't set a location.

If emailing and trophies use the same set of criteria, it should be available there too.
 
This might not need an add-on.

How confident are you that your users are mostly using a modern web browser?

If you don't mind a few slipping through the net (because they use an older browser) you can edit the template and add this to the HTML tag for the Location input:

required="true"

If they have a HTML5 browser then this will happen when they submit the form without that filled in:

upload_2013-9-1_22-13-7.webp
 
I sort of forgot that the Location field isn't included on the registration form.

In what way isn't it working anymore in 1.2?
 
Like you said it doesn't show up on the registration form so when someone tries to register it says they have not filled out their location. This has been broken for awhile now and I'm ashamed to say that I'm only just now discovering this. This is embarrassing because my members have been inviting their friends and none of them have been able to join. I only found out today when a friend I asked to join was right next to me on her kindle when she tried and it didn't work.
 
Like you said it doesn't show up on the registration form so when someone tries to register it says they have not filled out their location. This has been broken for awhile now and I'm ashamed to say that I'm only just now discovering this. This is embarrassing because my members have been inviting their friends and none of them have been able to join. I only found out today when a friend I asked to join was right next to me on her kindle when she tried and it didn't work.
what have I done differently then, because its working for me on 1.2
 
Like you said it doesn't show up on the registration form so when someone tries to register it says they have not filled out their location. This has been broken for awhile now and I'm ashamed to say that I'm only just now discovering this. This is embarrassing because my members have been inviting their friends and none of them have been able to join. I only found out today when a friend I asked to join was right next to me on her kindle when she tried and it didn't work.
There are two highly probably reasons why you're experiencing this.

Looking at the options BASE/admin.php?options/list/MandatoryLocationOptions

Case 1:"Automatically Add Template Changes" disabled (this should be what @optrex is using).
You forgot to readd the template change

Case 2:"Automatically Add Template Changes" enabled
-This experimental feature is broken in 1.2.

Assuming your issue is case 2, I don't really have time to fix the addon unless you're willing to pay and so I'd recommend either:
a) Disabling the addon and using @Chris Deeming 's advice (keeping in mind the tradeoff), OR
b) Adding the template change yourself (see step 3 of the instructions)
 
Well, I'd add $25 US to the pot if any of you other characters want to pony up......this is a nice add-on, and I'm sure lots of people could use it.
 
Why not fetch the location from the browser or IP?
Many mobile and other networks users report as being a different location. Other people have multiple houses (go south or north for part of the year), yet for purposes of our board want a single location specified.
 
So here's my problem and basic questions...

I have thousands of members who signed up and entered their location(s). Even though this add-on is disabled, those are still there, but new members are not forced to enter theirs. I also have no control over that field....or don't think I have.

So did this add-on actually install a field and my db is now populated with that data...and, in turn, I can't use it if I install another custom field for location? Is this going to require some custom work?
 
So here's my problem and basic questions...

I have thousands of members who signed up and entered their location(s). Even though this add-on is disabled, those are still there, but new members are not forced to enter theirs. I also have no control over that field....or don't think I have.

So did this add-on actually install a field and my db is now populated with that data...and, in turn, I can't use it if I install another custom field for location? Is this going to require some custom work?
All this addon does (or did) was force users to enter in a value for the default location field (that is a part of XF). It does not make any special changes to the database.
 
All this addon does (or did) was force users to enter in a value for the default location field (that is a part of XF). It does not make any special changes to the database.
Does this work for you in Xenforo 1.2.2?
 
Top Bottom