SMFHacks.com

SMF Gallery Pro => Support => Feature Requests => Topic started by: Livethefire on December 29, 2006, 07:08:00 pm

Title: Total images.
Post by: Livethefire on December 29, 2006, 07:08:00 pm
Sorry for all the bother, the mods great, im just getting very nitty gritty now.

in the global gallery.

I have two catergorites with a few sub cats in each,
The categories show, "0" images whever there are iamges in the subcategories.
( i do know why this is)

But im just wondering if you can either remove this figure, OR, make it show the true amount inthe category and sub-categories?
Title: Re: Total images.
Post by: SMFHacks on December 29, 2006, 07:16:47 pm
I can possibly do one level of subcategories image count will be a take little bit of performance hit.
Title: Re: Total images.
Post by: Livethefire on December 29, 2006, 07:35:44 pm
"take a bit of performance hit." ?
what you mean?
Title: Re: Total images.
Post by: SMFHacks on December 29, 2006, 07:51:33 pm
Well the query would have to search for all categories that are the parent for the category and count up the number of images for all sub the categories.
It will be an option if I add that.
Title: Re: Total images.
Post by: Livethefire on December 29, 2006, 07:58:41 pm
yeah sounds good.
would it drain much server usage or anything?
Title: Re: Total images.
Post by: SMFHacks on December 29, 2006, 07:59:59 pm
Not really. Just takes a little extra.
Title: Re: Total images.
Post by: Livethefire on December 29, 2006, 08:01:25 pm
Is it ok for you to try it for me?
Title: Re: Total images.
Post by: SMFHacks on December 29, 2006, 08:10:13 pm
Add it to my todo list
http://www.smfhacks.com/index.php/topic,306.0.html
Title: Re: Total images.
Post by: Livethefire on December 29, 2006, 08:14:28 pm
That ok?
Title: Re: Total images.
Post by: SMFHacks on December 29, 2006, 08:27:33 pm
Yeah that's fine. Also any other feature requests or improvements that you want to see post in that topic.
Title: Re: Total images.
Post by: Livethefire on December 29, 2006, 09:22:26 pm
will do
Title: Re: Total images.
Post by: gibbs on January 07, 2007, 01:44:50 pm
I'd just like to second this. I have most of my pictures in subcategories, so on the front page, it looks like I don't have any pics! ;)

Thanks.
Title: Re: Total images.
Post by: SMFHacks on January 07, 2007, 02:48:21 pm
I'd just like to second this. I have most of my pictures in subcategories, so on the front page, it looks like I don't have any pics! ;)

Thanks.
In 1.2 beta heh
http://www.smfhacks.com/index.php/topic,395.0.html
Title: Re: Total images.
Post by: gibbs on January 08, 2007, 01:45:04 am
Cool! Glad to see I've spent my money well.

Thanks!
Title: Re: Total images.
Post by: Raptor on January 15, 2007, 02:09:02 am
I can possibly do one level of subcategories image count will be a take little bit of performance hit.

Do you think it's possible to give the admin a choice of how many levels should be calculated at the upper level?
For instance via a pull down menu:
0 = no calculated totals
1 = upper level PLUS first sub category
2 = upper level PLUS first two sub categories
3 = upper level PLUS all sub categories

On this way the admin can decide whether the (possible) performance loss is acceptable or not. Would be very handy for me, though...  ;)

Thanks! Keep up the good work!
Eric.