Sub Menu
Links Menu
Online Users

In total there are 302 users online :: 4 registered, 0 hidden and 298 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot] based on users active over the past 60 minutes

page generation time on phpbb3

Any topics related to phpBB (non-IntegraMOD related)

Moderator: Integra Moderator

page generation time on phpbb3

PostAuthor: ZacFields » Fri Jun 01, 2007 7:19 pm

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
Last edited by ZacFields on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

ZacFields
Sr Integra Member
Sr Integra Member
 
Posts: 426
Likes: 0 post
Liked in: 0 post
Joined: Wed May 24, 2006 10:14 pm
Cash on hand: 0.00

Re: page generation time on phpbb3

PostAuthor: Frost » Sat Jun 02, 2007 8:27 pm

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"
Last edited by Frost on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 1:04 am
Cash on hand: 0.00
Location: Photoshop CS3

PostAuthor: Michaelo » Sun Jun 03, 2007 6:45 pm

Have you got the code handy? post it here and I will try... Mike
Last edited by Michaelo on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

PostAuthor: ZacFields » Mon Jun 04, 2007 10:17 am

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
Last edited by ZacFields on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

ZacFields
Sr Integra Member
Sr Integra Member
 
Posts: 426
Likes: 0 post
Liked in: 0 post
Joined: Wed May 24, 2006 10:14 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Mon Jun 04, 2007 6:56 pm

Will have a go... :-?
Last edited by Michaelo on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland


Return to phpBB Related Topics

Who is online

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot]