Page 1 of 1

Blank Page Template

Posted: Thu Dec 20, 2007 12:21 am
by kenerly
Like this one that is for phpbb2 http://phpbbhacks.com/download/1945

Re: Blank Page Template

Posted: Thu Dec 20, 2007 4:12 am
by EXreaction

Re: Blank Page Template

Posted: Thu Dec 20, 2007 4:53 am
by kenerly
Thanks bro, perfect...

Re: Blank Page Template

Posted: Thu Dec 20, 2007 5:48 am
by shadow07
Why is the phpbb 3 version for making blank pages take more work than the phpbb 2 ones? in phpbb 2 all we had was the template page and thats pretty much it, just put your stuff in it and add it to the phpbb files..

Re: Blank Page Template

Posted: Thu Dec 20, 2007 4:52 pm
by EXreaction
shadow07 wrote:Why is the phpbb 3 version for making blank pages take more work than the phpbb 2 ones? in phpbb 2 all we had was the template page and thats pretty much it, just put your stuff in it and add it to the phpbb files..
It really isn't when you know the system. Both take the same amount of work to setup, just a few lines at the top of the PHP file and a template file if you need one.

Re: Blank Page Template

Posted: Fri Dec 28, 2007 3:08 am
by roark1138
EXreaction wrote:... Both take the same amount of work to setup, just a few lines at the top of the PHP file and a template file if you need one.
I'd prefer to not use the templates and just drop all of my code php, markup, etc, right into the php page. How do I set it up to not use the template? I tried out the instructions from http://olympuswiki.naderman.de/Adding_pages, tried commenting out the template call, but get the error "template->_tpl_load(): No file specified for handle body"... :/

Re: Blank Page Template

Posted: Fri Dec 28, 2007 3:33 am
by EXreaction
It would take quite a bit more work to ignore the template system.

Just use it, it is much easier and cleaner than throwing the HTML code in the PHP files.

Re: Blank Page Template

Posted: Tue Jan 01, 2008 5:16 am
by Ckyacer
I'm having problems with this. I'm not sure if its a file that hasn't been updated or something else.

It says:
Something about add_user_avatar can't be found in the New_page.php page.

Can I have some support on this?
Thanks

Re: Blank Page Template

Posted: Tue Jan 01, 2008 6:29 pm
by EXreaction
I am guessing it says the function can't be found?

I am pretty sure that the add_user_avatar function does not exist in phpBB3.

Re: Blank Page Template

Posted: Wed Jan 02, 2008 1:02 am
by Ckyacer
Could it be something to do with the update?

Re: Blank Page Template

Posted: Wed Jan 02, 2008 3:35 am
by EXreaction
What update?

Are you sure the add_user_avatar function ever existed?