Really need to attribute the author if you're going to copy something across. Things people write on forums are still their property and you should technically have permission before reposting it elsewhere. General etiquette is to at least attribute the owner and linkback, most people won't ask for something to be removed(which a forum legally has to do) if this etiquette is followed.
Basically, give credit where credit is due.
EDIT: Better