Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11774
Latest: fricokapre
New This Month: 13
New This Week: 1
New Today: 0
Stats
Total Posts: 37078
Total Topics: 6531
Most Online Today: 92
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 1
Guests: 64
Total: 65

Author Topic: Block for gallery % info  (Read 5295 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: 13692
    • 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: 13692
    • 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
5684 Views
Last post December 08, 2006, 07:22:32 pm
by TeamVTEC
0 Replies
2304 Views
Last post September 04, 2008, 09:27:18 pm
by Baked_Bruce
1 Replies
1888 Views
Last post January 29, 2009, 09:30:15 pm
by SMFHacks
2 Replies
1951 Views
Last post October 15, 2010, 03:03:02 pm
by Rafferty
6 Replies
1449 Views
Last post October 18, 2014, 11:55:28 am
by shuban

+- Recent Topics

Custom Fields in Gallery by bknapp
August 22, 2016, 06:47:48 pm

Additional Membergroups by Tonyvic
August 19, 2016, 03:45:29 am

Replace into MySQL question by SMFHacks
August 17, 2016, 05:12:18 pm

How do members cancel their subscription? by SMFHacks
August 16, 2016, 02:32:58 pm

new feature request - sorting images by SMFHacks
August 13, 2016, 12:16:50 pm

missing features on some gallery albums by paula
August 12, 2016, 02:14:37 pm

How could I neatly combine these similar codes using foreach by SMFHacks
August 06, 2016, 01:28:35 pm

Rewriting the subscription coding by shuban
August 06, 2016, 12:43:18 am

How do I cache this query that I placed in Load.php by shuban
August 06, 2016, 12:33:58 am

How do you string these two queries to by shuban
August 05, 2016, 11:40:44 am

Powered by EzPortal