Please select....by defualt.

/inc/classes BxDolPrivacy.php

find
$aValues = array_merge($aValues, $aDynamicGroups);
bellow add
array_unshift ($aValues, _t('_Please_Select_'));

find
return array(
            'type' => 'select',
            'name' => $sName,
            'caption' => (!empty($sTitle) ? $sTitle : _t(!empty($sCaption) ? $sCaption : '_' . $sName)),
            'value' => $sValue,
            'values' => $aValues,
            'checker' => array(
                'func' => 'avail',
                'error' => _t('_ps_ferr_incorrect_select')
            ),
            'db' => array(
                'pass' => 'Int'
            )
        );
    }
make changes
return array(
            'type' => 'select',
            'name' => $sName,
            'caption' => (!empty($sTitle) ? $sTitle : _t(!empty($sCaption) ? $sCaption : '_' . $sName)),
            /*'value' => $sValue,*/
            'values' => $aValues,
             'required' => true,
            'checker' => array(
                'func' => 'avail',
                'error' => _t('_ps_ferr_incorrect_select')
            ),
            'db' => array(
                'pass' => 'Int'
            )
        );
    }

psg.PNG · 8K · 524 views
Quote · 31 Jan 2013

So this works on the upload button (pseudo modal box) on photos and videos and such?

Geeks, making the world a better place
Quote · 2 Feb 2013

no clue, try it, if not add your other fix along with this one and it should.

Quote · 2 Feb 2013

thanks!

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 2 Feb 2013
 
 
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.