OK, here are the two log files I created:

[Only registered and activated users can see links. ]

[Only registered and activated users can see links. ]

If anyone can improve either into a fully working version, please post. Thanks