Removing comments

bpdski

Joined: 2004-05-25
Posts: 3
Posted: Wed, 2009-05-27 02:11

I have the migration working fine, but I've noticed that there are a ton of guest comments in my existing Gallery 1.5 install. Most of them are spam comments of people trying to embed html ads for stuff. I didn't realize public comments were on and I'll disable that, but is there any script or other method to strip all comments out of my albums before I import them?

Thanks,
Brian

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-05-27 03:45

I think if you don't have the Comment plugin installed in G2, they won't import. If not though and they still import, you can blast all comments with this:
http://codex.gallery2.org/Downloads:CommentBlaster

Or you can just uninstall the Comment plugin after and that will delete all data related to the Comment plugin
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
bpdski

Joined: 2004-05-25
Posts: 3
Posted: Wed, 2009-05-27 11:34

That works perfect, it does not import the comments when you deactivate the comment plugin. Thanks for your help!