Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 230
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 210
Total: 210

Author Topic: Counts child categories listing totals  (Read 4471 times)

0 Members and 1 Guest are viewing this topic.

Offline telfordforum

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 11
    • View Profile
Counts child categories listing totals
« on: March 13, 2011, 06:38:54 am »
If this is checked should it count grand-child category posts in the grand-parent?

It seems to only include the child totals and does not go further in the hierarchy.

So on the main page is shows zero, the child shows 1 and the grandchild shows 1.

The main page gives the impression that nothing is listed in the categories hierarchy when the the grand-child category has an item.

Is that right - or have I missed something?

Thank you

ps. Read this thread by calumbo http://www.smfhacks.com/index.php/topic,2876.0.html

and wondered whether the same code could be applied to the function GetListingTotals in Classifieds.template.php.

I know it eats resources but it looks as if the top level categories are empty at the moment - please help
« Last Edit: March 14, 2011, 08:07:32 am by telfordforum »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Counts child categories listing totals
« Reply #1 on: March 15, 2011, 12:11:53 am »
Working on an update for this requires some extra code and does not eat a lot of resources. Hopefully by the end of this week.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline telfordforum

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 11
    • View Profile
Re: Counts child categories listing totals
« Reply #2 on: March 15, 2011, 03:18:10 am »
Thank you  :)

Offline telfordforum

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 11
    • View Profile
Re: Counts child categories listing totals
« Reply #3 on: March 21, 2011, 06:32:51 am »
Hi.. just checking back as this feature would be wonderful to see implemented.

Was the code on Calumbo's thread along the right lines?

Thanks for your help - when this feature gets introduced - it will make SMF Classifieds a whole lot more attractive

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Counts child categories listing totals
« Reply #4 on: March 21, 2011, 07:12:39 am »
Still working on it got busy with some other tasks hopefully this week.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Counts child categories listing totals
« Reply #5 on: March 21, 2011, 11:39:59 pm »
Got it added and pushed an update
1.3.9
+Added unlimited subcategory listing total counting when you have count subcategories enbabled
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline telfordforum

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 11
    • View Profile
Re: Counts child categories listing totals
« Reply #6 on: March 22, 2011, 06:47:21 am »
Works like a dream  :)

Thank you so much!

 

Related Topics

  Subject / Started by Replies Last post
28 Replies
23760 Views
Last post April 13, 2007, 07:56:47 am
by sduford
1 Replies
5980 Views
Last post August 13, 2007, 06:32:32 pm
by SMFHacks
5 Replies
8352 Views
Last post June 28, 2008, 09:38:39 pm
by SMFHacks
4 Replies
8047 Views
Last post October 03, 2008, 05:25:21 pm
by calumbo
1 Replies
4851 Views
Last post February 03, 2010, 11:23:13 am
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal