plugin:userpagecreate
This is an old revision of the document!
Table of Contents
userpagecreate plugin
Compatible with DokuWiki
2009-12-25+, anteater, rincewind, weatherwax
The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to userpage
Plugin doku and download is available on ICKEwiki.de.
Discussion
- More info please!
- It was nice if you could give some sample configuration. For example, I want the new page to be “user:{$newuserid}:start” – how can I achieve this? — Werner Flamme 2012/07/06 15:02 CEST
- Please note, that the userpage will be created after the first login (not when the user account is set up!)
- Just go to the admin-menu ⇒ configuration ⇒ plugin userpagecreate
- set “plugin userpagecreate target” to “user:”
- set “plugin userpagecreate
targettemplate” to “template:usertemplate:” - create the “template:usertemplate:start” and edit it (see the following code example), use the replacement patterns
====== @NAME@ ====== ===== contact details ===== * Username: @USER@ * Mail: [[@MAIL@]] * Member of this wiki since: @DATE@
- What a pity, it could be a nice feature, but unfortunaly there is no documentation how to configure it or how to use it.
Placing Link in Header Bar
I added the following to the header_tpl.php file at line 47.
//added $pageid = "users:home_" . $INFO['client']; $wlink = wl( $pageid ); echo "<a href='$wlink' class='action'>Userpage </a>"; //end mod
That section now looks like this.
<?php if (!empty($_SERVER['REMOTE_USER'])) { echo '<li class="user">'; tpl_userinfo(); /* 'Logged in as ...' */ //added $pageid = "users:home_" . $INFO['client']; $wlink = wl( $pageid ); echo "<a href='$wlink' class='action'>Userpage </a>"; //end mod echo '</li>'; } tpl_action('admin', 1, 'li'); tpl_action('profile', 1, 'li'); tpl_action('register', 1, 'li'); tpl_action('login', 1, 'li'); ?>
plugin/userpagecreate.1415298428.txt.gz · Last modified: 2014-11-06 19:27 by sf