so if I understand the license correctly, I can use any part of the phpbb code (in this case the template engine), modify it to match my needs so i don't have any un-needed code, and use it providing I can do the following:
1. Share the original and/or modified source, along with the license it is licensed under
2. State that the code is from phpbb and that it is under the GNU General Public License v2
Number 1, is simple as I have a copy of the license and the class itself is in a seperate file.
Number 2, I believe I comply to by putting the following at the bottom of each and every page:
Please correct me if I'm wrong with any of the above as I want to do things properly. I'm not so good at legal stuff.