Forums / Cotonti / Extensions / [Release] Open Comments

Allow guests to comment on your pages

GHengeveld
#26057 2010-09-12 21:38
This is an alternative to the com4guests plugin by esclkm. Because these two plugins are so alike, you should know about the differences and options of the two.

Open Comments allows your guests to post comments on your pages, just like registered users. The only difference is that guest have to provide an email address, and optionally a website address. This is similar to Wordpress. For security, the plugin can use reCAPTCHA. It also has the option to send an email to the administrator when a new guest comment is posted.

How's this different from com4guests?
- Open Comments only supports reCAPTCHA, while com4guests uses the captcha manager plugin so you can pick whichever captcha type you like. However, that does require some additional installation steps and configuration.
- Open Comments stores guest information (email/website) in the comments table. In order to do that it adds two columns to that table. com4guests doesn't store this information at all (just a name, no email or website).

Installation:
- Upload the plugin files
- Go to admin panel and install Open Comments
- If you want to use CAPTCHA, to to reCAPTCHA and register a site. Then go to the Open Comments configuration area and copy your reCAPTCHA keys there.
- Look at the plugin page in the adminpanel for the tags you need to add to comments.tpl

Download here

Example implementation:
<!-- BEGIN: COMMENTS_NEWCOMMENT -->
<form action="{COMMENTS_FORM_SEND}" method="post" name="newcomment">
<h5>Leave a reply:</h5>
<!-- BEGIN: GUEST -->
<p>Your name:<br/>{COMMENTS_FORM_NAME}</p>
<p>Email address:<br/>{COMMENTS_FORM_EMAIL}</p>
<p>Website:<br/>{COMMENTS_FORM_SITE}</p>
<p>{COMMENTS_FORM_CAPTCHA}</p>
<!-- END: GUEST -->
<p>Comment:<br/><textarea name="rtext" rows="5" cols="100">{PHP.rtext}</textarea></p>
<p><input type="submit" value="{PHP.L.Submit}" /></p>
</form>
<!-- END: COMMENTS_NEWCOMMENT -->

Dit bericht is bewerkt door Koradhil (2010-10-27 17:52, 14 jaren ago)