Welcome to Geeklog, Anonymous Friday, November 22 2024 @ 08:59 pm EST
Geeklog Forums
Comments moderation
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
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
15
16
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by libexec: Does anyone know how to get all comments in the sistem passing through the moderation interface?
Sure: Write the code for it
In other words: That's not supported.
bye, Dirk
16
15
Quote
Status: offline
exaurdon
Forum User
Regular Poster
Registered: 08/13/03
Posts: 107
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~
Basicly, provide users with the capability to rate a comment on forum posting, etc... (Much like the file managment plugin)
Exaurdon~
17
15
Quote
Status: offline
libexec
Forum User
Newbie
Registered: 08/01/02
Posts: 4
Quote by libexec: Does anyone know how to get all comments in the sistem passing through the moderation interface?
Quote by Dirk:
Sure: Write the code for it
In other words: That's not supported.
bye, Dirk
Sure: Write the code for it
In other words: That's not supported.
bye, Dirk
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
16
14
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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?
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
13
18
Quote
Status: offline
wlparks
Forum User
Junior
Registered: 02/21/03
Posts: 24
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
Thanks,
Warren
21
14
Quote
Status: offline
wlparks
Forum User
Junior
Registered: 02/21/03
Posts: 24
Alright at the very bottom of the savecomment function in the comment.php right above
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
Text Formatted Code
return $retvalinsert this
Text Formatted Code
/* 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
29
20
Quote
Status: offline
ronack
Forum User
Full Member
Registered: 05/27/03
Posts: 612
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?
Any takers?
16
14
Quote
Status: offline
keystone430
Forum User
Chatty
Registered: 01/28/04
Posts: 68
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.
You can get the plugin here and read the entire story right on the front page of this very site.
17
15
Quote
Status: offline
tomw
Forum User
Full Member
Registered: 08/12/02
Posts: 300
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
TomW
14
14
Quote
All times are EST. The time is now 08:59 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content