Search found 15 matches

by metest12
Thu Jan 15, 2004 9:26 pm
Forum: [3.0/Olympus] Discussion
Topic: 3 fix_need found
Replies: 32
Views: 25013

Re: 3 fix_need found

I have an idea to keep down the number of bug reports and support requests like this. When you try to download a CVS snapshot, you have to pass a little 10-question test with obvious answers (like "What is the name of this solar system's star?") in multiple choice. But in that little test,...
by metest12
Thu Jan 15, 2004 9:17 pm
Forum: [3.0/Olympus] Discussion
Topic: Any news?
Replies: 6
Views: 7313

Re: Any news?

You can tell the milestone that phpBB is at by looking at the page footer. Powered by phpBB 2.1.2 © 2002, 2003 phpBB Group The last digit is the milestone. For example, in phpBB 2.1.x, x is the milestone. Right now its 2.1.2, and the last digit is 2, so Milestone 2 is completed. When M3 is done, it ...
by metest12
Wed Dec 10, 2003 11:05 am
Forum: [3.0/Olympus] Styling
Topic: Templating ... a simple guide
Replies: 164
Views: 415099

Re: Templating ... a simple guide

Roberdin wrote:2.2 will, but the phpBB Template Downloads section won't include templates that utilise php inside them.
It doesn't matter, you don't need variable includes in just the forum. I was trying to use them for parts of my own site or custom changes to the forum.
by metest12
Fri Dec 05, 2003 4:22 pm
Forum: [3.0/Olympus] Styling
Topic: Templating ... a simple guide
Replies: 164
Views: 415099

Re: Templating ... a simple guide

Of course, note that phpBB will not support running php in templates for obvious reasons. 2.2 will, as stated in the first post of this topic: PHP A contentious decision has seen the ability to include PHP within the template introduced. This is achieved by enclosing the PHP within relevant tags:
by metest12
Thu Nov 27, 2003 6:21 pm
Forum: [3.0/Olympus] Styling
Topic: Templating ... a simple guide
Replies: 164
Views: 415099

Re: Templating ... a simple guide

I found a way to include variable templates in your templates. But first, run this query on your DB to enable PHP in your templates: INSERT INTO `phpbb_config` VALUES ('tpl_php', '1', 1); That was for MySql of course. Now, all you have to do is use the _tpl_include function like this in your templat...
by metest12
Mon Nov 24, 2003 9:54 pm
Forum: [3.0/Olympus] Styling
Topic: Question about something in template.php
Replies: 9
Views: 18711

Re: Question about something in template.php

Just using print_r() prints everything on one line (which on my opinion is hard to read)! Try this: <?php print(nl2br(print_r($_tpldata, true))); // Unset it unset($tpldata_info); ?> If the parentheses are confusing: <?php $tpldata_info = print_r($_tpldata, true); $tpldata_info = nl2br($tpldata_info...
by metest12
Sat Nov 08, 2003 2:44 am
Forum: [3.0/Olympus] Styling
Topic: Templating ... a simple guide
Replies: 164
Views: 415099

Re: Templating ... a simple guide

I love the new system in 2.2 :D But one question: can you make it possible to use vars in INCLUDEs ( I know it isn't now because I tried) for example: <!-- INCLUDE page_{MYPAGE}.html --> I am integrating phpBB 2.2 (well 2.1 now) into my new site and it will have a block manangement system, and the o...
by metest12
Sat Nov 08, 2003 2:24 am
Forum: [3.0/Olympus] Discussion
Topic: New Permissions Model
Replies: 11
Views: 12094

Re: New Permissions Model

The auth class in includes/sessions.php
by metest12
Fri Oct 24, 2003 12:36 am
Forum: [3.0/Olympus] Discussion
Topic: will schemas remain the same till final?
Replies: 6
Views: 7546

Re: will schemas remain the same till final?

I am designing my site around it, too. I realize the schemas are constantly changing, but you can rely on some of the things now, like the Users Table and the like. But most of the time you won't be using any phpBB tables anyway, because phpBB's included files handle most of it. For example, the sta...
by metest12
Wed Oct 22, 2003 10:02 am
Forum: [3.0/Olympus] Discussion
Topic: Modding 2.2
Replies: 11
Views: 14697

Re: Modding 2.2

Hard copy? the online manual is much better. For example, if I'm looking through code and I see the function array_pop() being used, I don't need to look in a big fat index. I just go to http://www.php.net/array_pop and boom, I have the writeup on it.