FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » Question: Message counter
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon5.gif  Question: Message counter [message #5920] Fri, 27 September 2002 15:46 Go to next message
ctbk is currently offline  ctbk   Italy
Messages: 142
Registered: April 2002
Location: Milan, Italy
Karma: 0
Senior Member
When the message counter is recalculated?
When a topic containing messages of mine is deleted, my msg counter is decremented?

When I "check forum consistency" msg counters are recalculated?

Thanx,
Ste


~
~
:wq
Re: Question: Message counter [message #5925 is a reply to message #5920] Fri, 27 September 2002 16:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
When a message is added or removed the counter is increased or decreased depending on the action. It is not recalculated from scratch, that is only done by the consistency checker.

FUDforum Core Developer
Re: Question: Message counter [message #5945 is a reply to message #5925] Fri, 27 September 2002 21:24 Go to previous messageGo to next message
ctbk is currently offline  ctbk   Italy
Messages: 142
Registered: April 2002
Location: Milan, Italy
Karma: 0
Senior Member
Oh, I see... and what's the file to modify to avoid the counters' decreasing?

On our forum we delete large numbers of them (the oldest ones) once a day, to avoid the DB from going too large.

Our users, on the other hand, don't like to see their little numbers decreasing... Silly but true Smile


~
~
:wq
Re: Question: Message counter [message #5946 is a reply to message #5945] Fri, 27 September 2002 22:08 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to modify the set_post_count() function inside users.inc.t

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Translators Needed
Next Topic: Bug in compiler.inc?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 08:02:49 GMT 2024

Total time taken to generate the page: 0.02541 seconds