Welcome to Geeklog Wednesday, November 25 2020 @ 02:29 pm EST

Geeklog Forums

How to delete comments?


Status: offline

robinbowes

Forum User
Junior
Registered: 06/08/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.
 Quote

Status: offline

robinbowes

Forum User
Junior
Registered: 06/08/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.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/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
 Quote

Status: offline

robinbowes

Forum User
Junior
Registered: 06/08/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.
 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
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 20/10/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.
 Quote

All times are EST. The time is now 02:29 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