Comment Removal and post count

edited October 2006 in Vanilla 1.0 Help
Hello

I've been using comment removal and it works very nicely.
Though I noticed if a comment is deleted, the number of posts a member has made is not altered. I guess this isn't a big issue, but would be nice if it updates the member profile

thanks

Comments

  • I would like an easy way to translate it to my language....
  • NickENickE New
    edited October 2006
    @snowcrash: I'm not brilliant at MySQL queries, so I might be overlooking something, but the way I see it, when you'd delete a discussion, you'd have to make a seperate query for every user who participated in that discussion (ignoring sub-queries). Try to remove a discussion a couple pages long and the query number could already ben in excess of 50. If there's a better way to implement it I'd gladly add the functionality, but at the moment it just doesn't seem practical.

    @pichuneke: just go into default.php of the extension and change all the assignments for the Context::Dictionary elements.
  • If someone needs... I have translated it to spanish (without accents, ¿? or "ñ", because I am afraid it doesn't work if I use it) $Context->Dictionary['PERMISSION_REMOVE_COMMENTS'] = 'Puede eliminar cualquier comentario y discusion'; $Context->Dictionary['PERMISSION_REMOVE_OWN_COMMENTS'] = 'Puede eliminar sus propios comentarios y discusiones (sin respuestas)'; $Context->Dictionary['VerifyCommentRemoval'] = 'Confirme la eliminacion permanentemente de este comentario'; $Context->Dictionary['VerifyDiscussionRemoval'] = ''Confirme la eliminacion permanentemente de esta discusion'; $Context->Dictionary['remove'] = 'eliminar';
  • Thanks for the info Sirnot.

    It's not a crucial requirement and I've managed to dig into the db and correct things that way; but it wouldn't be much fun for a big forum.

    Maybe an expert on mysql will come along and help out.

    regards
This discussion has been closed.