DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:userhistory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:userhistory [2013-12-14 22:40]
217.150.76.18 Restoration of correct order of comments
plugin:userhistory [2019-07-07 08:49] (current)
Dr-Yukon
Line 6: Line 6:
 email      : ondras@zarovi.cz email      : ondras@zarovi.cz
 type       : admin type       : admin
-lastupdate : 2007-01-16 +lastupdate : 2019-07-07 
-compatible : 2006-11-06Mulled WineLemmingAnteaterRincewindAnguaAdora BelleWeatherwax, Binky+compatible : WeatherwaxBinkyPonder StibbonsHrunDetritusElenor of TsortFrusterick MannersGreebo
 depends ​   :  depends ​   : 
 conflicts ​ :  conflicts ​ : 
-similar ​   :  +similar ​   : editor 
-tags       : changelog, listing, users, spam, !maybe.broken+tags       : changelog, listing, users, spam
  
-downloadurl: ​http://comicslate.org/_media/wiki/​userhistory.tgz+downloadurl: ​https://github.com/Dr-Yukon/dokuwiki-plugin-userhistory/tarball/​master 
 +bugtracker : https://​github.com/​Dr-Yukon/​dokuwiki-plugin-userhistory/issues 
 +sourcerepo : https://​github.com/​Dr-Yukon/​dokuwiki-plugin-userhistory
 ---- ----
- 
  
 ===== Description ===== ===== Description =====
  
