DokuWiki

It's better when it's simple

User Tools

Site Tools


config:showuseras

This is an old revision of the document!


Configuration Setting: showuseras

What to display when showing the user that last edited a page. Used in page footer and recent changes pages.

  • 'loginname' users login name
  • 'username' users full name
  • 'email' e-mail address (will be obfuscated as per mailguard)
  • 'email_link' e-mail address as a mailto: link (obfuscated)
  • Type: String
  • Default: loginname

:!: Please note that other settings than default may give performance penalties in combination with authentication backends like ad.

Anonymous posting

In wiki/inc/template.php, search for function tpl_pageinfo($ret=false){ . Under that look for the following code.

   if($INFO['editor']){
     $out .= ' '.$lang['by'].' ';
     $out .= editorinfo($INFO['editor']);
   }else{
     $out .= ' ('.$lang['external_edit'].')';
   }

Delete or comment it out by adding the PHP comment code /* */ shown below

 /*    if($INFO['editor']){
         $out .= ' '.$lang['by'].' ';
         $out .= editorinfo($INFO['editor']);
       }else{
         $out .= ' ('.$lang['external_edit'].')';
       } */

If successful, the name or IP address of the poster will not show at the bottom of the page.

See also

config/showuseras.1268140230.txt.gz · Last modified: 2010-03-09 14:10 by 195.35.72.170

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki