Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 64
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 156
Total: 156

Author Topic: Total images.  (Read 12897 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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
3289 Views
Last post January 26, 2007, 08:59:52 pm
by joh87swe
9 Replies
10601 Views
Last post April 18, 2008, 09:29:16 am
by MazdaClubTR
2 Replies
5514 Views
Last post September 28, 2008, 03:11:17 am
by Vincent Volmer
Total images Column

Started by guest3817 Feature Requests

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

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal