mandatory fields for photos

Does anyone know how to make category mandatory when uploading photos in dolphin 7.0.7?

Quote · 27 Sep 2011

 (not sure if will work on 7.0.7) Please check on test site and or make backup ups of the changed files and have knowledge of editing your phpMyAdmin database.

Repost 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 Amdin 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!
Quote · 27 Sep 2011

No, i mean that field category should be mandatory when you upload photo into photo album. Any suggestion?

Quote · 27 Sep 2011

lol, sorry. I misunderstood question.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 27 Sep 2011

Currently the database structure does not provide for flagging photo upload fields as mandatory.

Even Monkeys and Retards get it right with repitition! - Author Unknown
Quote · 27 Sep 2011

Is there any modification of uploading script to check if field category blank or not?

Quote · 29 Sep 2011

Still works in 7.0.8

Quote · 18 Nov 2011

Is there any way to change Dolphin scripts for it?

Quote · 8 Feb 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.