List Info

Thread: Some Comment Moderation Questions




Some Comment Moderation Questions
user name
2006-07-28 20:08:26
1.) Even though this seems to be a fairly frequent archive
item, I'm not
having any success with the mentioned fixes for a lack of
email
notification of new comments.  I'm running Blojsom 2.30 w/
Tomcat.  I've
turned on comment moderation and it seems to be working as
my test
comments show up in the for-approval form.  But no email
received (and
no entry for it in the Sendmail log). I'm specifying a
working smtp host
in WEB-INF. Here's, in relevant part, my plugin chain:

...comment-moderation, math-comment-moderation, comment,
trackback,
sendemail...   (any sequencing issues here?)

What am I missing?


2.) I'm not a Vortex wiz, and I'm having
"blank-screen" type problems
wherever I try to paste the 
"#foreach ($entryComment in $entry.getComments())
[etc.]" language
that's supposed to separate the unapproved comments.  My
main template
parses cphi.blog.entries.inc.  

Does somebody have an example that better illustrates where
the language
is supposed to go in context?


Thanks,
    
Paul


--
Paul Birch
pbirchrichmond.edu
Computer Services Librarian
University of Richmond School of Law


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys
-- and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Some Comment Moderation Questions
user name
2006-08-04 23:44:57


On 7/28/06 4:08 PM, "Birch, Paul" <pbirchrichmond.edu> wrote:

> 1.) Even though this seems to be a fairly frequent
archive item, I'm not
> having any success with the mentioned fixes for a lack
of email
> notification of new comments.  I'm running Blojsom
2.30 w/ Tomcat.  I've
> turned on comment moderation and it seems to be working
as my test
> comments show up in the for-approval form.  But no
email received (and
> no entry for it in the Sendmail log). I'm specifying a
working smtp host
> in WEB-INF. Here's, in relevant part, my plugin chain:
> 
> ...comment-moderation, math-comment-moderation,
comment, trackback,
> sendemail...   (any sequencing issues here?)
> 
> What am I missing?

Does your SMTP host require authentication? If so, you'll
have to add the
username and password with which to logon to the server.

<init-param>
   
<param-name>smtp-server-username</param-name>
    <param-value>username</param-value>
</init-param>

<init-param>
   
<param-name>smtp-server-password</param-name>
    <param-value>password</param-value>
</init-param>

> 
> 
> 2.) I'm not a Vortex wiz, and I'm having
"blank-screen" type problems
> wherever I try to paste the
> "#foreach ($entryComment in $entry.getComments())
[etc.]" language
> that's supposed to separate the unapproved comments. 
My main template
> parses cphi.blog.entries.inc.
> 
> Does somebody have an example that better illustrates
where the language
> is supposed to go in context?

Try just:

#foreach ($entryComment in $entry.getComments())
    #set ($commentApproved =
$!entryComment.getMetaData().get("BLOJSOM_COMMENT_MODE
RATION_PLUGIN_APPROVED
").equals("true"))
    #if ($commentApproved)
    #end
#end

> 
> 
> Thanks,
>     
> Paul
> 
> 
> --
> Paul Birch
> pbirchrichmond.edu
> Computer Services Librarian
> University of Richmond School of Law
> 
> 
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
the chance to share your
> opinions on IT & business topics through brief
surveys -- and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys
-- and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )