Comment to 'Default Profile Photo per gender'
  • Hello Scholar !

    You need to set the false condition for this code:

    'bx_if:show_thumb_letter' => array(

                    'condition' => !$bThumbUrl,

                    'content' => array(

                        'size' => $sTemplateSize,

                        'color' => implode(', ', BxDolTemplate::getColorCode($iProfile, 1.0)),

                        'letter' => mb_strtoupper(mb_substr($sTitle, 0, 1))

                    )

                ),

    and then change the _getUnitThumbUrl method of BxBaseModProfileTemplate class - redeclare it in necessary children.