<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/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, 10 Apr 2026 07:55:26 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6493</link> 
  <atom:link rel="self" type="application/rss+xml" title="_prefs_hook_fullname not working" href="https://bugs.horde.org/ticket/6493/rss" /> 
  <description>_prefs_hook_fullname not working</description> 
 
   
   
  <item> 
   <title>I&#039;ve tried deleting both my fullname and identities preferen</title> 
   <description>I&#039;ve tried deleting both my fullname and identities preferences, and I can&#039;t get _prefs_hook_fullname() to invoke.  I added a call to Horde::logMessage(), and don&#039;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(&#039;_prefs_hook_fullname&#039;)) {

    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&#039;s name to &quot;Joe User&quot; provided fullname isn&#039;t set for them yet.</description> 
   <pubDate>Mon, 17 Mar 2008 21:40:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6493#t43942</link> 
  </item> 
   
  <item> 
   <title>Works perfectly here.</title> 
   <description>Works perfectly here.</description> 
   <pubDate>Wed, 02 Apr 2008 23:43:03 +0000</pubDate> 
   <link>https://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 &#039;hook&#039; =&gt; true for the prefs in question?</description> 
   <pubDate>Wed, 23 Apr 2008 21:58:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6493#t44830</link> 
  </item> 
   
  <item> 
   <title>setting  $_prefs[&#039;fullname&#039;][&#039;hook&#039;] to true  seems to have </title> 
   <description>setting  $_prefs[&#039;fullname&#039;][&#039;hook&#039;] to true  seems to have done it. 



I&#039;m  very sorry, guys - I guess I didn&#039;t read the comments at the top of prefs.php closely enough.  </description> 
   <pubDate>Wed, 23 Apr 2008 22:23:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6493#t44841</link> 
  </item> 
   
  <item> 
   <title>No worries.</title> 
   <description>No worries.</description> 
   <pubDate>Thu, 24 Apr 2008 01:19:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6493#t44843</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
