You prolly didn't understand what Robbe meant here. By downloading a simple or advanced open source forum you're actually already given access to everything you're hereby asking for. You have the source code of the whole application and you can see all the outs and ins of it yourself. It's only a matter of digging the code (which can take a while but after all if you're too lazy to do that then maybe programming isn't the right thing for you ;)).
1 good small-scale forum is miniBB.