Posted on: 04/22/04 04:26am
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.
How to delete comments?
Posted on: 04/22/04 04:57am
By: robinbowes
[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.[/QUOTE]
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.
How to delete comments?
Posted on: 04/22/04 05:15am
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").
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
How to delete comments?
Posted on: 04/22/04 06:20am
By: robinbowes
[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").[/QUOTE]
Ack, I missed that link - probably not logged in as admin.
Cheers,
R.
How to delete comments?
Posted on: 04/23/04 08:52am
By: Anonymous (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
How to delete comments?
Posted on: 04/23/04 09:30am
By: Turias
[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[/QUOTE]
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.