[dokuwiki] Re: problems with feed.php...

  • From: "Neulinger, Nathan" <nneul@xxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Tue, 31 Jan 2006 08:43:36 -0600

Ignore the second part of this, that was a caching issue. But the $auth
change definately needs to go in.

 
------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@xxxxxxx
University of Missouri - Rolla         Phone: (573) 341-6679
UMR Information Technology             Fax: (573) 341-4216
 

> -----Original Message-----
> From: Neulinger, Nathan 
> Sent: Tuesday, January 31, 2006 8:38 AM
> To: 'dokuwiki@xxxxxxxxxxxxx'
> Subject: problems with feed.php...
> 
> 
> At the very least, this needs applied:
> 
> diff -rN -u old-dokuwiki/feed.php new-dokuwiki/feed.php
> --- old-dokuwiki/feed.php       2006-01-31 08:36:53.734689283 -0600
> +++ new-dokuwiki/feed.php       2006-01-31 08:36:54.732972583 -0600
> @@ -91,6 +91,8 @@
>   */
>  function rssRecentChanges(&$rss,$num,$ltype,$ns,$minor){
>    global $conf;
> +  global $auth;
> +
>    if(!$num) $num = $conf['recent'];
>    $guardmail = ($conf['mailguard'] != '' && 
> $conf['mailguard'] != 'none');
>  
> @@ -148,7 +150,7 @@
>      $item->author = '';
>      
>      if($user){
> -      $userInfo = auth_getUserData($user);
> +      $userInfo = $auth->getUserData($user);
>        $item->author = $userInfo['name'];
>        if($guardmail) {
>          //cannot obfuscate because some RSS readers may 
> check validity
> 
> 
> 
> 
> But that doesn't solve all the problems I'm seeing with it. 
> I'm getting a weird error about the getCacheName routine 
> being undefined, even if I add a require of pageutils.php to 
> the top of feed.php... Any ideas?
> 
> -- Nathan
>  
> ------------------------------------------------------------
> Nathan Neulinger                       EMail:  nneul@xxxxxxx
> University of Missouri - Rolla         Phone: (573) 341-6679
> UMR Information Technology             Fax: (573) 341-4216
> 
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: