Welcome to the forum, antoonvdr. We're glad you could join us.
Have you checked the forum archives? There are a number of threads which involve indexing of a phpbb forum, like
this and
this. You should be able to find something in those and other threads that will help.