DokuWiki

It's better when it's simple

User Tools

Site Tools


config:showuseras

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:showuseras [2014-03-23 12:34] achconfig:showuseras [2022-01-27 00:47] (current) Klap-in
Line 10: Line 10:
   * ''loginname'': User's login name   * ''loginname'': User's login name
   * ''username'': User's full name   * ''username'': User's full name
-  * ''username_link'': User's full name as interwiki user link [[devel:develonly]]+  * ''username_link'': User's full name as interwiki user link
   * ''email'': Email address (will be obfuscated as per [[mailguard]])   * ''email'': Email address (will be obfuscated as per [[mailguard]])
   * ''email_link'': Email address as a mailto: link (obfuscated)   * ''email_link'': Email address as a mailto: link (obfuscated)
Line 17: Line 17:
 :!: Please note that other settings than default may give performance penalties in combination with authentication plugins like [[plugin:authAD]] plugin. :!: Please note that other settings than default may give performance penalties in combination with authentication plugins like [[plugin:authAD]] plugin.
  
-==== Configuring the user interwiki link ==== +==== Modifying the user interwiki link ==== 
-[[devel:develonly]]+Default the ''username_link'' option uses the ''user'' interwiki link. This interwiki link refers to the page '':user:<loginname>''. See [[:interwiki#Configuring interwiki shortcuts]] for how to modify this link target (e.g. for dokuwiki.org the user profiles are on the forum: [[user>Example User]]).
  
-Default the ''username_link'' option uses the ''user'' interwiki link. This interwiki link refers to '':user:<loginname>''. See [[:interwiki#Configuring interwiki shortcuts]] for how to modify this link target.+When you develop a plugin or template, you can use the event trigger around the interwiki link creating, to modify the result link or replace it by your own mechanism. See the [[devel:event:COMMON USER LINK]] event for development info.
  
 ===== See also ===== ===== See also =====
Line 60: Line 60:
 </code> </code>
 A drawback to this technique is that it will have to be repeated each time the template is updated. A drawback to this technique is that it will have to be repeated each time the template is updated.
 +
 +==== Want to hide IP address? ====
 +If you just want to hide the IP address of the poster from the bottom of the page, you can consider using [[plugin:hidingip|Hiding IP Plugin]].
 +
config/showuseras.1395574470.txt.gz · Last modified: 2014-03-23 12:34 by ach

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