My Steemit Friends new feature: Ranking table showing total $ amount contributed by all of your contributors

in #utopian-io6 years ago (edited)

New Features

  • What feature(s) did you add?

On My Steemit Friends, you can now view the ranking table showing total $ amount contributed by all of your contributors towards your articles (including curator and author payout), throughout the entire history of Steemit.

Simply type your username onto the main page located at http://mysteemitfriends.online/, and click the orange "Contributors" button.

image.png

You will be taken to a new page with your ranking already loaded.

image.png

You can also type another username into the textbox on this page and click "Show Top Contributors" to see an updated ranking.

image.png

  • How did you implement it/them?


    Relevant Commit


    contributors.php: Firstly the username of the steemit author is retrieved from the URL using PHP and stored in a variable. This variable is sanitized using filter_var and then the value of the variable is bound to the prepared SQL statement to find the rshares contributed by each voter, for each article. The amount of rshares contributed is divided by the total rshares of each article, and then divided by the total payout of each article (including author and curator payout), to give the amount contributed towards that article. All of these individual amounts contributed is totaled for each other and then displayed in descending order in the ranking table.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Woah! I didn't expected that one at all! It's super impressive!

Thank you so much teamsteem. Your guidance and support helped make this happen. Much appreciated.

Thank you for the contribution. It has been approved.

Another great addition!

Just wondering why from line 120 everything is double spaced? (I've seen that a few times in your contributions)

You can contact us on Discord.
[utopian-moderator]

thank you @helo. I'll clean it up for future commits. Much appreciated.

Hey @magicmonk I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

thank you utopian!

Waaoo I really love this new feature and I personally use steempower before that but now I can use your tool for seeing the information

It would be awesome if you add the total number of upvotes that we received from our contributors right after the total contribution.

Excellent tool and post too! This is one I'll be using for sure. As its still active I'll be resteeming it. You have a new follower too, Vegan for the win in 2018!

my steemit friends online tool is awesome..thank you @magicmonk to share this tools with us..you always bring something new to us..this tools was really helpful..

This is an awesome feature. Thank you for your work.

Coin Marketplace

STEEM 0.29
TRX 0.13
JST 0.033
BTC 63133.02
ETH 3043.69
USDT 1.00
SBD 3.63