How To Make Grandchild Posts Show In Grandparents Stats

Started by Xarcell, March 07, 2011, 09:24:40 PM

Previous topic - Next topic

Xarcell

For SMF 2.0 RC5

Currently, there is an option to "Count child's posts in parent's totals".

While this works, it doesn't show in Grandparent's totals. I have some boards that are 4 children deep. How do I get all those posts show up in the grandparents totals? Is there a simple hack to do this?

Thanks.

Baby Daisy

あなたは私のお尻にキスするとき、私はそれを愛する

Xarcell


live627

You know that HUGE query in Subs-BoardIndex.php that gets executed when on a board index? It'll need modified to allow this. Oh, and it'll perform MUCH worse, too.

Question: Why? Why in the name of $deity should one make a hugely ugly query much slower?

Xarcell

Quote from: live627 on March 08, 2011, 12:32:37 AM
You know that HUGE query in Subs-BoardIndex.php that gets executed when on a board index? It'll need modified to allow this. Oh, and it'll perform MUCH worse, too.

Question: Why? Why in the name of $deity should one make a hugely ugly query much slower?

Ok, well I don't want to hurt the performance that much. I take your word for it.

Thanks live627, your a champ ;P

BTW, how's the portal coming along?

live627

Er, which one? Doesn't matter -- the answer is the same for both.. Pretty much on hold... I have a paid project going on right now.

Advertisement: