Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11206
Latest: photoflavio
New This Month: 17
New This Week: 0
New Today: 0
Stats
Total Posts: 33475
Total Topics: 5966
Most Online Today: 99
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 3
Guests: 68
Total: 71

Author Topic: Block for gallery % info  (Read 4534 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: 12219
    • 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: 12219
    • 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  ;)

 

+- Recent Topics

Source under the description by shuban
Today at 01:27:29 pm

Changes by SMFHacks
Today at 11:29:26 am

SMF Gallery 8 video linked from Facebook by SMFHacks
Today at 09:06:37 am

SMFHacks.com updated to SMF 2.0! by SMFHacks
September 20, 2014, 11:02:01 pm

Changing a recount script by SMFHacks
September 20, 2014, 08:48:27 am

Changing number of photos per page and row not listing right on main gallery by Jonas1975
September 20, 2014, 03:33:36 am

Add color functionality to the usernames of this query by shuban
September 19, 2014, 11:57:03 pm

Keywords separation by shuban
September 18, 2014, 11:09:40 pm

Connecting two tables by shuban
September 18, 2014, 08:00:21 pm

Search memberlist by shuban
September 17, 2014, 06:40:49 pm

Powered by EzPortal