Contradiction with Matthew 6:1
John 7:4 suggests doing things openly for recognition, whereas Matthew 6:1 advises against performing acts of righteousness to be seen by others.
Matthew 6:1: Take heed that ye do not your alms before men, to be seen of them: otherwise ye have no reward of your Father which is in heaven. [alms: or, righteousness] [of your: or, with your]
Contradiction with Matthew 5:16
John 7:4 implies seeking visibility, whereas Matthew 5:16 encourages letting one's light shine for God's glory rather than personal recognition.
Matthew 5:16: Let your light so shine before men, that they may see your good works, and glorify your Father which is in heaven.
Contradiction with Proverbs 27:2
John 7:4 promotes self-display, while Proverbs 27:2 advises letting others praise you rather than self-promotion.
Proverbs 27:2: Let another man praise thee, and not thine own mouth; a stranger, and not thine own lips.
Contradiction with Luke 14:11
John 7:4 implies seeking honor, but Luke 14:11 teaches that those who exalt themselves will be humbled.
Luke 14:11: For whosoever exalteth himself shall be abased; and he that humbleth himself shall be exalted.
Contradiction with 1 Corinthians 13:4
John 7:4 encourages self-promotion, contrary to 1 Corinthians 13:4, which describes love as not boasting.
1 Corinthians 13:4: Charity suffereth long, [and] is kind; charity envieth not; charity vaunteth not itself, is not puffed up, [vaunteth...: or, is not rash]