As Polonius uses the word "vulgar," it designates someone who tries too hard to be everyone's good buddy, without making a distinction between gentle folk who are worth knowing and the common rabble.