I bought a present for Fran --> I bought a present to give to Fran
I bought a present for Joe's wife on behalf of Joe --> Joe is lazy. He asked me to buy a present and give it to his wife, as thought it were from him (i.e. on his behalf)
I think "for" has another meaning as well: EX. I'll open the door for you / I'll wash the dishes for you = I'll open the door instead of you / I'll wash the dishes instead of you, as a favour. This is probably what Guest had in mind. The very expression "for and on behalf" sounds as a legal term to me. EX. The contract is signed (by J.R. Johnson) for and on behalf of Precious