|
From: Seth C. <se...@eu...> - 2001-07-20 03:09:51
|
Reini Urban wrote: > I added this experimentally but I did too much and so it doesn't work. > I also added arbitrary user events to support email notification for a > list of pages. I guess this broke things. > but the user cookie with jeff's user class works fine. > http://xarch.tu-graz.ac.at/home/rurban/acadwiki-1.3.5pre/viewsrc.php?show=li b/userauth.php#src > http://xarch.tu-graz.ac.at/home/rurban/acadwiki-1.3.6pre/viewsrc.php?show=li b/stdlib.php#src I unsuccesfully attempted to diff these with the existing userauth and stdlib files... It's clear that a lot of the changes you made are for the email and notify pieces... but when I attempted to figure out how to make just the cookie work, it didn't and it broke stuff enough that I went back to the original userauth. stdlib didn't seem to need much changing if any. Someone who understands this better than me (not hard) want to take a quick crack at it? It looks as if it isn't a major thing, just set the cookie correctly (via setprefs&userid ) and then read it back. Maybe I'm wrong, but it looks like everything else in stdlib will work so long as a valid userid is there. How much of the auth stuff needs to be there for this? Having anyone be able to sign via RecentChanges is a really nice thing... Adding a single line to UserPreferences such as [Set UserID | phpwiki:?action=setprefs&userid=40()] should be possible, right? Seth |