plugin:userhistory
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:userhistory [2018-06-06 00:20] – Klap-in | plugin:userhistory [2022-09-08 17:59] (current) – [User History Plugin] fiwswe | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : ondras@zarovi.cz | email : ondras@zarovi.cz | ||
type : admin | type : admin | ||
- | lastupdate : 2013-12-15 | + | lastupdate : 2021-02-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, Hogfather, Igor |
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 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 40: | Line 27: | ||
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 == | ||
- | |||
- | 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: | ||
- | < | ||
- | if (strtolower($change[' | ||
- | </ | ||
- | // | ||
- | |||
- | **Warning: this fix may work incorrect in last build Binky - admin pages may be blanked** | ||
- | |||
- | == 15 == | ||
- | |||
- | Small fix for 2014-09-29a " | ||
- | 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, | ||
- | if (!empty($subfiles) && !empty($files)) { | ||
- | $files = array_merge($files, | ||
- | } | ||
- | } | ||
- | } | ||
- | return $files; | ||
- | } | ||
- | </ | ||
- | Download the fixed version [[http:// | ||
- | \\ --- [[user> | ||
== 16 == | == 16 == | ||
Line 179: | Line 33: | ||
A partial fix is to use the [[changes]] plugin and filter by the username, e.g. < | A partial fix is to use the [[changes]] plugin and filter by the username, e.g. < | ||
+ | |||
+ | == 17 == | ||
+ | |||
+ | 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. |
plugin/userhistory.1528237240.txt.gz · Last modified: 2018-06-06 00:20 by Klap-in