Page 1 of 1

[SOVLED] email to a friend gives "you are not authorized" - suggested fix

Posted: Fri Mar 23, 2007 9:20 am
by Coffin
Found in components/com_content/content.php lines 2158 and 2236 (roughly) two occurences of

  if ($mosConfig_hideEmail) {
      echo _NOT_AUTH;
      return;
  }

Now in my config-file there's the default Hide-Email, but in some content-pages I want the button visible so I set it on.
This results in the _NOT_AUTH message, so I remmed out both checks for the $mosConfig_hideEmail flag.

Did not seem to destruct a lot of stuff, it works now, but I'd love to know why the check was there in the first place.

Thanks !

Re: email to a friend gives "you are not authorized" - suggested fix

Posted: Mon May 14, 2007 10:01 pm
by RobS
Fixed in SVN.  Thanks for reporting.

Re: [SOVLED] email to a friend gives "you are not authorized" - suggested fix

Posted: Fri Aug 24, 2007 12:19 pm
by wiredeyes
still broken in 1.0.13!