How to display forum information on My profile

Author Message

Jianjun Hu

Tuesday 17 November 2009 7:07:35 pm

I am using eZ 4.2.0. On the My profile page, there are following items:

My drafts
My orders
My pending items
My notification settings
My wish list

I also want to display user's information with forum like these:

My forum topics
My forum replies

I scan the forum, however, no conclusive answer. Could somebody please help me? Thanks!

Best regards!

OnlyBlue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?

Radek Kuchta

Wednesday 18 November 2009 11:09:13 am

You cant just use a standard fetch list function with an attribute filter "owner", see doc page:
http://ez.no/doc/ez_publish/technical_manual/4_x/reference/modules/content/fetch_functions/list

http://ez.no/certification/verify/272582

Jianjun Hu

Wednesday 18 November 2009 5:24:28 pm

Successed!

Thanks, Radek Kuchta

Best regards!

OnlyBlue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?

Marc Humphries

Monday 04 April 2011 8:21:36 am

Hi OnlyBlue,

Were you able to implement this? Would you be willing to share an example of the code you used? I am looking to do the same.

Thanks

Marc

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 30 2025 00:56:23
Script start
Timing: Jan 30 2025 00:56:23
Module start 'layout'
Timing: Jan 30 2025 00:56:23
Module start 'content'
Timing: Jan 30 2025 00:56:23
Module end 'content'
Timing: Jan 30 2025 00:56:23
Script end

Main resources:

Total runtime0.0166 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.2578151.2266
Module start 'layout' 0.00530.0028 739.484436.6797
Module start 'content' 0.00810.0071 776.164194.3438
Module end 'content' 0.01520.0014 870.507833.9922
Script end 0.0166  904.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.3428140.0002
Check MTime0.00116.4639140.0001
Mysql Total
Database connection0.00095.620810.0009
Mysqli_queries0.002615.404330.0009
Looping result0.00000.114910.0000
Template Total0.00106.010.0010
Template load0.00084.656910.0008
Template processing0.00021.331610.0002
Override
Cache load0.00063.344010.0006
General
dbfile0.002514.900180.0003
String conversion0.00000.066140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs