Some name changes and replacing table type with phpBB3 standards