In Yang Shoujing's comments on the school of Shuo Yuan, he explained: "Learn from extensive words and be clear about yourself, and your name is outside, so you should restrain it and not be disgusted." What he emphasizes here is that if a person wants to win a good reputation in society, he should pay attention to inner cultivation and quality, rather than pursuing superficial honor.
Therefore, "only paying attention to external reputation" can be understood as "being cautious and restrained only in external praise", that is, not excessively pursuing external honor. And "inner goodness and weakness" can be understood as "only inner goodness and virtue are truly subtle and profound", that is, we should pay attention to inner cultivation and moral improvement.
The above information is for reference only. If necessary, I suggest you consult relevant literature.