http://www.xoops.org/modules/newbb/viewtopic.php?post_id=290742#forumpost290742
From: http://www.howtodude.net/howto/view.article.php/281
Aim:
Increase the usability of your XOOPS site by showing a "Please login to comment" message below your articles to people who are not logged in on your site.
How to add a "Please log in to comment" message to a XOOPS site:
Back up your XOOPS site
Find the template of articles for the module that you use by browsing in Admin > System Admin > Templates. Click on Edit to open your template.
Insert something like this:
<{if !$xoops_isuser}>
I tested it in the article module by inserting the lines above in the template article_article.html , just before:
Note that I used the same div to make it fit in the layout. Of course you can adapt the message to something that fits to your site.