Hi Guys,
for some reason when I click on a profile, I'm getting the following error
"Parse error: syntax error, unexpected T_STRING in /home/public_html/social/templates/base/scripts/BxBaseProfileView.php on line 1"
anyone got any idea on what this is and how to fix it?...
I'm guessing this is the first part of the code:
***************************************************************************/bx_import('BxDolProfile');bx_import('BxDolProfileFields');bx_import('BxDolPageView');bx_import('BxDolPaginate');bx_import('BxDolSubscription');bx_import('BxDolCmtsProfile');bx_import('BxTemplVotingView');class BxBaseProfileView extends BxDolPageView { var $oProfileGen; var $aConfSite; var $aConfDir; function BxBaseProfileView(&$oPr, &$aSite, &$aDir) { $this->oProfileGen = &$oPr; $this->aConfSite = $aSite; $this->aConfDir = $aDir; parent::BxDolPageView('profile'); } function genBlock( $iBlockID, $aBlock, $bStatic = true, $sDynamicType = 'tab' ) { //--- Privacy for Profile page ---// $oPrivacy = new BxDolPrivacy('sys_page_compose_privacy', 'id', 'user_id'); $iPrivacyId = (int)$GLOBALS['MySQL']->getOne("SELECT `id` FROM `sys_page_compose_privacy` WHERE `user_id`='" . $this->oProfileGen->_iProfileID . "' AND `block_id`='" . $iBlockID . "' LIMIT 1"); if($iPrivacyId != 0 && !$oPrivacy->check('view_block', $iPrivacyId, $this->iMemberID))
thanks in advance.