Posted on: 12/17/03 09:51am
By: libexec
Hi All.
Does anyone know how to get all comments in the sistem passing through the moderation interface? That is, havin a section named "Comments" in the moderation area (I mean in admin/moderation.php).
Thanx a lot.
Nahuel
Re:Comments moderation
Posted on: 12/17/03 10:02am
By: Dirk
[QUOTE BY= libexec] Does anyone know how to get all comments in the sistem passing through the moderation interface?[/QUOTE]
Sure: Write the code for it
In other words: That's not supported.
bye, Dirk
Re:Comments moderation
Posted on: 12/18/03 09:47am
By: Turias
Yeah, it's been a much requested feature. If you find you have time to write it, I'm sure a lot of people would use it.
Re:Comments moderation
Posted on: 12/18/03 02:00pm
By: exaurdon
While we are on the subject of comments and wish lists ..... If anyone is working on altering the comment system, I think another useful feature (at some point) would be an item ranking system. (Think slashdot)
Basicly, provide users with the capability to rate a comment on forum posting, etc... (Much like the file managment plugin)
Exaurdon~
Re:Comments moderation
Posted on: 12/18/03 02:06pm
By: libexec
[QUOTE BY= libexec] Does anyone know how to get all comments in the sistem passing through the moderation interface?[/QUOTE]
[QUOTE BY= Dirk]
Sure: Write the code for it
In other words: That's not supported.
bye, Dirk[/QUOTE]
Ha! That's the kind of answer I allways expect in the free software community!
Well, I´m not a PHP expert, so I gues that if nobody did it yet it has to be a difficult task, is it? Did anyone tried to do this before?
Thanks again.
By the way, please excuse my poor english.
Kind regards from Patagonia Argentina
Re:Comments moderation
Posted on: 12/18/03 02:31pm
By: Dirk
[QUOTE BY= libexec] Well, I´m not a PHP expert, so I gues that if nobody did it yet it has to be a difficult task, is it?[/QUOTE]
It shouldn't be difficult, but it is quite a bit of work if done properly. Taking a look at the existing submission system for stories / links / events should give anyone willing to try it an idea.
bye, Dirk
Re:Comments moderation
Posted on: 12/18/03 03:18pm
By: wlparks
It would be a very nice feature for commercial sites that are using geeklog. What I did instead of having it go through the moderation it just emails our support address and one of them checks to make sure it is correct. If anybody is interested in the mail code I used its very simple.
Thanks,
Warren
Re:Comments moderation
Posted on: 12/18/03 11:43pm
By: r_f_o_t
[QUOTE BY= wlparks]If anybody is interested in the mail code I used its very simple.[/QUOTE]
I'm sure more than one person would be interested.
Why not post it here?
Chuck
Re:Comments moderation
Posted on: 12/19/03 02:20pm
By: wlparks
Alright at the very bottom of the savecomment function in the comment.php right above
return $retval
insert this
/* Warrens Mailing Comments */
$to = "whoever@whatever.com, ";
$to .= "more@wherever.com, ";
$subject = "New Comment on the Portal";
$headers = "MIME-Version: 1.0 \r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: Your Site<webmaster@yoursite.com>\r\n";
$message = '
<html>
<head>
<title>New Comment on the Portal</title>
</head>
<body>
<b>uid(user id)</b> = "'.$uid.'"
<b>title</b> = "'.$title.'"
<b>comment</b> = "'.$comment.'"
<b>sid(story id)</b> = "'.$sid.'"
<b>pid(poll id)</b> = "'.$pid.'"
<a href="http://www.yoursite.com/article.php?story='.$sid.'">View the story this comment was posted in</a>
<a href="http://www.yoursite.com/pollbooth?qid='.$sid.'&aid=-1#comments">View the poll this comment was posted in</a>
</body>
</html>';
mail($to, $subject, $message, $headers);
/* End of Changes */
The links sometimes work and sometimes they don't I don't really care about those anymore, but all in all it does what I need. I don't take any responsibility on things that code breaks or anything else it does, you know the normal disclaimer
Re:Comments moderation
Posted on: 12/22/03 12:13am
By: r_f_o_t
Thanks Warren for putting up your code. When I get some free time, I'm going to try it out. Comments have not been a problem yet, but ......
Chuck
Comments moderation
Posted on: 06/22/04 10:42am
By: ronack
Just wanted to bring this up again. Today I went through my GL sites and every site had inappropiate comments which I needed to delete. Some with multiple entries. Everything from Long distance phone cards to links to sex sites. So I think this issue really needs to be bumped up in priority. I know I would be willing to make a donation to someone willing to work on this.
Any takers?
You should install SpamX
Posted on: 06/22/04 12:36pm
By: keystone430
TomW just took care of this whole problem with SpamX and I am sure he would appreciate the donation.
You can get the plugin here and read the entire story right on the front page of this very site.
Comments moderation
Posted on: 06/22/04 01:30pm
By: tomw
Comment moderation is one future enhancement I have always had on the list for the SpamX plugin. Have a couple of other things ahead of it at the moment though (like my regular job). However spam comments themselves are handled by the plugin.
TomW
Comments moderation
Posted on: 06/22/04 02:18pm
By: ronack
I'm always amazed, I'll take a look.
Comments moderation
Posted on: 06/22/04 02:29pm
By: ronack
Ok I'm less amazed now, I can't seem to download the file from Sourceforge. It's like it isn't there.
Comments moderation
Posted on: 06/22/04 03:53pm
By: tomw
Sourceforge is a little flaky at times. It is available here also.
TomW
Comments moderation
Posted on: 06/22/04 04:16pm
By: ronack