Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11758
Latest: kefalin
New This Month: 21
New This Week: 5
New Today: 1
Stats
Total Posts: 37049
Total Topics: 6521
Most Online Today: 65
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 45
Total: 45

Author Topic: Block for gallery % info  (Read 5273 times)

0 Members and 1 Guest are viewing this topic.

Offline Apex

  • Newbie
  • *
  • Posts: 7
    • View Profile
Block for gallery % info
« on: May 08, 2008, 04:24:51 pm »
I was told by TinyPortal to ask this question over here, so here it is! :



Is it possible to get a block which will look at a section in side the gallery, determine the top 5 contributors, then display them, greatest first, as a percentage?

For example - in the gallery called wallpaper (cat=4)...

AnimeUK owns 24%
Name2 owns 12%
Name3 owns 7%
Name4 owns 5%
Name5 owns 3%

(I know they don't add up to 100%, but we need to leave the option open that more than 5 people have actually submitted something.)

The code would need to be easily editable so that I can add different 'catergory' numbers.

Thanks in advance!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 13681
    • View Profile
Re: Block for gallery % info
« Reply #1 on: May 08, 2008, 10:11:20 pm »
I will see what I can do this weekend.
Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline Apex

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Block for gallery % info
« Reply #2 on: May 10, 2008, 03:54:58 am »
Thanks  :)

Offline Apex

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Block for gallery % info
« Reply #3 on: May 12, 2008, 11:57:40 am »
Any word on the progress of this block?  :)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 13681
    • View Profile
Re: Block for gallery % info
« Reply #4 on: May 12, 2008, 06:12:26 pm »
Became too busy remind me in the future.
Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline Apex

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Block for gallery % info
« Reply #5 on: May 13, 2008, 09:37:29 am »
LOL. It happens. I'll remind you later, thanks  ;)

 

Related Topics

  Subject / Started by Replies Last post
8 Replies
5651 Views
Last post December 08, 2006, 07:22:32 pm
by TeamVTEC
0 Replies
2297 Views
Last post September 04, 2008, 09:27:18 pm
by Baked_Bruce
1 Replies
1873 Views
Last post January 29, 2009, 09:30:15 pm
by SMFHacks
2 Replies
1922 Views
Last post October 15, 2010, 03:03:02 pm
by Rafferty
6 Replies
1423 Views
Last post October 18, 2014, 11:55:28 am
by shuban

+- Recent Topics

Discovered a critical issue with membergroup purchases by SMFHacks
July 28, 2016, 10:45:42 pm

CheckGroupExpire (activate every hour) by shuban
July 28, 2016, 11:53:21 am

Custom Fields in Gallery by bknapp
July 26, 2016, 04:28:01 pm

Database error on a single child category by Kobytoo
July 21, 2016, 02:04:26 pm

Onclick javascript help by shuban
July 18, 2016, 12:36:39 pm

Finding the sum of a column MYSQL by shuban
July 11, 2016, 11:50:54 am

should my orders show to a logged out user? by SMFHacks
July 10, 2016, 05:03:08 am

Finding the last iteration in a while query by shuban
July 09, 2016, 02:28:39 pm

Auto-incrementing issue? by shuban
July 06, 2016, 01:25:34 pm

Sending an email to expired group members by shuban
July 04, 2016, 07:07:46 pm

Powered by EzPortal