Just need to get this off my chest

Today my boyfriend and I were talking about our future while cuddling. I noticed he got awfully quiet and I asked him what was wrong and he begins to cry. I asked him again what was wrong and he told me he was upset about something that usually upsets him. At that point I knew exactly what it was. 
Backstory: my boyfriend was married to a girl that has a daughter from a previous relationship, the biological father had nothing to do with her for probably the first 2 years of her life. My boyfriend started dating the mom and raised the little girl as his own , however he has no parental rights to the girl. Him and his ex wife separated and we started dating, we dated for about 3 months and he decided he couldn't live without the little girl and he went back to try to make it work. Needless to say him and his exwife couldn't recinsle and he eventually divorced her and we got back together. She will not let him see the little girl anymore. 
He told me he was upset because on of his friends showed him a picture of the little girl while he was at work yesterday and that she is getting so big. He is also upset because he sees posts on Facebook of kids going back to school and she will be in kindergarten. He misses her but there is nothing that can be done. 
I feel broken because I can't make it any better. We are planning to be TTC #1 for both of us at the end of the month. I know us having a baby will not make the pain go away. I hate seeing him upset. The only thing I can do is listen to him and try to calm him down. We have been through so much. I feel like his friend is trying to break us up. He tells him everything he sees my boyfriend's exwife post in Facebook or if he sees her in town he will tell him. Just like him showing my boyfriend that picture he knows that will upset him and we talk to each other about everything. 
Any advice on how to handle the situation?