If your mate had to "bash" the dashboard to make the fuel guage work it is probably not the sender unit that is faulty, which is in the tank. More than likely it is the connections at the back of the console. If your mates temp guage also is playing up, it will be the connections to the little regulator that are intermittent. The 10V regulator supplies power to both the fuel guage & temp guage.
It is very easy to test the fuel guage circuit. Pull the single/spade terminal lead off the top of tank & ground. If the fuel guage moves up to "full" then the guage is OK, and the fault will be in the sender unit itself. The tank is not very hard to remove. Just make sure it ain't got too much juice left in it.