Topic: read this if u require profile photo on registration
I wanted to share this as it annoyed me.
I do require a profile photo to be uploaded upon registration, but i noticed some users upload anything just to register then they delete it within their account. i don't want users with no profile photos on my website, so i added into the account_photo.tpl an IF statement to this section:
<!-- IF !settings.require_registration_photo -->
<li class="remove"><a href="#" onclick="javascript:confirmLink('{lang:"photo","delete?"}', '{top.virtual_path}{delete_link}')" title="{lang:"photo","delete"}">{lang:"photo","delete"}</a></li>
<!-- ENDIF -->
now if you set YES to require photo upload in Registration Settings, the delete button will not show, and it gives sense as profile photo is required.
vld. 2.7