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

Home » FUDforum Development » FUDforum 3.0+ » Question: Message counter
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
icon5.gif  Question: Message counter [message #5920] Fri, 27 September 2002 11:46 Go to next message
ctbk is currently offline  ctbk   Italy
Messages: 142
Registered: April 2002
Location: Milan, Italy
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 12: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
add to buddy list
ignore all messages by this user
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 17: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
add to buddy list
ignore all messages by this user
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 18:08 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
You need to modify the set_post_count() function inside users.inc.t

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

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

Current Time: Sun Oct 22 05:59:59 EDT 2017

Total time taken to generate the page: 0.00630 seconds