plugin:usersubscriptions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:usersubscriptions [2010-09-24 09:46] – [Description] 195.220.94.89 | plugin:usersubscriptions [2018-06-06 00:21] – Klap-in | ||
---|---|---|---|
Line 12: | Line 12: | ||
similar | similar | ||
tags : subscription listing syntax | tags : subscription listing syntax | ||
- | ---- | ||
- | ^ Download | [[http:// | + | downloadurl: |
+ | bugtracker : | ||
+ | sourcerepo : | ||
+ | donationurl: | ||
+ | ---- | ||
===== Description ===== | ===== Description ===== | ||
- | The Syntax | + | 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. |
// | // | ||
// | // | ||
// | // | ||
- | // | + | // |
//En, De, Pt, Es and Fr lang files included, translations are welcome ...// | //En, De, Pt, Es and Fr lang files included, translations are welcome ...// | ||
Line 49: | Line 52: | ||
===== Screenshot ===== | ===== Screenshot ===== | ||
- | Generated by putting < | + | Generated by putting < |
{{ http:// | {{ http:// | ||
Line 187: | Line 190: | ||
--------------- | --------------- | ||
Did you add NOCACHE to the page? | Did you add NOCACHE to the page? | ||
+ | >no, I didn't - it works properly after including a < | ||
==== 2010-09-24 ==== | ==== 2010-09-24 ==== | ||
Included all patches, block now shows where it is expected to ... Also moved cache disabling line a bit upper, because when user disconnected, | Included all patches, block now shows where it is expected to ... Also moved cache disabling line a bit upper, because when user disconnected, | ||
+ | |||
+ | ==== 2010-12-05 ==== | ||
+ | |||
+ | After an Dokuwiki-upgrade to the newest version (Anteater) i get an error, when i want to open the subscription-page. | ||
+ | "Fatal error: Call to undefined function is_subscribed() in / | ||
+ | Is there a new Plugin-Version on the horizon or can you help me? | ||
+ | |||
+ | > Indeed the is_subscribed() function has disappeared from Dokuwiki (it was used through an include inside the plugin). | ||
+ | > A quick " | ||
+ | > Below a copy of the code coming from the former release of Dokuwiki | ||
+ | function is_subscribed($id, | ||
+ | if(!$ns) { | ||
+ | $file=metaFN($id,' | ||
+ | } else { | ||
+ | if(!getNS($id)) { | ||
+ | $file = metaFN(getNS($id),' | ||
+ | } else { | ||
+ | $file = metaFN(getNS($id),'/ | ||
+ | } | ||
+ | } | ||
+ | if (@file_exists($file)) { | ||
+ | $mlist = file($file); | ||
+ | $pos = array_search($uid." | ||
+ | return is_int($pos); | ||
+ | } | ||
+ | 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. | ||
+ | > Hope this help, waiting for a better solution | ||
+ | > MR (2010-12-08) | ||
+ | |||
+ | **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.txt · Last modified: 2023-12-17 21:29 by Aleksandr