Reply To: Filter gifts by user
You’re wrong and it is not a BP question.
If you’re not comfortable with coding, i would at your place use a working plugin instead of trying to customize something i don’t completely understand.
There is a similar one called Compliments (and up to date). Will be easier (perhaps) to adapt or even use as is for your needs ? 😉