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: 339
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 330
Total: 330

Author Topic: Total images.  (Read 12940 times)

0 Members and 1 Guest are viewing this topic.

Offline Livethefire

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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: 16452
    • 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

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

Offline gibbs

  • Member
  • *
  • 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: 16452
    • 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

  • Member
  • *
  • 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

  • Member
  • *
  • 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
2 Replies
3311 Views
Last post January 26, 2007, 08:59:52 pm
by joh87swe
9 Replies
10653 Views
Last post April 18, 2008, 09:29:16 am
by MazdaClubTR
2 Replies
5524 Views
Last post September 28, 2008, 03:11:17 am
by Vincent Volmer
Total images Column

Started by guest3817 Feature Requests

2 Replies
4403 Views
Last post November 25, 2009, 10:41:10 am
by guest3817
11 Replies
9109 Views
Last post March 30, 2013, 07:49:26 pm
by madfiddler

+- 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