plugin:userhistory
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:userhistory [2014-11-02 02:48] – [Comments] bugmenot2 | plugin:userhistory [2019-07-07 08:47] – Dr-Yukon | ||
---|---|---|---|
Line 3: | Line 3: | ||
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
- | author | + | author |
- | email : ondras@zarovi.cz | + | email : ondras@zarovi.cz, rainbow_spike@derpy.ru |
type : admin | type : admin | ||
- | lastupdate : 2013-12-15 | + | lastupdate : 2019-07-07 |
- | compatible : 2006-11-06, Mulled Wine, Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky | + | compatible : Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : changelog, listing, users, spam, !maybe.broken | + | tags : changelog, listing, users, spam |
- | downloadurl: | + | downloadurl: |
+ | bugtracker : https:// | ||
+ | sourcerepo : https:// | ||
---- | ---- | ||
- | |||
===== Description ===== | ===== Description ===== | ||
- | The User History [[plugins|Plugin]] | + | This plugin |
- | + | ||
- | ===== From current plugin archive' | + | |
- | + | ||
- | __**Archive' | + | |
- | + | ||
- | Comments 3-5, 7: I don't see this problem on my site, so archive don't have these fixes. | + | |
- | + | ||
- | Comment 6: TIME FIX APPLIED | + | |
- | + | ||
- | Comments 8-10: Links are obsolete, but I add language files for " | + | |
- | + | ||
- | Comment 11: Yes, but I just clean up this page and plugin archive. I don't know PHP really | + | |
- | + | ||
- | Comment 14: _casefix/ | + | |
===== Comments ===== | ===== Comments ===== | ||
Line 41: | Line 28: | ||
This is a very simple hack which might perform very poorly in wikis with a lot of pages ((all // | This is a very simple hack which might perform very poorly in wikis with a lot of pages ((all // | ||
- | == 2 == | + | == 16 == |
- | + | ||
- | What are the differences between this and the [[Editor]] plugin?\\ | + | |
- | --- // | + | |
- | + | ||
- | == 3 == | + | |
- | + | ||
- | **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: | + | |
- | < | + | |
- | (with double '?' | + | |
- | < | + | |
- | and changed lines 60 and 112 to: | + | |
- | < | + | |
- | $href = wl($ID).(strpos(wl($ID),'?' | + | |
- | + | ||
- | $href = wl($ID).(strpos(wl($ID),'?' | + | |
- | </ | + | |
- | --- // | + | |
- | + | ||
- | == 4 == | + | |
- | + | ||
- | **Link generation problem bis**\\ | + | |
- | Same problem with double "?" | + | |
- | Applied the patch on line 60 and 112 \\ | + | |
- | I now have | + | |
- | < | + | |
- | Under PHP Version 5.1.3RC4-dev \\ | + | |
- | Any idea?\\ | + | |
- | // | + | |
- | + | ||
- | == 5 == | + | |
- | + | ||
- | **Link generation problem**\\ | + | |
- | I have modified %%"?" | + | |
- | < | + | |
- | Line 60 | + | |
- | $href = wl($ID).'? | + | |
- | to | + | |
- | $href = wl($ID).'& | + | |
- | </ | + | |
- | Line 112 | + | |
- | $href = wl($ID).'? | + | |
- | to | + | |
- | $href = wl($ID).'& | + | |
- | </ | + | |
- | and that worked for me ...\\ | + | |
- | // | + | |
- | + | ||
- | == 6 == | + | |
- | + | ||
- | **date/time formatting**\\ | + | |
- | DokuWiki release 2008-05-05 uses strftime() rather than date() so $conf[' | + | |
- | --- // | + | |
- | + | ||
- | == 7 == | + | |
- | + | ||
- | **Dude, changing from ? to & makes the link invalid, thus resulting in a nonexistent page. It's wrong. | + | |
- | I've the same problem, haven' | + | |
- | < | + | |
- | Warning: Invalid argument supplied for foreach() in / | + | |
- | Warning: array_merge() [function.array-merge]: | + | |
- | Warning: array_merge() [function.array-merge]: | + | |
- | etc.\\ | + | |
- | // | + | |
- | + | ||
- | == 8 == | + | |
- | + | ||
- | < | + | |
- | Here is a German translation: | + | |
- | Regards Ferhat D.</ | + | |
- | + | ||
- | == 9 == | + | |
- | + | ||
- | **Fixed Version** \\ | + | |
- | < | + | |
- | // | + | |
- | + | ||
- | == 10 == | + | |
- | + | ||
- | < | + | |
- | You can download an updated archive of the plugin (bugs fixed) with the FR lang files [[http:// | + | |
- | --- // | + | |
- | + | ||
- | == 11 == | + | |
- | + | ||
- | **Requirements**\\ | + | |
- | What other plugins need to be installed? I cannot get userhistory running at all.\\ | + | |
- | Is it even maintained anymore? | + | |
- | -- // | + | |
- | + | ||
- | == 12 == | + | |
- | + | ||
- | the version from " | + | |
- | --- [[user> | + | |
- | + | ||
- | == 13 == | + | |
- | + | ||
- | I'm using the monobook template and this plugin doesn' | + | |
- | // | + | |
- | + | ||
- | == 14 == | + | |
- | There seems to be a problem with the case of user names, so i changed line 92 of admin.php to the following: | + | 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 : |
- | < | + | |
- | if (strtolower($change[' | + | |
- | </ | + | |
- | //2013-06-10// | + | |
- | **Warning: this fix may work incorrect in last build Binky - admin pages may be blanked** | + | A partial |
- | == 15 == | + | == 17 == |
- | Small fix for 2014-09-29a " | + | Rework, add admin icon, add new languages, add URL of edited pages, add user-list and edit-list counters, apply all patches from comments ## 2-15, replace plugin from my host to Github. Your issues and patches are welcome there. |
- | Change function globr definition at line 56 in admin.php to this: | + | |
- | < | + | |
- | function globr($dir, $pattern) { | + | |
- | $files = glob($dir.'/' | + | |
- | $subdirs = glob($dir.'/ | + | |
- | if (!empty($subdirs)) { | + | |
- | foreach ($subdirs as $subdir) { | + | |
- | $subfiles = globr($subdir, $pattern); | + | |
- | if (!empty($subfiles) && !empty($files)) { | + | |
- | $files = array_merge($files, $subfiles); | + | |
- | } | + | |
- | } | + | |
- | } | + | |
- | return $files; | + | |
- | } | + | |
- | </ | + | |
- | Download the fixed version [[http:// | + | |
- | \\ --- [[user> | + |
plugin/userhistory.txt · Last modified: 2022-09-08 17:59 by fiwswe