# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/admin.comprofiler.html.php +++ administrator/components/com_comprofiler/admin.comprofiler.html.php @@ -2978,7 +2978,7 @@ outputCbTemplate( 2 ); outputCbJs( 2 ); - global $_CB_Backend_Title; + global $_CB_Backend_Title, $ueConfig; $_CB_Backend_Title = array( 0 => array( 'cbicon-48-tools', CBTxt::T('CB Tools Manager') ) ); $cbSpoofField = cbSpoofField(); @@ -2986,6 +2986,16 @@ ?>
+' . sprintf( CBTxt::T( 'PHP Version %s is not compatible with %s: Please upgrade to PHP %s or greater.' ), phpversion(), $ueConfig['version'], '5.0.0' ) . '
'; + } + + if ( getCBprofileItemid( 0 ) ) { + echo '
' . CBTxt::T( 'Manadatory CB Joomla/Mambo menu link is missing, not published, or public. Please ensure mandatory component menu is present and configured correctly: public level and published..' ) . '
'; + echo '
' . CBTxt::T( 'Hint:' ) . ' ' . CBTxt::T( 'You can hide the public profile menu in a menu module which is of registered level if needed (like the User menu).' ) . '
'; + } +?>