I am designing a custom auction website We bid. I have looked into using other forums but I really, really like PunBB. I am only familiar with basic php and I have tried to get this done to no avail. From my research into this, including all the topics on this forum on integration I know that I have to call to punBB in all my We bid pages but I can't get the login and registration linked.

here is the register and login php  http://pastebin.com/9syJRDSU

Can someone please point me in the right direction to how I can get this done?