Require valid login for visit

This will automatically lead to IMVU's login page (and directly back to your avatar page) when the visitor is not logged in. If this causes any troubles for you accessing your own page go to the safe mode and take off the code.

Since this codes uses your links to get your avatarId you MAY not hide the top-links from your page (including the Block, Report links).

This code snippet was originally contributed by Prôductions Imvu. Go to the author' imvu website.