<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>_prefs_hook_fullname not working</title>
  <pubDate>Fri, 08 Aug 2008 15:08:26 -0400</pubDate>
  <link>http://bugs.horde.org/ticket/6493</link>
  <atom:link rel="self" type="application/rss+xml" title="_prefs_hook_fullname not working" href="http://bugs.horde.org/ticket/6493/rss" />
  <description>_prefs_hook_fullname not working</description>

  
  
  <item>
   <title>I've tried deleting both my fullname and identities preferen</title>
   <description>I've tried deleting both my fullname and identities preferences, and I can't get _prefs_hook_fullname() to invoke.  I added a call to Horde::logMessage(), and don't see anything in the horde log.

I was originally trying the LDAP backed one example (modified for our ldap server), but am currently trying..

if (!function_exists('_prefs_hook_fullname')) {
    function _prefs_hook_fullname($user = null)
    {
        $name = &quot;Joe User&quot;;
        Horde::logMessage($name, __FILE__, __LINE__, LOG_DEBUG);
        return (empty($name) ? $user : $name);
    }
}

thinking that should set everyone's name to &quot;Joe User&quot; provided fullname isn't set for them yet.</description>
   <pubDate>Mon, 17 Mar 2008 17:40:57 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6493#t43942</link>
  </item>
  <item>
   <title>Works perfectly here.</title>
   <description>Works perfectly here.</description>
   <pubDate>Wed, 02 Apr 2008 19:43:03 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6493#t44339</link>
  </item>
  <item>
   <title>No feedback for now. If this is still happening, did you set</title>
   <description>No feedback for now. If this is still happening, did you set 'hook' =&gt; true for the prefs in question?</description>
   <pubDate>Wed, 23 Apr 2008 17:58:34 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6493#t44830</link>
  </item>
  <item>
   <title>setting  $_prefs['fullname']['hook'] to true  seems to have </title>
   <description>setting  $_prefs['fullname']['hook'] to true  seems to have done it. 

I'm  very sorry, guys - I guess I didn't read the comments at the top of prefs.php closely enough.  </description>
   <pubDate>Wed, 23 Apr 2008 18:23:37 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6493#t44841</link>
  </item>
  <item>
   <title>No worries.</title>
   <description>No worries.</description>
   <pubDate>Wed, 23 Apr 2008 21:19:50 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6493#t44843</link>
  </item>
  

 </channel>
</rss>
