Left file: new\plg_jfbcprofiles_communitybuilder_j1.5_v4.2.0\communitybuilder.php
Right file: orig\plg_jfbcprofiles_communitybuilder_j1.5_v4.2.0\communitybuilder.php
128c129
< $hideField = $cbField->type == 'primaryemailaddress' || $cbField->type == 'password' || $cbField->type == 'image' || $cbField->name == 'username'|| $cbField->name == 'name';
---
> $hideField = $cbField->type == 'primaryemailaddress' || $cbField->type == 'password' || $cbField->type == 'image' || $cbField->name == 'username';
130,131c130
< //if ($cbField->published && $cbField->profile && $cbField->registration && !$hideField)
< if ($cbField->published && $cbField->registration && !$hideField)
---
> if ($cbField->published && $cbField->profile && $cbField->registration && !$hideField)
166,169d164
< if ($cbField->type != "predefined")
< {
< $cbTabs->_initFieldToDefault($cbField, $cbUser, 'register');
< }
275d266
< {
277,278d267
< }
< else{ //it's null so try and populate it with the default
280,283d268
< if( $oField->default != null ){
< $postArray[$fieldName] = $oField->default; //set the default value
< }
< }
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