-The User History [[plugins|Plugin]] ​displays all changes done by specified user, in chronological (reversedorder+This plugin ​displays ​a list of all registered users in the admin panel. If you choose a specified user, it displays a list of all changes done by them in reversed ​chronological ​order (limited to 1000 in performance saving purpose).
- +
-__**Download link now lead to (I think sooriginal author versionMD5 sum 1fb4f4b7fafef11d5cb7baaf30783abd**__+
  
 ===== Comments ===== ===== Comments =====
  
-== ==+== ==
  
 This is a very simple hack which might perform very poorly in wikis with a lot of pages ((all //​data/​meta/​*.changes//​ files must be parsed)). Moreover, no user/edit paging is implemented at the moment. This is a very simple hack which might perform very poorly in wikis with a lot of pages ((all //​data/​meta/​*.changes//​ files must be parsed)). Moreover, no user/edit paging is implemented at the moment.
  
-== ! == +== 16 ==
- +
-What are the differences between this and the [[Editor]] plugin?\\ +
---- //​[[gviktor@gmail.c|Viktor Söderqvist]] 2007-01-22 15:41// +
- +
-== ! == +
- +
-**Link generation problem**\\ +
-I have found little problem when using this plugin on my wiki: the link on the "User list" page has been generated as: +
-<​code>​(...)doku.php?​id=start?​do=admin&​page=userhistory&​user=awd</​code>​ +
-(with double '?'​). This links to new "​start_do_admin"​ page instead of history page of user "​awd"​. Looks like you cannot generate link by concatenating with '?'​. Instead you have to check, if there are any '?'​ in base address and use '?'​ or '&'​ accordingly. To achieve this I have added: +
-<​code>​.(strpos(wl($ID),'?'​)?'&​amp;':'?'​).</​code>​ +
-and changed lines 60 and 112 to: +
-<​code>​ +
-$href = wl($ID).(strpos(wl($ID),'?'​)?'&​amp;':'?'​).'​do=admin&​amp;​page='​.$this->​getPluginName().'&​amp;​user='​.hsc($nick);​ +
- +
-$href = wl($ID).(strpos(wl($ID),'?'​)?'&​amp;':'?'​).'​do=admin&​amp;​page='​.$this->​getPluginName();​ +
-</​code>​ +
---- //​[[doderic@wp.pl|Doderic]] 2007-06-12 01:15 CET// +
- +
-== ! == +
- +
-**Link generation problem bis**\\ +
-Same problem with double "?"​ in the link \\ +
-Applied the patch on line 60 and 112 \\ +
-I now have +
-<​code>​Warning:​ Invalid argument supplied for foreach() in ../​wiki/​lib/​plugins/​userhistory/​admin.php on line 72</​code>​ +
-Under PHP Version 5.1.3RC4-dev \\ +
-Any idea?\\ +
-//​2008-02-21//​ +
- +
-== ! == +
- +
-**Link generation problem**\\ +
-I have modified %%"?"​ to "&"​%% in lines 60 and 112 like this; +
-<​code>​ +
-Line 60 +
-$href = wl($ID).'?​do=admin&​amp;​page='​.$this->​getPluginName().'&​amp;​user='​.hsc($nick);​ +
-to +
-$href = wl($ID).'&​do=admin&​amp;​page='​.$this->​getPluginName().'&​amp;​user='​.hsc($nick);​ +
-</​code><​code>​ +
-Line 112 +
-$href = wl($ID).'?​do=admin&​amp;​page='​.$this->​getPluginName();​ +
-to +
-$href = wl($ID).'&​do=admin&​amp;​page='​.$this->​getPluginName();​ +
-</​code>​ +
-and that worked for me ...\\ +
-//​2008-03-04//​ +
- +
-== ! == +
- +
-**date/time formatting**\\ +
-DokuWiki release 2008-05-05 uses strftime() rather than date() so $conf['​dformat'​] is now in strftime() format and hence you need to replace date() with strftime() on line 121.\\ +
---- //​[[paul@tallpaul.org|TallPaul]] 2008-09-19 18:09// +
- +
-== ! == +
- +
-**Dude, changing from ? to & makes the link invalid, thus resulting in a nonexistent page. It's wrong. +
-I've the same problem, haven'​t solved it yet.**\\ +
-<​code>​ +
-Warning: Invalid argument supplied for foreach() in /​www/​wiki/​lib/​plugins/​userhistory/​admin.php on line 72 +
-Warning: array_merge() [function.array-merge]:​ Argument #1 is not an array in /​www/​wiki/​lib/​plugins/​userhistory/​admin.php on line 74 +
-Warning: array_merge() [function.array-merge]:​ Argument #2 is not an array in /​www/​wiki/​lib/​plugins/​userhistory/​admin.php on line 74</​code>​ +
-etc.\\ +
-//​2008-11-02//​ +
- +
-== ! == +
- +
-<​del>​Please provide a fix! +
-Here is a German translation:​ [[http://​drop.io/​userhistoryde|de.zip]] +
-Regards Ferhat D.</​del>​ +
- +
-== ! == +
- +
-**Fixed Version** \\ +
-<​del>​If anyone is interested in a working .zip without the problems mentioned below, [[http://​www.filedropper.com/​userhistory|try this]]\\ +
-//​2010-07-11 15:​34//</​del>​ +
- +
-== ! == +
- +
-<​del>​**Fixed Version with FR lang files** \\  +
-You can download an updated archive of the plugin (bugs fixed) with the FR lang files [[http://​www.charvy.fr/​dokuwiki/​userhistory.tar.gz|here]]. The link below needs flash to be used. +
---- //​[[jc.charvy@gmail.com|Jc Charvy]] 2010-07-27 ​16:31// </​del>​ +
- +
-== ! == +
- +
-**Requirements**\\ +
-What other plugins need to be installed? I cannot get userhistory running at all.\\ +
-Is it even maintained anymore?​\\ +
--- //​137.226.57.168 2011-02-10 19:20// +
- +
-== ! == +
- +
-the version from "​2007-01-16"​ works for my rincewind\\ +
---- [[user>​Erkan Yilmaz|Erkan Yilmaz]] //​2011-08-09 15:58//+
  
-== ! ==+I love this plugin and it's convenient output format but would like to put it on the home page of the user (which I have in :​user:​@USER@) instead of in admin panel. ​ Any way to do this?  I know about the [[Editor]] plugin but I like seeing each change on its own line and the handy one-click diff tool.
  
-I'm using the monobook template ​and this plugin doesn'​t work. On the admin page after I click on User History and it doesn'​t display and user historyOnly a couple headers.\\ +A partial fix is to use the [[changes]] plugin ​and filter by the username, e.g<​code>​{{changes>​user = myname & render = pagelist(header,​ list, firsthl, desc, comments, showlinkbacks)}}<​/code>
-//​2012-05-31 05:58//+
  
-== ==+== 17 ==
  
-There seems to be a problem with the case of user namesso i changed line 92 of admin.php ​to the following:​ +Rework, add admin icon, add new languages, add URL of edited pages, add user-list and edit-list countersapply all patches from comments ## 2-15, replace plugin from my host to Github. Your issues and patches are welcome there. ​ --- [[user>​Dr-Yukon|Rainbow-Spike]] //2019-07-07 08:49//
-<​code>​ +
-if (strtolower($change['user']) == strtolower($user)) { $changes[= $change; } +
-</​code>​ +
-//2013-06-10//+
plugin/userhistory.1387057204.txt.gz · Last modified: 2013-12-14 22:40 by 217.150.76.18