Is the avast! Online Security add-on enabled in the firefox add-ons section ?
Normally you have to authorise 3rd party add-ons, e.g. those that don't come directly from the Mozilla add-ons location.
You don't say what version of firefox you are using ?