Search found 643 matches

by APTX
Thu Mar 17, 2011 6:20 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] Improved template engine
Replies: 33
Views: 35931

Re: [RFC|Accepted] Improved template engine

Please look at https://github.com/APTX/phpbb3/tree/fea ... ngine-fate for the 3.1 template engine.

I'll look into implementing at least the "per language compilation".
by APTX
Sun Sep 12, 2010 3:08 am
Forum: [3.0/Olympus] Discussion
Topic: Drop php closing tags
Replies: 15
Views: 16904

Re: Drop php closing tags

eviL3 wrote:I'm still in favour of adjusting the existing files for 3.1.
Yes!
by APTX
Fri Jul 30, 2010 5:22 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC|Accepted] Updated BBcode engine
Replies: 146
Views: 98593

Re: [RFC|Accepted] Updated BBcode engine

This is already possible with *_func's.
by APTX
Thu Jul 22, 2010 1:45 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC|Accepted] Updated BBcode engine
Replies: 146
Views: 98593

Re: [RFC|Accepted] Updated BBcode engine

No, all the *_func's are there to provide a way to use logic or outside data while handling a BBCode. You cannot change the BBCode syntax.
by APTX
Sun Jul 18, 2010 3:36 am
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] Improved template engine
Replies: 33
Views: 35931

[RFC|Merged] Improved template engine

Improved template system for phpBB 3.1 This is a draft and subject to change A more efficient implementation of phpBBs template engine ported from ascreus-experiment with some minor additions especially for the new hook feature. Compatibility - The template class API remains unchanged. - Newlines i...
by APTX
Sun Feb 21, 2010 12:22 am
Forum: [3.0/Olympus] Discussion
Topic: PECL BBCode Extension
Replies: 10
Views: 11640

Re: BBCode Support

It seems like it does all things we want. I'll be looking into it. Does it support multiple arguments like:

Code: Select all

[tag="first arg value" argument="value" otherargument="othervalue"]Hello[/tag]
If not, would it be easy to add? Or would you have an alternative to this?
by APTX
Tue Aug 05, 2008 9:40 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC] Template procedures
Replies: 27
Views: 18510

Re: Template procedures

I must say that the must-not-follow-smarty-even-if-it-kills-us attitude is unreasonable. For example, could it be used to generate something for the "User name and colouring"? I looked into how it's done currently in phpBB. It is done by a PHP function, generate_user_string(), which just generates H...
by APTX
Sat Aug 02, 2008 4:55 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC] Template procedures
Replies: 27
Views: 18510

Re: Template procedures

Where would someone define those? Since these are procedures i think they are mostly not defined within the same file they are used in? They can be defined anywhere. It's implemented as PHP functions so it can be used like PHP functions. ;) What are the benefits, the real world uses? Could you give...
by APTX
Sat Aug 02, 2008 11:04 am
Forum: [3.x][Archive] RFCs
Topic: [RFC] Template procedures
Replies: 27
Views: 18510

Re: Template procedures

Slowly I'm starting to wonder why we don't just use PHP instead of our own template language? The most important reason is the ease of use. Would you really want to write templates like the compiled ones? It is much harder to break things by in templates. The only way to break something is to make ...
by APTX
Fri Aug 01, 2008 3:55 pm
Forum: [3.x][Archive] RFCs
Topic: [RFC] Template procedures
Replies: 27
Views: 18510

[RFC] Template procedures

This is something, that IIRC was not requested by anyone. I had this idea today and wanted to see if something like this is possible with the current template engine. Turns out it is. :) Procedures in templates is just some template code you can use wherever and as many times as you like. It has no ...