is there any way to edit a user's role history? for example, we recently went through a bunch of role streamlining, deleting some, folding some into others, renaming some, and currently everybody's role history is a giant mess of 8 or so changes, with notes. it looks a little silly, and it'd be nice to just have the end result displayed, without the intermediate steps. i imagine this has more to do with editing the database somewhere, but i figured this was a good a place to ask as any.
A really simple hack would be to move the brace that ends the while loop to the top. This will effectively skip through all database rows and leave only the last one to be displayed. You can do this by typing three characters:
On line 46, you should see this (code you need to add in red):
while ($Row = $this->Context->Database->GetRow($this->History)) { }
uh oh, i've run into a spot of trouble. using the hack suggested above, it does indeed only display one role history for everybody. unfortunately, they all read like this:
Role history
(Dec 31st 1969)
Role assigned by Applicant with the following notes:
what do i have to change to show EVERY role change? (even the Unauthenticated role!) i think the Unauthenticated role should be even part of a complete history - right?
so please tell me what to change so the pending Unauthenticated role will also show up.
Unauthenticated is king of a pseudo-role. No users ever actually have that role cause as soon as they become a user they get assigned into a real role...
mhhh, could you anyway check the few lines of code to tell me if its possible to also show up the "fake-role"?
that should basicly be possible to change in between the source code but i do not know how :(
would be nice if you help me. thx!
please check http://lussumo.com/community/account.php?u=52 ;)
Unauthenticated (Feb 13th 2005)
Role assigned by Applicant with the following notes:
Registration pending administrative approval.
i want the same ...
so everyone is able to see WHEN a user signed up and WHEN he got aproved.
who can help and tell me what to edit in the addon?
thx
eugen
Comments
thanks!
On line 46, you should see this (code you need to add in red):
while ($Row = $this->Context->Database->GetRow($this->History)) { }
and comment out the end brace on line 65thanks!
Role history
(Dec 31st 1969)
Role assigned by Applicant with the following notes:
any ideas?
what do i have to change to show EVERY role change? (even the Unauthenticated role!)
i think the Unauthenticated role should be even part of a complete history - right?
so please tell me what to change so the pending Unauthenticated role will also show up.
thanks a lot!
then please check THIS ONE
Unauthenticated (Feb 13th 2005)
Role assigned by Applicant with the following notes:
Registration pending administrative approval.
i want the same ...
so everyone is able to see WHEN a user signed up and WHEN he got aproved.