Welcome to Geeklog, Anonymous Thursday, November 14 2024 @ 08:51 am EST
Geeklog Forums
How to delete comments?
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.
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.
11
13
Quote
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.
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.
13
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
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
9
12
Quote
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.
11
13
Quote
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
11
12
Quote
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.
8
12
Quote
All times are EST. The time is now 08:51 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