View previous topic :: View next topic |
Author |
Message |
kittyshootingstar Very bored

Joined: 19 Mar 2006 Posts: 174 Location: my computer
|
Posted: Mon Dec 10, 2007 6:36 pm Post subject: Comment glitch? |
|
|
Ok, so I'm working in 3 windows at once: Photoshop, FAC, and my e-mail. My e-mail pops up with a message saying one of my pictures has recieved a new comment. I click on the link in the e-mail, and no comment. The comment count says 2, but only one is showing up on my compie. the pic is here http://www.fanart-central.net/pic-649562.html
Is this a glitch? Is anyone else noticing something like this? Or did the commenter just delete their comment for some reason and the count didn't register it?
If anyone could answer this, it would be very helpful!
Oh, and yes, I have tried the url to show full comments. |
|
Back to top |
|
 |
Selphius Very bored

Joined: 31 Dec 1969 Posts: 176 Location: Your back pocket.
|
Posted: Mon Dec 10, 2007 7:09 pm Post subject: |
|
|
Someone commented then deleted their comment, most likely. The comment count stays the same but the deleted comment does not stay. _________________ "And on the eigth day, Final Fantasy XI was made, and the Lord then said, "Thou shalt level thine subjob, lest the party cry 'n00b!1' and smite thee."" - CrystalOmega |
|
Back to top |
|
 |
kittyshootingstar Very bored

Joined: 19 Mar 2006 Posts: 174 Location: my computer
|
Posted: Mon Dec 10, 2007 7:11 pm Post subject: |
|
|
Ok, thanks. I didn't know the count didn't register that. |
|
Back to top |
|
 |
Sora121 Developer

Joined: 02 Oct 2006 Posts: 2591 Location: I'm here some place
|
Posted: Mon Dec 10, 2007 7:39 pm Post subject: |
|
|
We may work on this counter problem in the future. |
|
Back to top |
|
 |
Stratadrake Elder Than Dirt

Joined: 05 May 2004 Posts: 13721 Location: Moo
|
Posted: Mon Dec 10, 2007 8:39 pm Post subject: |
|
|
There is one deleted-comment by Tala777. That's why the counter says "2".
We should probably fix that sometime... no harm in decrementing the # comments stat when removing a comment. _________________ Strata here: [url=http://www.nanowrimo.org/eng/user/242293]Nanowrimo[/url] - [url=www.fanart-central.net/user-Stratadrake.php]FAC[/url] - [url=http://stratadrake.deviantart.com]dA[/url] - [url=www.furaffinity.net/user/Stratadrake/]FA[/url]
[size=9]Disclaimer: Posts may contain URLs. Click [url=http://tvtropes.org/pmwiki/pmwiki.php/Main/TVTropesWillRuinYourLife]at your own risk.[/url][/size] |
|
Back to top |
|
 |
Sora121 Developer

Joined: 02 Oct 2006 Posts: 2591 Location: I'm here some place
|
Posted: Mon Dec 10, 2007 9:17 pm Post subject: |
|
|
[quote="Stratadrake"]There is one deleted-comment by Tala777. That's why the counter says "2".
We should probably fix that sometime... no harm in decrementing the # comments stat when removing a comment.[/quote]
Problem with that is that I believe Denis uses a DB row count instead of and actual stored number.
Making it work, since we flag and not delete, would require counting comments flagged and subtracting from comments not flagged, according to owner_id's and that bit.
(Excuse me, not exactly the right place to say this. Feel free to delete it.) |
|
Back to top |
|
 |
kittyshootingstar Very bored

Joined: 19 Mar 2006 Posts: 174 Location: my computer
|
Posted: Tue Dec 11, 2007 12:03 pm Post subject: |
|
|
Ok, thanks for the help guys. ^^ Glad it wasn't just me. you can go ahead and lock this board, since my problem is solved. Again, thanks! |
|
Back to top |
|
 |
Stratadrake Elder Than Dirt

Joined: 05 May 2004 Posts: 13721 Location: Moo
|
Posted: Tue Dec 11, 2007 5:50 pm Post subject: |
|
|
[quote]Problem with that is that I believe Denis uses a DB row count instead of an actual stored number.
Making it work, since we flag and not delete, would require counting comments flagged and subtracting from comments not flagged, according to owner_id's and that bit.[/quote]
# comments already is an actual stored number. _________________ Strata here: [url=http://www.nanowrimo.org/eng/user/242293]Nanowrimo[/url] - [url=www.fanart-central.net/user-Stratadrake.php]FAC[/url] - [url=http://stratadrake.deviantart.com]dA[/url] - [url=www.furaffinity.net/user/Stratadrake/]FA[/url]
[size=9]Disclaimer: Posts may contain URLs. Click [url=http://tvtropes.org/pmwiki/pmwiki.php/Main/TVTropesWillRuinYourLife]at your own risk.[/url][/size] |
|
Back to top |
|
 |
Sora121 Developer

Joined: 02 Oct 2006 Posts: 2591 Location: I'm here some place
|
Posted: Tue Dec 11, 2007 6:15 pm Post subject: |
|
|
[quote="Stratadrake"][quote]Problem with that is that I believe Denis uses a DB row count instead of an actual stored number.
Making it work, since we flag and not delete, would require counting comments flagged and subtracting from comments not flagged, according to owner_id's and that bit.[/quote]
# comments already is an actual stored number.[/quote]
If I'm doing it, makes my job easier  |
|
Back to top |
|
 |
cstdenis Evil Overlord

Joined: 31 Dec 1969 Posts: 6490 Location: In the tubes.
|
Posted: Tue Dec 11, 2007 10:28 pm Post subject: |
|
|
Comment count is a stored number because counting them is too slow/resource intensive.
someday I'll rewrite the counter code to work right with deleted ones. I did it already for something else -- picture counts I think. _________________ You will obey or molten silver will be poured into your ears. |
|
Back to top |
|
 |
|