Someone in the forums was looking for a way for registered users to leave comments on a page, for all to see. v0.1 as but a simple 'hack' of the Guestbook module that only displayed anything if someone was logged in. It now allows comments to show publically, but still need to be registered & logged-in to leave a comment (this option is currently turned ON).
User Comments v0.1 |
| Posted by rportinga (panther) on [DATE] at [TIME] |
| User Comments >> Module Updates |
v0.1 June 07, 2007
Code Changes
- removed everything but comment field from the form, username is inserted automatically.
- changed all references from guestbook to comments for functions, variables, etc.
- modified code to use $module_directory variable
- added code to view.php so output is only visible if you are logged in.
This is all based on v1.9 of the Guestbook Module by
Philipp M. Dolder, Bennie Wijs, Ruebenwurzel, Woudloper, Bonkie, YeShakka
Still to do:
- remove unused fields from database table
- remove all code for Captcha verification, not needed since only visible to registered users.
- maybe: add option to use display_name vs username
- further clean up admin side of things
- update other language files
| guest | Mar 05 2008 5:14 PM |
| Tested again, | |
| guest | Mar 03 2008 12:11 PM |
| Testing 123 | |
| guest | Jan 24 2008 2:56 PM |
You can log in using "guest" as both the username and password to see the User Comments section show up. You can also download this module for your own use.