A. If only I had been popular when I wanted.
B. If I were popular I would want it.
C. I would be popular if I wanted.
D. I wish I was/were popular.
Feedback To express disappointment with the present situation we usually use the construction [ I + wish + Past Simple]. Other answers do not relate to the meaning.