#285 Increasing the usability of XOOPS comments: one TIP and one

open
nobody
None
5
2012-09-25
2008-06-11
No

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}>


Please login to comment!

<{/if}>

I tested it in the article module by inserting the lines above in the template article_article.html , just before:


<{$commentsnav}>
<{$lang_notice}>

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.

Discussion


Log in to post a comment.