How to display last phpBB posts on my EzPublish ?

Author Message

Sébastien Antoniotti

Thursday 16 November 2006 11:55:16 am

Hi,

I'm looking for something that allow me to display the "n" last post of an phpBB forum.

Did someone have a solution ?

eZ Publish Freelance
web : http://www.webaxis.fr

kracker (the)

Thursday 16 November 2006 3:30:22 pm

Write a <i>template operator</i>!
This a simple solution which could meet your needs.

Template operators are simple to create. The template operator code would include the code needed to output the phpBB posts in your site design pagelayout.

<b>Template Operator Examples</b>
<i>http://ez.no/community/contribs/template_plugins</i>
<i>http://ez.no/doc/ez_publish/technical_manual/3_8/images/templates/template_operator</i>
<i>http://ez.no/doc/ez_publish/technical_manual/3_8/templates/the_template_language/functions_and_operators</i>

Cheers,
//kracker

<i>Cake - The Distance</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Sébastien Antoniotti

Thursday 16 November 2006 10:05:22 pm

Thanks a lot, I'll try to create this template operator, and I hope to make it benefit the community ;)

eZ Publish Freelance
web : http://www.webaxis.fr

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 23:26:53
Script start
Timing: Jan 18 2025 23:26:53
Module start 'layout'
Timing: Jan 18 2025 23:26:53
Module start 'content'
Timing: Jan 18 2025 23:26:54
Module end 'content'
Timing: Jan 18 2025 23:26:54
Script end

Main resources:

Total runtime1.1158 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.0391152.6406
Module start 'layout' 0.00500.0027 740.679739.4766
Module start 'content' 0.00771.1068 780.1563546.0469
Module end 'content' 1.11450.0013 1,326.203112.1250
Script end 1.1158  1,338.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2631160.0002
Check MTime0.00120.1098160.0001
Mysql Total
Database connection0.00070.060310.0007
Mysqli_queries1.069195.8091570.0188
Looping result0.00050.0416550.0000
Template Total1.087197.420.5435
Template load0.00170.155620.0009
Template processing1.085397.265420.5427
Template load and register function0.00010.010610.0001
states
state_id_array0.00100.091710.0010
state_identifier_array0.00060.054020.0003
Override
Cache load0.00140.1266220.0001
Sytem overhead
Fetch class attribute can translate value0.00050.045220.0003
Fetch class attribute name0.00090.083450.0002
XML
Image XML parsing0.00100.089920.0005
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00160.1460240.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs