PDA

View Full Version : Message counters: submissions now fixed


yak
11-24-2006, 11:49 AM
The counting method has been replaced, script execution timeouts when nuking or removing new submission messages removed.
The whole thing uses transactions now, so the chances of new submission counters skewing again due database errors are reduced to minimal.

The re-count takes in account your "view adult art" switch and the administrative mature lock, making sure it actually returns the number of submission you /can/ see.

However, due the specifics (more like limitations) of the current message dispatching system FA uses, people who have their adult switch turned off, or were blocked out of viewing mature art /will still/ receive new submission messages, even thou they will not see them. Removing any image, however, triggers the re-count which will update the database with correct number of messages.

This is a fix for new submission messages only, more to follow soon.

Rhainor
11-24-2006, 01:53 PM
So essentially, if someone's message count was off before this change, it'll stay off by the same amount for the time being?

yak
11-24-2006, 01:57 PM
So essentially, if someone's message count was off before this change, it'll stay off by the same amount for the time being?
I wouldn't say it was fixed if it still had such a huge flaw, wouldn't i? No, it works correctly now.
The re-count takes in account your "view adult art" switch and the administrative mature lock, making sure it actually returns the number of submission you /can/ see.

Rhainor
11-24-2006, 02:11 PM
Then why am I still showing -1 new messages, when there are none?

yak
11-24-2006, 03:38 PM
+--------------+--------------+-----------------+----------------+---------------+------------+------------+
| comments | journals | submissions | favorites | admessages | notes | watchcount |
+--------------+--------------+-----------------+----------------+---------------+------------+------------+
| 0 | -1 | 0 | 0 | 0 | 0 | 0 |
+--------------+--------------+-----------------+----------------+---------------+------------+------------+

^
*chuckle* *points at thread title* _______/

v
Message counters: submissions now fixed

Rhainor
11-25-2006, 01:15 AM
Ah...Only the submissions portion of the message system in question here.

I need to stop skimming...