Hey eva2000; this is an awesome hack! JUST what I was looking for.
However, if you could, I'd like to see an IP logging function, where all IP addresses are logged to a PHP/text file in the /admin/ directory.
This would be a wonderful feature, in my opinion, and I hope you can make it possible

.
Dave.
PS: If not, then I might attempt myself. In which case, how do you return an ip/hostname?