DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:showinitpage

This is an old revision of the document!


showinitpage plugin

Compatible with DokuWiki

2009-02-14

plugin If access to a page is denied (i.e. user not logged in), redirect to a defined page.

Last updated on
2010-04-08
Provides
Action

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with login, redirect

What is it

This little Plugin is useful for wikis with several access levels. Users with privileges for subnamespaces don't see the “Access denied” page after login, but are redirected to a “welcome” page (conf['initpage']), which can be set in configurations.

Download and Installation

Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.

tar gz:
showinitpage-2010-04-08.tgz

zip:
showinitpage-2010-04-08.zip

Usage

Install the plugin and SET A DESTINATION FOR REDIRECTION in the configuration section for this plugin

Caution: Don't redirect to a page where a user doesn't have read privileges! This leads to a nice ;-) loop, as the plugin triggers a redirect on the attempt of a user to access a page he/she has no read-access for…

Solution: (only solution) the initpage must be a page ALL potential users have read privileges. So first thing to do is: set the 'initpageurl' value in the config-section for this plugin to something meaningful before logging out.

Comments

-2010-04-08
Gracias, M.Howard did an important modification. Such that search requests by users without top-level permissions are no longer wrongly redirected to initpageurl.

- 2012-07-12
We added support to redirect only the startpage (any other namespaces will show Access denied) and cleaned up the code. If anyone is interested: http://anonymous@subversion.fem.tu-ilmenau.de/websvn/wsvn/dokuwiki/showinitpage/ (user: anonymous, no password required). Comments are welcome… (mape2k)

plugin/showinitpage.1344421140.txt.gz · Last modified: 2012-08-08 12:19 by mape2k · Currently locked by: 18.118.137.243

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