Actively Seeking Secondary Benefits For Acts Exclusively For Allah
It is showing off a kind of shirk but not the actual Shrik therefore it has another name, riya.
This has been told earlier. if you can remember or find the answer.