Is there any way that when new members sign up on my site that I can make uploading a profile picture manditory?
Is there any way that when new members sign up on my site that I can make uploading a profile picture manditory? |
you can make this field as mandatory in admin - Profile Fields - join PS: If possible do not write me personally, please try to ask on the forum first |
Actually Sashe, you cant do it from there. Has to be done in the database. @sdjustin, You can find the script here http://www.boonex.com/unity/extensions/entry/Mandatory_Photo_on_Join Nothing to see here |
Actually Sashe, you cant do it from there. Has to be done in the database. @sdjustin, You can find the script here http://www.boonex.com/unity/extensions/entry/Mandatory_Photo_on_Join Ok thank you PS: If possible do not write me personally, please try to ask on the forum first |
That will just mark the field as mandatory (*) but there is no real check Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine. |
In D7.0.1 and D7.0.2 it does check actually. The problem is that the code exists to check if a mandatory item, but the only way you could set it to "mandatory" was through the database. Give it a shot and you will see :) EDIT : All versions prior to that, you would be correct MichelSwiss Nothing to see here |
That link doesn't work anymore |
Since the link posted is dead.. This is the original file from Zarcon, "This will make the Profile Photo option on the Join page a required option. I have tested this on Version 7.0.2. However this should work with version 7.0.1 as well. The BxProfileFields.php is already coded to check if the profile photo is mandatory or not, but unfortunately there is no way to make it a "mandatory" item in the Admin Panel. All you have to do is go into your Database (via phpMyAdmin) and run the following script below to set this as mandatory. Update sys_profile_fields Set Mandatory = '1' Where Name = 'ProfilePhoto' AND Mandatory = '0' Once you have ran this, you will need to delete sys_profile_fields.inc from the /cache directory. Enjoy! Zarcon" ManOfTeal.COM a Proud UNA site, six years running strong! |