Update how many posts a member has

Author Message

Anders Moen

Saturday 26 May 2007 2:01:15 am

Hello!

I have posted two posts now (this is my third) and in my first topic it says:
"Posts: 1" (I tried to update it too)
and in my new post it says:
"Posts: 2"

Maybe consider to do something with it? It's kinda hard to know exactly how many posts a person have here.

Thanks!

Regards,
Anders Moen

Nabil Alimi

Saturday 26 May 2007 2:39:19 am

Hi Anders,

This issue is cache-related. There's nothing much that can be done without dramatically reducing performances.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Anders Moen

Saturday 26 May 2007 5:31:58 am

Hello!

Ok...now I see it has updated after I had deleted my cache.. Have you tried this pragma code to use no-cache or the PHP-code?

<meta http-equiv="Pragma" content="no-cache" />

I don't remember the PHP-code right now, I don't even remember if that's the right (X)HTML-code..

Regards,
Anders Moen

Xavier Dutoit

Monday 11 June 2007 10:03:54 am

Hi,

That's not the reason of delayed update. The problem is that generate each forum post page only when there is a new reply (the cache nabil mentioned is a ez cache on the server, not a problem of cache network related).

To get the count updated, you would need to clear all the forums post where the author has replied or posted himself... and would obviously have quite an impact on the performance.

X+

http://www.sydesy.com

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