|
From: SourceForge.net <no...@so...> - 2008-06-11 20:56:55
|
Feature Requests item #1991274, was opened at 2008-06-11 16:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430843&aid=1991274&group_id=41586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: beckmi (beckmi) Assigned to: Nobody/Anonymous (nobody) Summary: Increasing the usability of XOOPS comments: one TIP and one Initial Comment: 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}> <div style="text-align: center; padding: 3px; margin:3px;"> Please <a href="http://www.example.com/user.php">login</a> to comment! </div> <{/if}> I tested it in the article module by inserting the lines above in the template article_article.html , just before: <div style="text-align: center; padding: 3px; margin:3px;"> <{$commentsnav}> <{$lang_notice}> </div> 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430843&aid=1991274&group_id=41586 |