Extension talk:LastUserLogin/Archive

From mediawiki.org
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).

Error: Undefined index:[edit]

When running this, I get the following error:

Notice: Undefined index: wikidbUserID in C:\Wiki\mediawiki\extensions\SpecialLastUserLogin.php on line 14

Running on IIS 5.0, PHP 5.1, MySQL 3.23, Wiki 1.5.3

---

Thomas - when clicking on the column headers in my wiki the page failed to sort porperly - but returned the user to the wiki home page. I have changed (my line) 120 to the following and this sorts the problem


$out .= '<th '.$style.'><a href="'.$PHPSELF.'?title=Special:LastUserLogin&order_by='.$key.'&order_type='.$ordertype.'">'.wfMsg( $value ).'</a></th>';


Paul Sanderson 13:29, 29 January 2006 (UTC)Reply

Lack in Documentation ? - Where is the page with the User Login Table[edit]

I have installed the extension. But where can i see the User Table with LastLogin Informations now? Theres nothing about that in the extension documentation and i really have no guess

Ok, i found it on my own, there is a link at the end from the list of "special pages"

Bug: changing user privleges changes login status (harmless?[edit]

If you change user priveleges, all those who you change priveleges for (at least adding them to restrict and/or viewrestrict if you have that patch) then they all get counted as logged in in the time, ie 0, even though in fact they did not log in. --202.47.247.116 16:42, 28 March 2006 (UTC) - any way this can be fixed in an update? <mathabaTAKETHISOUT@gmail.com>Reply

---

This may be due to using using user_touched from the user table. I did not want to add another tabel to save the data in. Other extensions may make changes to this field Yazheirx 16:55, 29 March 2006 (UTC)Reply

Bug: (unknown/unspecified) in v1.6[edit]

There are some problems with LastUserLogin in version 1.6. Are this problem known? ---pchott<at>gmail.com

Is the bug now fixed? --Thomas Klein 11:33, 19 July 2006 (UTC)Reply

Sort Order Problem[edit]

Great extension, I have wanted this for a long time - thanks! Unfortunately the sort order links on top (User ID, User Name, etc.) all lead to the homepage when I click on them, even though the address bar url has the following extension:

index.php?order_by=user_name&order_type=DESC

Any ideas would be greatly appreciated - thanks!

I'm having the same problem as above - any resolve yet?

162.135.0.6 17:14, 27 November 2006 (UTC)Reply


blank wiki page syndrome[edit]

peblusto says: i reverted to v1.0.6 after updating to v1.1.0, which gave me the blank wiki page syndrome.
i note discrepancies between locations referred to inside the program:

/extensions/speciallastuserlogin.php

and locations called for in localsettings.php:

/extensions/speciallastuserlogin/speciallastuserlogin.php

i do not know if these cause the blank page. also, doesn't anybody end their php programs with ?> anymore? anyway, it's good to have old, working versions available

here's my wiki setup:

MediaWiki: 1.10.0
PHP: 5.2.2 (apache2handler)
MySQL: 5.0.41-community-nt
Extensions
Special pages
LastUserLogin (version 1.0.6) Displays the last time a user logged in Justin G. Cramer, Danila Ulyanov, Thomas Klein
MultipleUpload Allows users to upload several files at once. Travis Derouin
Parser hooks
Subpage List 2 automatically creates a list of the subpages of a page Martin Schallnahs, Rob Church
Extension functions
wfLastUserLogin, wfUpdateUserTouched, efSubpageList and wfMultipleUpload
Parser extension tags
<subpages> and <pre>
Parser function hooks
int, ns, urlencode, lcfirst, ucfirst, lc, uc, localurl, localurle, fullurl, fullurle, formatnum, grammar, plural, numberofpages, numberofusers, numberofarticles, numberoffiles, numberofadmins, numberofedits, language, padleft, padright, anchorencode, special and defaultsort

i really like this tool and use it to audit email address mistyping among other things. i hope whatever went wrong gets cleaned up - do other people get this working and not make notes here as to what they changed to make it work?

- peblusto 11:14, 18 October 2007 (UTC)Reply

Try this to fix "Blank Wiki Syndrom"[edit]

change
/extensions/SpecialLastUserLogin/SpecialLastUserLogin.php
to
/extensions/SpecialLastUserLogin/LastUserLogin.php

--CPR5855 09:01, 6 November 2010 (UTC)Reply


I have amended the instructions on the extension's page. Now, such problems should not happen. Cheers --[[kgh]] 11:47, 28 October 2011 (UTC)Reply