Added Support for phpBB3

Changed code to support phpBB3. No longer works with phpBB2