DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:showinitpage

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
plugin:showinitpage [2010-01-13 13:05] – created 193.170.194.18plugin:showinitpage [2024-02-07 22:38] (current) Aleksandr
Line 1: Line 1:
-====== showinitpage plugin ======+====== showinitpage Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: If access to a page is denied (i.e. user not logged in), rediect to a defined page.+description: If access to a page is denied (i.e. user not logged in), redirect to a defined page
 author     : STADTWERKSTATT, Target  author     : STADTWERKSTATT, Target 
 email      : target@servus.at email      : target@servus.at
 type       : action type       : action
-lastupdate : 2010-01-13 +lastupdate : 2020-12-01 
-compatible : 2009-02-14+compatible : Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : redirect, login, access +tags       : redirect, login
  
-downloadurl: http://develop.servus.at/software/showinitpage-2010-01-13.tgz +downloadurl: https://github.com/tillbiskup/dokuwiki-showinitpage/archive/master.zip 
-bugtracker : # eg. http://github.com//dokuwiki-plugin-showinitpage/issues +bugtracker :  
-sourcerepo : # eg. http://github.com//dokuwiki-plugin-showinitpage/+sourcerepo : https://github.com/tillbiskup/dokuwiki-showinitpage
 donationurl:  donationurl: 
----- 
  
-===== Show Init Page Plugin =====  +screenshot_img
- +
----- plugin ---- +
-descriptionIf access to a page is denied (i.e. user not logged in), rediect to a defined page. +
-author     : STADTWERKSTATT, Target  +
-email      : target@servus.at +
-type       : action +
-lastupdate : 2009-06-02 +
-compatible : 2009-02-14 +
-depends    :  +
-conflicts  :  +
-similar    :  +
-tags       : redirect, login, access +
 ---- ----
  
 ===== What is it ===== ===== What is it =====
-This little Plugin is useful for wikis with several access levels.  + 
-Users with privilegs 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. +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 Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-tar gz:\\ +  * [[https://github.com/tillbiskup/dokuwiki-showinitpage/archive/master.zip]]
-[[http://develop.servus.at/software/showinitpage-2010-01-13.tgz|showinitpage-2010-01-13.tgz]]+
  
-zip:\\ 
-[[http://develop.servus.at/software/showinitpage-2010-01-13.zip|showinitpage-2010-01-13.zip]] 
  
 +==== Fork by mape2k ====
 +
 +  * [[http://subversion.fem.tu-ilmenau.de/websvn/wsvn/dokuwiki/showinitpage/]]
 +    * [[https://trello.com/1/cards/5b02ff298cf1cf6fc11aaec7/attachments/5b02ff419859f27bc2eb976e/download/showinitpage-by-mape2k.zip|showinitpage-by-mape2k.zip]]
 +
 +
 +==== GitHub ====
 +
 +  * [[https://github.com/tillbiskup/dokuwiki-showinitpage]]
 +    * Compatible with Hogfather
  
 ===== Usage ===== ===== Usage =====
-Install a the plugin an SET A DESTINATION FOR REDIRECTION in the configuration section for this plugin 
  
-Caution: dont redirect to a page a user doesn't have read privilegs!! 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...+Install the plugin and SET A DESTINATION FOR REDIRECTION in the configuration section for this plugin. 
 + 
 +:!: **Caution:** Don'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.
  
-Solution: (only solution) the initpage must be a page ALL potential users have read privilegs. +===== Comments =====
-So first thing to do is: set the 'initpage' value in the config-section for this plugin to something meaningful before logging out.+
  
 +-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://subversion.fem.tu-ilmenau.de/websvn/wsvn/dokuwiki/showinitpage/]]. Comments are welcome... //mape2k//
  
 +-2013-05-25\\ 
 +Not working under DokuWiki version: Release 2013-05-10 "Weatherwax" <sub>//Joe, 2013-05-25//</sub>
  
 +- 2020-12-01\\
 +Compatible with Release 2020-07-29 "Hogfather", License: GPLv3 --- [[user>tbiskup|tbiskup]] //2020-12-01 19:40//
plugin/showinitpage.1263384350.txt.gz · Last modified: 2010-01-13 13:05 by 193.170.194.18

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