Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:48 am EDT

Geeklog Forums

Comments moderation


Status: offline

libexec

Forum User
Newbie
Registered: 08/01/02
Posts: 4
caffeinated
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
 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 Mr. Green

In other words: That's not supported.

bye, Dirk
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
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. Big Grin
 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~
 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 Mr. Green

In other words: That's not supported.

bye, Dirk


Eek!
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
 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
 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
 Quote

Status: offline

r_f_o_t

Forum User
Full Member
Registered: 07/30/03
Posts: 241
Location:Illinois
Quote by wlparks:If anybody is interested in the mail code I used its very simple.


I'm sure more than one person would be interested.
Why not post it here? Smile

Chuck
Too many hands on my time.
 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
Text Formatted Code
return $retval
 

insert 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 Smile
 Quote

Status: offline

r_f_o_t

Forum User
Full Member
Registered: 07/30/03
Posts: 241
Location:Illinois
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
Too many hands on my time.
 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?
 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.

 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
 Quote

Status: offline

ronack

Forum User
Full Member
Registered: 05/27/03
Posts: 612
I'm always amazed, I'll take a look.
 Quote

Status: offline

ronack

Forum User
Full Member
Registered: 05/27/03
Posts: 612
Ok I'm less amazed now, I can't seem to download the file from Sourceforge. It's like it isn't there.
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 08/12/02
Posts: 300
Sourceforge is a little flaky at times. It is available here also.

TomW
 Quote

Status: offline

ronack

Forum User
Full Member
Registered: 05/27/03
Posts: 612
You mean here
 Quote

All times are EDT. The time is now 10:48 am.

  • 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