They (the elders) are supposed to just read what's written on the card, something like, "This is to inform the congregation that So-and-So has been publicly reproved." Seems like they might say something about the restrictions in place and that's it.
If this elder actually said something to the effect about not associating with someone outside of the meetings, he was overstepping his authority and what the WTS has allowed them to say. The WTS ain't dumb. They know that they have to be careful about how these kind of announcements can be made. Lawsuits have come about because of the way some of the elders have announced DFings, DAings and PRs.