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

Confirmed bugs that have been Fixed - Joomla 1.0.x



[New Threads cannot be started in this forum]
Locked
Coffin
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Tue Jan 09, 2007 9:49 am
Location: Netherlands
Contact:

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

Post by Coffin » Fri Mar 23, 2007 9:20 am

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 !

User avatar
RobS
Joomla! Ace
Joomla! Ace
Posts: 1366
Joined: Mon Dec 05, 2005 10:17 am
Location: New Orleans, LA, USA
Contact:

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

Post by RobS » Mon May 14, 2007 10:01 pm

Fixed in SVN.  Thanks for reporting.
Rob Schley - Open Source Matters
Webimagery - http://www.webimagery.net/ - Professional Consulting Services
JXtended - http://www.jxtended.com/ - Free and Commercial Joomla! Extensions

wiredeyes
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Sep 22, 2006 11:32 pm

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

Post by wiredeyes » Fri Aug 24, 2007 12:19 pm

still broken in 1.0.13!


Locked

Return to “Q&T 1.0.x Resolved”