Page 1 of 1

page generation time on phpbb3

PostPosted: Fri Jun 01, 2007 7:19 pm
Author: ZacFields
Since nobody over at phpbb can figure it out I figured I would come to where I've always gotten good support.

I can probably figure this out myself but I've been really busy lately and after all, it's their code and they should be familiar with it enough to easily know the answer to this question:

In the beta's of phpbb3 there was a page generation time .script installed. It's a very easy .script that involves placing a small block of code in the header and a small block of code in the footer.

Problem is, on the new phpbb3 there is no php files for header and footer that I can find. So if one wanted to place some code in the header and footer files (php code) where would that person put it? I couldn't seem to get it to work by placing the code in the templates file but I didn't try that hard.

Zac

Re: page generation time on phpbb3

PostPosted: Sat Jun 02, 2007 8:27 pm
Author: Frost
Don't you have to enable placing php in template files first?

I saw something on this once, do a google search for "phpbb3: enabling php in templates"

PostPosted: Sun Jun 03, 2007 6:45 pm
Author: Michaelo
Have you got the code handy? post it here and I will try... Mike

PostPosted: Mon Jun 04, 2007 10:17 am
Author: ZacFields
Sure, here is what should be added to the header file:

<php>

and here is what is supposed to be added to the footer file:

<php>

It's a pretty easy mod to install. The thing is, I even tried just placing it on the index page, and putting the first code on the top of the page and the second code on the bottom and still didn't work.

gah this new phpbb confuses me. I love it but it's confusing. not the same as phpbb2 as far as editing things go.

Zac

PostPosted: Mon Jun 04, 2007 6:56 pm
Author: Michaelo
Will have a go... :-?