Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12374
Latest: LevelLord
New This Month: 1
New This Week: 2
New Today: 0
Stats
Total Posts: 40211
Total Topics: 7082
Most Online Today: 67
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 43
Total: 43

Author Topic: Total images.  (Read 11239 times)

0 Members and 1 Guest are viewing this topic.

Offline Livethefire

  • Newbie
  • *
  • Posts: 43
    • View Profile
Total images.
« 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Total images.
« 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.
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 Livethefire

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Total images.
« Reply #2 on: December 29, 2006, 07:35:44 pm »
"take a bit of performance hit." ?
what you mean?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Total images.
« 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.
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 Livethefire

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Total images.
« Reply #4 on: December 29, 2006, 07:58:41 pm »
yeah sounds good.
would it drain much server usage or anything?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Total images.
« Reply #5 on: December 29, 2006, 07:59:59 pm »
Not really. Just takes a little extra.
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 Livethefire

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Total images.
« Reply #6 on: December 29, 2006, 08:01:25 pm »
Is it ok for you to try it for me?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Total images.
« Reply #7 on: December 29, 2006, 08:10:13 pm »
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 Livethefire

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Total images.
« Reply #8 on: December 29, 2006, 08:14:28 pm »
That ok?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Total images.
« 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.
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 Livethefire

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Total images.
« Reply #10 on: December 29, 2006, 09:22:26 pm »
will do

Offline gibbs

  • Newbie
  • *
  • Posts: 33
  • Using SMF Gallery and Classifieds
    • View Profile
Re: Total images.
« 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! ;)

Thanks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15105
    • View Profile
Re: Total images.
« 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! ;)

Thanks.
In 1.2 beta heh
http://www.smfhacks.com/index.php/topic,395.0.html
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 gibbs

  • Newbie
  • *
  • Posts: 33
  • Using SMF Gallery and Classifieds
    • View Profile
Re: Total images.
« Reply #13 on: January 08, 2007, 01:45:04 am »
Cool! Glad to see I've spent my money well.

Thanks!

Offline Raptor

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Total images.
« 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...  ;)

Thanks! Keep up the good work!
Eric.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2940 Views
Last post February 10, 2007, 11:29:06 am
by SMFHacks
9 Replies
8246 Views
Last post April 18, 2008, 09:29:16 am
by MazdaClubTR
2 Replies
4067 Views
Last post September 28, 2008, 03:11:17 am
by Vincent Volmer
2 Replies
3011 Views
Last post November 25, 2009, 10:41:10 am
by Doughboy99
11 Replies
5940 Views
Last post March 30, 2013, 07:49:26 pm
by madfiddler

+- Recent Topics

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

SMF Social Login Pro - Discontinued? by Nicole
May 02, 2020, 05:47:04 pm

Likes by SMFHacks
April 30, 2020, 09:50:35 pm

Upgrade Issue - by SMFHacks
April 28, 2020, 12:40:13 pm

Powered by EzPortal