Page 1 of 1
Controlling guest posting on the Blogs
Posted: Sun Apr 13, 2008 9:42 pm
by Caesonia
Hi all. i don't know if I simply was blind and missed it, but I want to prevent guest posters from the Blog module. I didn't see an option to click, such as in the forums made simple area. However for this site, I really don't want guests to be able to leave comments. People have to be willing to sign up for the most basic of membership. this keeps a basic handle on the trolls.
Does anyone have any suggestions on how to handle this?
Calguy?
TIA
Caesonia
Re: Controlling guest posting on the Blogs
Posted: Sun Apr 13, 2008 11:24 pm
by calguy1000
use the frontend users module, and CustomContent and modify the appropriate templates so that only logged in users can see the form that allows adding comments.
I don't use the blog module so I can't be more specific than that.
Re: Controlling guest posting on the Blogs
Posted: Tue May 20, 2008 9:36 pm
by billandsonia
Not sure if this is what you're looking for, but this is what I changed my Comment Form Template to:
Code: Select all
{if $customcontent_loggedin > 0}
{$formstart}
<div class="blogs-addcommentlabel">{$authortext}:</div>
<div class="blogs-addcommentinput">{$authorinput}</div>
<div class="blogs-addcommentlabel">{$commenttext}:</div>
<div class="blogs-addcommentinput">
{$commentinput}
</div>
{if $captchatext!=""}
<div class="blogs-addcommentlabel">{$captchatext}</div>
<div class="blogs-addcommentinput">{$captchagraphic}{$captchainput}</div>
{/if}
<div class="blogs-addcommentlabel"> </div>
<div class="blogs-addcommentinput">{$submit}</div>
{$formend}
{else}
<p>Registered users may add comments.</p>
{/if}
This shows comments to everyone, but doesn't show the comment input section unless the user is logged in at the front end. I've been trying to get some help in automatically assigning the login name as the author of the comment, but no one has yet answered my post for help. But maybe this suggestion will be of use to you, and if I find the answer to the second part I'll pass that along also.