DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:listeabo

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:listeabo [2013-11-09 20:16] – [Display fix for Anteater (and newer) versions] haraldplugin:listeabo [2016-01-22 10:44] (current) Aleksandr
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: Affiche la liste des abonnements / Displays the subscription list+description: Displays the subscription list (fr: Affiche la liste des abonnements)
 author     : Etienne M. author     : Etienne M.
 email      : emauvaisfr@yahoo.fr email      : emauvaisfr@yahoo.fr
Line 246: Line 246:
 To re-enable the "good look" you could add the following three lines to your action.php: [[https://github.com/lupo49/plugin-listeabo/commit/ef2fcd1acba9707dd581d0ba12e199f6a4d11564#L0R94|action.php - Line 94-96]]  --- [[user>lupo49|M. S.]] //2011/04/29 20:52// To re-enable the "good look" you could add the following three lines to your action.php: [[https://github.com/lupo49/plugin-listeabo/commit/ef2fcd1acba9707dd581d0ba12e199f6a4d11564#L0R94|action.php - Line 94-96]]  --- [[user>lupo49|M. S.]] //2011/04/29 20:52//
  
-==== Unusable ====+==== To make it work under Angua ==== 
 + 
 +I actually like this plugin but I was only interested in the Admin-part here so no guarantee for the rest of this. \\ 
 +In addition to the digest-patch above some HTML-Escape characters in the .mlist files needed to be replaced. There is probably some function that does this and catches some more escapes, but I do not know it. So the full patch  is: 
 + 
 +<code php> 
 +... 
 +foreach(file($page) as $nom) { 
 +$nom=chop($nom); 
 + 
 +//added code at line 90 
 +// Discard digest information of the line 
 +$digest = strpos($nom, ' '); 
 +if($digest) $nom = substr($nom, 0, $digest); 
 + 
 +$search = array("%5f", "%2d"); 
 +$replace = array("_", "-"); 
 +$nom = str_replace($search, $replace,$nom); 
 +//and added code 
 + ... 
 +</code> 
 + 
 +Also the table layout can be improved, but that's a matter of taste. \\ 
 +You should also have a look at the english lang.php. \\ 
 +Watch out for the hardcoded "doku.php" string in action.php when the URL for pages is constructed in case you renamed that file. 
 + 
 + 
 +==== Required: Remove not existing users from Abo ==== 
 +It would be nice, if there would be a possibility in the admin area of this plugin, to clean the ''.mlist'' files from entries of users, that do not longer exist... Thanks in advance!
  
-Too many problems for Angua and above. But the functionality of administering or just viewing user subscriptions is very basic; I would expect it to be bundled as an admin plugin. 
plugin/listeabo.1384024585.txt.gz · Last modified: 2013-11-09 20:16 by harald

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