This bit of code in mod_cblogin.php is making it really difficult to integrate SMF profile images.
[code:1] if($avatarapproved==0) $oValue="components/com_comprofiler/plugin/language/".$fileLang."/images/tnpendphoto.jpg";
elseif(($avatar=='' || $avatar==null) && $avatarapproved==1) $oValue = null;
elseif(strpos($avatar,"gallery/"«»)===false) $oValue="images/comprofiler/tn".$avatar;
else $oValue="images/comprofiler/".$avatar;[/code:1]
specifically
$oValue="images/comprofiler/tn".$avatar;
Absolutely no way to sync a single image path to CB unless I copy every last one of them to the gallery. Sure in the profile my sync of the path works just fine, but the login module has that 'tn' there.
There must be a better way, right? I hope so. For now I may just show my users how to hack the login module to take out the tn. Anyways, just thought I would request this, it will help me integrate CB with SMF better.
ahhh, sitting here I just thought of an ugly hack, put 'gallery/..' at the beginning of all the SMF profile image paths. Ugly, but I think it will work.