I want to make 20-50+ new custom pages for my phpbb3 set up. I have been using the http://www.phpbb.com tutorial catched at
http://74.125.47.132/search?q=cache:Or- ... cd=1&gl=us
also visable at
http://www.ktuk.net/phpBB3/viewtopic.php?f=32&t=2854
( and anywhere else with a tutorial for this sort of thing - they are all the same! ).
On these custom pages I would like to run database searchs and post the info found. For instance, one page might look like:
Code: Select all
Welcom $username!
We are very $emotion to see you! We hope you will come by again when you have more $money#. At the moment you only have $money#. Sorry. But here: take this tasty $snack.
viewtopic.php?f=26&t=12672
which possibly solves the problem. But now that I know how to make php calls whial in the _body document, should I realy? It isn't recomended and I have the sneaky suspicion that all of the wierd interconnected files I have been playing with and trying to figure out have a purpose; one goal of which is to speed up loading times. Which brings me to the real question and perhapse the questions that tag along with it:
What is the proper way to create a new custom page like this? Why is PhpBB set up like this ( for speed )? After making a call to a database, do we need to
Code: Select all
// free result set memory
mysql_free_result($result);
Code: Select all
// close connection
mysql_close($connection);
And, if anyone has the time and inclination: What would a flow chart of the way PhpBB handles these files/processes look like?
P.S. I accidently tryed to post this in the wrong section. Lucky, that section needs a moderator to approve it before it becomes visable. I've no doubt that it will be deleted instead of aproved; this is just a little segment so that the mods won't think I'm trying to double post or such.