Front fog lights

Try to connect the front fogs up tonight as put a new bumper on the car. And the plug in terminal was missing for the fogs so got one from the scrap yard. Problem is on connection only one fog came on. Then swapping the wires around both came on but was very faint not on at full brightness. Got 12v from two of the wires coming from the car and the thick black I think is the earth