SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 01:15:59 pm

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 84
Total: 84
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Total images.  (Read 6341 times)
Livethefire
Newbie
*
Offline Offline

Posts: 43


View Profile
« 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?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 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.
Logged
Livethefire
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #2 on: December 29, 2006, 07:35:44 pm »

"take a bit of performance hit." ?
what you mean?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #3 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.
Logged
Livethefire
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #4 on: December 29, 2006, 07:58:41 pm »

yeah sounds good.
would it drain much server usage or anything?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #5 on: December 29, 2006, 07:59:59 pm »

Not really. Just takes a little extra.
Logged
Livethefire
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #6 on: December 29, 2006, 08:01:25 pm »

Is it ok for you to try it for me?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #7 on: December 29, 2006, 08:10:13 pm »

Add it to my todo list
http://www.smfhacks.com/index.php/topic,306.0.html
Logged
Livethefire
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #8 on: December 29, 2006, 08:14:28 pm »

That ok?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #9 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.
Logged
Livethefire
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #10 on: December 29, 2006, 09:22:26 pm »

will do
Logged
gibbs
Newbie
*
Offline Offline

Posts: 33

Using SMF Gallery and Classifieds


View Profile
« Reply #11 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! Wink

Thanks.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #12 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! Wink

Thanks.
In 1.2 beta heh
http://www.smfhacks.com/index.php/topic,395.0.html
Logged
gibbs
Newbie
*
Offline Offline

Posts: 33

Using SMF Gallery and Classifieds


View Profile
« Reply #13 on: January 08, 2007, 01:45:04 am »

Cool! Glad to see I've spent my money well.

Thanks!
Logged
Raptor
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #14 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...  Wink

Thanks! Keep up the good work!
Eric.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 08:02:50 am]

[Today at 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.768 seconds with 21 queries.