Bylaws made by a township do not take effect until they are published. The township clerk shall have the bylaws published in a legal newspaper published in the township. If there is no such newspaper, the bylaws must be published in the county’s official newspaper. The clerk shall make an entry in the township records of the time when and place where the bylaws were published. The township bylaws duly made and published are binding upon all persons coming within the limits of the township as well as upon the inhabitants thereof and remain in force until altered or repealed at some subsequent township meeting.