Status: offline

robinbowes

Forum User
Junior
Registered: 08/06/02
Posts: 23
Hi,

I currently allow anonymous comments on my site and recently got spammed with loads of porn links.

How can I delete the offending comments from the web interface? Or do I need to manually delete them from the database? If I do the latter, are there any links/counters I need to modify when I delete the comments?

Thanks,

R.

Status: offline

robinbowes

Forum User
Junior
Registered: 08/06/02
Posts: 23
Quote by robinbowes: Hi,

I currently allow anonymous comments on my site and recently got spammed with loads of porn links.

How can I delete the offending comments from the web interface? Or do I need to manually delete them from the database? If I do the latter, are there any links/counters I need to modify when I delete the comments?

Thanks,

R.


Following up my own post...

I went ahead and deleted the comments from gl_comments using phpMyAdmin. I found I also needed to reset the "comments" field in gl_stories.

HTH someone else.

R.

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
There's no need to dive into the database - as the Admin, you should be able to delete comments by simply clicking on the "delete" link just below the comment (next to "reply to this").

Comments in plugins are a bit of a problem at the moment, as there was a change in the plugin API and most plugins haven't caught up with this yet. So in that case, you may have to mess around in the database. It probably helps to point this out to plugin authors, if you run into this problem.

bye, Dirk

Status: offline

robinbowes

Forum User
Junior
Registered: 08/06/02
Posts: 23
Quote by Dirk: There's no need to dive into the database - as the Admin, you should be able to delete comments by simply clicking on the "delete" link just below the comment (next to "reply to this").


Ack, I missed that link - probably not logged in as admin.

Cheers,

R.

Mickey

Anonymous
Dirk - thanks for the info, I needed this too. How can I make it so that comments require approval before they are posted? Thanks, Mickey

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
Quote by Mickey: Dirk - thanks for the info, I needed this too. How can I make it so that comments require approval before they are posted? Thanks, Mickey


Unfortunately, you can't with the current code. The best you can do is require that users be registered to post comments. The setting for that is in your config.php.