Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12411
Latest: PabloWatts
New This Month: 1
New This Week: 1
New Today: 0
Stats
Total Posts: 39948
Total Topics: 7033
Most Online Today: 67
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 47
Total: 47

Author Topic: Total images.  (Read 11092 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: 14978
    • 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: 14978
    • 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: 14978
    • 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: 14978
    • 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: 14978
    • 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: 14978
    • 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
2898 Views
Last post February 10, 2007, 11:29:06 am
by SMFHacks
9 Replies
8157 Views
Last post April 18, 2008, 09:29:16 am
by MazdaClubTR
2 Replies
4038 Views
Last post September 28, 2008, 03:11:17 am
by Vincent Volmer
2 Replies
2930 Views
Last post November 25, 2009, 10:41:10 am
by Doughboy99
11 Replies
5759 Views
Last post March 30, 2013, 07:49:26 pm
by madfiddler

+- Recent Topics

hashTags only used by admins, but visible to everyone? by SMFHacks
December 04, 2019, 11:08:35 am

Responsive Layout by Matthias
November 30, 2019, 03:05:57 pm

Secure connection failed Pretty Url Pro by Rock Lee
November 26, 2019, 10:44:23 am

Black Friday Sale Week 2019 by SMFHacks
November 23, 2019, 04:47:56 pm

German Translation missing in SMF 2.1R1 by SMFHacks
November 19, 2019, 02:38:42 pm

Unread items issue by SMFHacks
November 19, 2019, 10:07:32 am

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

most popular categories doesnt work by fussilet
November 02, 2019, 02:51:42 pm

Powered by EzPortal