DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:usersubscriptions

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
Both sides next revision
plugin:usersubscriptions [2011-04-04 10:25]
213.150.1.132 [2009-11-30]
plugin:usersubscriptions [2021-04-20 19:05] (current)
Dr-Yukon
Line 1: Line 1:
-====== usersubscriptions plugin ======+====== usersubscriptions Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: allows connected user to see which pages / namespaces he have subscribed to and to subscribe or unsubscribe in a quick way+description: Allows connected users to see which pages / namespaces they have subscribed to and to subscribe or unsubscribe in a quick way
 author     : Etienne Meleard author     : Etienne Meleard
 email      : etienne.meleard@free.fr email      : etienne.meleard@free.fr
Line 13: Line 13:
 tags       : subscription listing syntax tags       : subscription listing syntax
  
-downloadurl: http://dokuwiki.yent.eu/usersubscriptions.zip+downloadurl: https://trello-attachments.s3.amazonaws.com/5af4815352fa15728c62aaae/5d503d902dd91087fcb95e97/3b886f7022eedd08271de220d547829c/usersubscriptions.zip
 bugtracker :  bugtracker : 
 sourcerepo :  sourcerepo : 
 donationurl:  donationurl: 
 +
 +screenshot_img: 
 ---- ----
  
 ===== Description ===== ===== Description =====
  
-The Syntax [[plugins|Plugin]] allows to display the subscription list of the current user. It can display list for a specific namespace, the current namespace or all namespaces. In addition, it provides a quick way to subscribe or unsubscribe.+The Syntax Plugin allows to display the subscription list of the current user. It can display list for a specific namespace, the current namespace or all namespaces. In addition, it provides a quick way to subscribe or unsubscribe.
  
-//2009-01-27 Added ACL check for quick subscribe dropdown filling//\\  +  * 2010-09-24merged some patches (thx to "MR") and fixed caching issue 
-//2009-01-26 : inherited subscription display option added, recursive parent subscription check fixed//\\  +  2009-09-15: added template for easy styling, fixed some bugs (img paths...) and added regexp based item exclusion (for _template, sidebar...) 
-//2009-09-15 : added template for easy styling, fixed some bugs (img paths ...) and added regexp based item exclusion (for _template, sidebar ...)//\\  +  * 2009-01-27Added ACL check for quick subscribe dropdown filling 
-//2010-09-24 merged some patches (thx to "MR") and fixed caching issue//\\ +  * 2009-01-26: inherited subscription display option added, recursive parent subscription check fixed
  
-//En, De, Pt, Es and Fr lang files included, translations are welcome ...//\\ +//En, De, Pt, Es and Fr lang files included, translations are welcome...//
  
 //**Many thanks to Thomas and Mark for the De lang file, to RC for Pt lang file and to Federico for Es lang file**// //**Many thanks to Thomas and Mark for the De lang file, to RC for Pt lang file and to Federico for Es lang file**//
Line 36: Line 38:
   <usersubscriptions [ns] [r[=[N]]] [deletelink] [quicksubscribe] [displayinheritedsubscriptions] />   <usersubscriptions [ns] [r[=[N]]] [deletelink] [quicksubscribe] [displayinheritedsubscriptions] />
  
-  * [ns] base namespace, MUST BE PRESENT IF OTHER OPTIONS ARE USED\\ Can be either empty or . for targeting the current namespace,\\ * for targeting all namespaces or a specific namespace\\ (must be absolute) +  * ''[ns]'' --- base namespace, MUST BE PRESENT IF OTHER OPTIONS ARE USED.\\ Can be either empty or\\ ''.'' for targeting the current namespace,\\ ''*'' for targeting all namespaces or a specific namespace (must be absolute) 
-  * [r[=[N]]] recursive option, if only "ror "r=are mentioned the\\ maximum depth is infinite, if a number is passed it indicates\\ how much successive namespaces will be explored\\ (ex : r=0 means only the current namespace, r=3 means 3 levels in depth) +  * ''[r[=[N]]]'' --- recursive option, if only ''r'' or ''r='' are mentioned the maximum depth is infinite, if a number is passed it indicates how much successive namespaces will be explored (ex.''r=0'' means only the current namespace, ''r=3'' means 3 levels in depth) 
-  * [deletelink] if present a link to unsubscribe is displayed +  * ''[deletelink]'' --- if present a link to unsubscribe is displayed 
-  * [quicksubscribe] if present a form is displayed to allow the user\\ to quick-subscribe +  * ''[quicksubscribe]'' --- if present a form is displayed to allow the user to quick-subscribe 
-  * [displayinheritedsubscriptions] if present elements that are subscribed\\ because the user subscribed to a parent namespace.+  * ''[displayinheritedsubscriptions]'' --- if present elements that are subscribed because the user subscribed to a parent namespace.
  
  
 ===== 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.
  
-  * [[http://dokuwiki.yent.eu/usersubscriptions.zip]]+  * [[https://trello-attachments.s3.amazonaws.com/5af4815352fa15728c62aaae/5d503d902dd91087fcb95e97/3b886f7022eedd08271de220d547829c/usersubscriptions.zip|usersubscriptions.zip]]
  
 ==== Translations ==== ==== Translations ====
  
 ===== Screenshot ===== ===== Screenshot =====
-   Generated by putting <usersubscriptions * r deletelink quicksubscribe /> in the page. 
  
-{{ http://dokuwiki.yent.eu/usersubscriptions_screenshot.png?nocache }}+Generated by putting ''<usersubscriptions * r deletelink quicksubscribe />'' in the page. 
 + 
 +{{ https://trello-attachments.s3.amazonaws.com/5af4815352fa15728c62aaae/5d503d902dd91087fcb95e97/94da646037bba57eebd3b2bbee011665/usersubscriptions_screenshot.png }}
  
 ===== Discussion ===== ===== Discussion =====
 +
 ==== 2009-05-01 ==== ==== 2009-05-01 ====
 +
   * "src" values for <img> elements are broken for any site that has a non-default directory structure.  For example we have DokuWiki installed to /wiki instead of /.   * "src" values for <img> elements are broken for any site that has a non-default directory structure.  For example we have DokuWiki installed to /wiki instead of /.
   * A similar problem exists for the URL of a background element in the style.css file.   * A similar problem exists for the URL of a background element in the style.css file.
Line 191: Line 196:
 Did you add NOCACHE to the page? Did you add NOCACHE to the page?
 >no, I didn't - it works properly after including a <code>~~NOCACHE~~</code> to the page - thx! >no, I didn't - it works properly after including a <code>~~NOCACHE~~</code> to the page - thx!
 +
 ==== 2010-09-24 ==== ==== 2010-09-24 ====
  
Line 221: Line 227:
     return false;     return false;
   }   }
 +  
 It should probably be more proper to work on a patch that will use the new Dokuwiki functions, but I don't have enough time at now. It should probably be more proper to work on a patch that will use the new Dokuwiki functions, but I don't have enough time at now.
 > Hope this help, waiting for a better solution > Hope this help, waiting for a better solution
-> MR //(2010-12-08) +> MR (2010-12-08) 
-\\ + 
-\\ +**Thank you very much, it works fine now! thumbup** 
-**Thank you very much, it works fine now! *thumbup***+ 
 + 
 +==== 2014-04-04 ====
  
 +I have installed this plug in, yet now this appears
 +  Fatal error: Call to undefined function is_subscribed() 
 +  in lib\plugins\usersubscriptions\syntax.php on line 178
 +Can someone help me please?
plugin/usersubscriptions.1301905546.txt.gz · Last modified: 2011-04-04 10:25 by 213.150.1.132