How to store multiple matchable infos on users ?

Author Message

Benjamin Lorteau

Monday 03 January 2011 10:52:21 am

Hey,

I run a site on eZ Publish, with a forum section inspired by phpBB templates. Each user has a profile page where he can put a limited amount of information.

I would like that Users could dynamically add informations about them, like instant messaging identifiers or online gaming platform identifiers without having to create an attribute for each possibility. I could do that with a Matrix datatype BUT

I would also like to make a page where anyone can see for example the Steam identifiers of every user who has contributed this information about himself.

How could I do that simply without having to extract the whole matrix information for each user each time the aggregated page is loaded ?

Thanks in advance !

Benjamin

eZ Publish personal project : http://www.aeriesguard.com [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 02:07:09
Script start
Timing: Jan 18 2025 02:07:09
Module start 'layout'
Timing: Jan 18 2025 02:07:09
Module start 'content'
Timing: Jan 18 2025 02:07:10
Module end 'content'
Timing: Jan 18 2025 02:07:10
Script end

Main resources:

Total runtime1.1722 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.0391152.6406
Module start 'layout' 0.00520.0033 740.679739.4844
Module start 'content' 0.00861.1620 780.1641459.7969
Module end 'content' 1.17060.0015 1,239.96098.1250
Script end 1.1721  1,248.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2641160.0002
Check MTime0.00120.1035160.0001
Mysql Total
Database connection0.00070.059210.0007
Mysqli_queries1.123995.8829460.0244
Looping result0.00040.0350440.0000
Template Total1.139497.220.5697
Template load0.00210.179820.0011
Template processing1.137297.021220.5686
Template load and register function0.00020.014410.0002
states
state_id_array0.00100.087710.0010
state_identifier_array0.00130.108920.0006
Override
Cache load0.00170.1455110.0002
Sytem overhead
Fetch class attribute can translate value0.00060.055410.0006
Fetch class attribute name0.00080.071020.0004
XML
Image XML parsing0.00250.210010.0025
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00270.2322160.0002
String conversion0.00000.000740.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs