Neso
Member
Does this work for you in Xenforo 1.2.2?
No it is now working, not to me ...
Does this work for you in Xenforo 1.2.2?
Just like the last time that was asked, I don't use it myself.Does this work for you in Xenforo 1.2.2?
Just like the last time that was asked, I don't use it myself.
I may be able to update this for 1.2+ this weekend, but no guarantees..
I'd also like this to be updated. Thank you!
I've finally updated this to support XF 1.2!
Change log:
Upgrade notes:
- Updated to support XenForo 1.2.3 (untested on 1.2-1.2.2)
- Reworked register form modification to use the template modification system in XF 1.2
Simply upload all files in the upload folder and update the addon with the included XML file.
If you edited your register form template for a previous version of Mandatory Location, you'll want to either:
a) Remove it, or
b) Keep it and disable...
If you have a non-English forum, you can edit the language used, within options.
Your location is required.
If you go to the admin panel -> Options -> Mandatory Location, all the phrases can be edited there.How to translate a phrase in another language?
how to find this phrase?
The addon already support user criteria for those who haven't added a location yet, so you could do this with another addon that supports using criteria in this way.Hi. This add-on is a great idea, especially when combined with the User Map add-on which shows all users location on a map.
Is there anyway to modify however, so that if a location is not set in existing accounts it redirects the user on their next login to their account settings and makes them enter their location?
<dl class="ctrlUnit">
<dt><label for="ctrl_location">{xen:phrase location}:</label></dt>
<dd>
<input type="text" name="location" value="{$fields.location}" class="textCtrl" id="ctrl_location" />
<p class="explain">{$xenOptions.MandatoryLocationPhraseRegLoc}</p>
</dd>
</dl>
Doesn't work for me in xf 1.3. This code is already in register_form but it doesn't work anyway.I got this working on Xenforo 1.3 by adding this in the Foolbothoneypot_register_form template.
Code:<dl class="ctrlUnit"> <dt><label for="ctrl_location">{xen:phrase location}:</label></dt> <dd> <input type="text" name="location" value="{$fields.location}" class="textCtrl" id="ctrl_location" /> <p class="explain">{$xenOptions.MandatoryLocationPhraseRegLoc}</p> </dd> </dl>
On default xenforo you would add this to register_form
The reason it wasn't working for me before is because the template modification in this addon was trying to find and replace: <dl class="ctrlUnit OptOut"> which is no longer in the latest versions of Xenforo.
Pardon me?Nah breh
This goes double when using a beta release (XF 1.3), and when using addons that alter the registration process.Its always a good idea to join your own site every which way (both normal and through external authorizations such as facebook). I've learned the hard way sometimes registration breaks and no one will tell you about it.
We use essential cookies to make this site work, and optional cookies to enhance your experience.