Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Can't edit comments

edited May 2007 in Vanilla 1.0 Help
I can't seem to edit my own comments. The link to do this is there but it doesn't do anything. No mouseover pointer change, no response when clicked. This is when trying to edit my own comments when signed in as admin. I can delete ok and edit others comments but not my own. Using latest version of Vanilla with green style.

Comments

  • I've been messing around with this more and maybe I'm missing something basic but I can't edit my own posts as administrator and can't see what might be set up wrongly. I've also set up a moderator who should be able to edit anyone's post and he can't edit his own posts either though he can edit others as can the admin.
  • There is nothing special between how Vanilla checks if you made the comment or if you have permission to edit the comment--in fact both possibilities are checked inside the same IF statement in the default theme code.

    Are you using a customized theme?
  • I'm using the Green theme and I've changed a few font sizes in the css in CommentHeader I think. The edit, delete and remove links all look the same but the edit one doesn't do anything.
  • Its possible some CSS element is covering the edit link... what browser are you using and care to whisper the link with a test account that I can try out?
  • Did you disable the "can edit own comments" under the role you're currently in? Or are you also using any add-ons which may be interfering with how you're meant to edit your own comments? like using the "edit in place" add-on?

    If you switch themes and this is still a problem it's likely a role permission issue, if not it's a possible add-on or theme issue.
  • edited May 2007
    Yep, the account picture is overlapping.

    Tip: The FireFox web developer toolbar can be very useful--here is a screen shot of the problem with "outline current element" turned on:

    image

    With the same toolbar, you can make changes and see the effects live... I bumped the width down to 20 in Vanilla.css under #Comments .CommentHeader .CommentIcon { and it fits much better now.
  • Thanks very much, all makes sense. I'm happy. I'll get the toolbar you mention too.
  • I avoid Firefox because it's covered in molasses on OS X but this extension is worth a little extra patience waiting for things to load.

    Many little glitches are exposed and made easy to locate and fix.

    Posted: Friday, 4 May 2007 at 10:56AM

This discussion has been closed.