___  ___    _ _    _  _ _____   _____
 / __|/ _ \  | | |  | || |_ _\ \ / / __|
| (_ | (_) | |_  _| | __ || | \ V /| _|
 \___|\___/    |_|  |_||_|___| \_/ |___|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

Steemit Pending Payouts Checker PHP

BY: @odl | CREATED: Dec. 24, 2017, 10:25 p.m. | VOTES: 67 | PAYOUT: $42.51 | [ VOTE ]

Hello there

Today I am making up for introducing a project I wrote for Steemit.

To briefly explain the purpose of the project:
A web project that shows your account's pending payments.

You can see the total amount to be paid with this project written with SteemJS Api support.

So you will not have to constantly calculate.

I think this project using PHP and HTML will be of great benefit to Steemit users.

There are 3 files in the project.

[IMAGE: https://res.cloudinary.com/hpiynhbhq/image/upload/v1514154035/uornzcq7jmtkks2v1nkj.png]

-index.php

-result.php

-logo.png

[IMAGE: https://steemitimages.com/0x0/https://res.cloudinary.com/hpiynhbhq/image/upload/w_0.1,c_scale/v1513027959/m9bzv2esp5c1a741628v.png]

https://github.com/oguzdelioglu/Steemit-Pending-Payouts-Checker-PHP

Index.php

The form page used to enter the user data the user wants to query.

[IMAGE: https://res.cloudinary.com/hpiynhbhq/image/upload/v1514154035/mh2wbdivxzqv0ejtrqvb.png]

result.php


The results page showing the user's outstanding payments using the SteemJS API system.

[IMAGE: https://res.cloudinary.com/hpiynhbhq/image/upload/v1514154035/aqtzluoxakbnsfqalyul.png]

logo.png


The Steemit Platform's Logo.

Codes

Index.php

  Your Steemit Account Name

Result.php

a {
  text-decoration:none;
}
a:visited {
    color: darkgreen;
}
';

echo '';
echo '';
echo '';
echo '

';
echo '

';
echo '
';
$total_price = 0;
foreach ($data as $item) {
try
{
if(!($item["pending_payout_value"]=="0.000 SBD"))
{
echo "";
$post_link = "https://www.steemit.com/@".$item["author"]."/".$item["permlink"];
$post_title = $item["title"];
$price = str_replace(" SBD", "", $item["pending_payout_value"]);
$total_price = $total_price + $price;
echo ''.$post_title.' '.$item["pending_payout_value"].'';
echo "";
wait(0.1);
}
}
catch(Exception $e)
{
}
}
echo 'Total SBD:'.$total_price.'';
echo '';
echo '';
echo '';

function wait($time)
{
    usleep(1000000*$time);
    ob_flush();
    flush();
}
?>

If you have ideas or suggestions about the project, you can specify it as a comment.

Posted on Utopian.io - Rewarding Open Source Contributors

TAGS: [ #utopian-io ] [ #utopian-io ] [ #development ] [ #steemit ] [ #php ]

Replies

@sornonil | Dec. 25, 2017, 3:03 a.m. | Votes: 0 | [ VOTE ]

Good post.I am upvote and comment your post.Please do same.
https://steemit.com/galaxy/@sornonil/what-is-the-radial-velocity-method

@steemitboard | Dec. 25, 2017, 6:07 p.m. | Votes: 0 | [ VOTE ]

Congratulations @odl! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[IMAGE: https://steemitimages.com/70x80/http://steemitboard.com/notifications/payout.png] Award for the total payout received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

> By upvoting this notification, you can help all Steemit users. Learn how here!

@codingdefined | Dec. 27, 2017, 3:49 a.m. | Votes: 0 | [ VOTE ]

Thank you for the contribution. It has been approved.

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

@therecantonlybe1 | Dec. 27, 2017, 9:21 p.m. | Votes: 1 | [ VOTE ]

I really need this. I am new and I don't even really know how to calculate future payments, so an app that doesn't for me is helpful.

@akeemqaz | Dec. 27, 2017, 9:28 p.m. | Votes: 0 | [ VOTE ]

Nice post..
I want to learn from you.
I wish

@rwedegis | Dec. 27, 2017, 10:17 p.m. | Votes: 1 | [ VOTE ]

Good job! Keep up the good work!

@bonds | Dec. 27, 2017, 10:59 p.m. | Votes: 0 | [ VOTE ]

Congratulations, you have received a free upvote from @bonds!

Bonds offers a hedge against volatility as well as paid upvote and reSTEEM services.

Bonds is not a bot- this is run by humans, for humans.

Check out our #introduceyourself post to find- out more- if you like the idea, like or reSTEEM it, and we all benefit.

Happy STEEMing!

@dudeontheweb | Dec. 27, 2017, 11:13 p.m. | Votes: 0 | [ VOTE ]

Great post. A small suggestion is could you please add comments your PHP code to let others know whats's going on and what each piece of code is doing. Helps with newbies to PHP and in debugging . Cheers!

@notoriousrebel | Dec. 27, 2017, 11:22 p.m. | Votes: 0 | [ VOTE ]

This is an awesome project that will go many places. Perhaps writing it in different languages such as python would be nice

@jmcmeekin | Dec. 28, 2017, 12:57 a.m. | Votes: 0 | [ VOTE ]

Thank you for sharing this. Maybe you should check out steem.supply. They offer this service already.

@teevmoore | Dec. 28, 2017, 2:39 a.m. | Votes: 0 | [ VOTE ]

thanks for sharing

@utopian-io | Dec. 28, 2017, 5:41 a.m. | Votes: 0 | [ VOTE ]

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

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • 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!
- Vote for my Witness With SteemConnect
- Proxy vote to Utopian Witness with SteemConnect
- Or vote/proxy on Steemit Witnesses

[IMAGE: https://steemitimages.com/DQmYPUuQRptAqNBCQRwQjKWAqWU3zJkL3RXVUtEKVury8up/mooncryption-s-utopian-io-witness-gif.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

@steemit9ja | Dec. 28, 2017, 2:40 p.m. | Votes: 0 | [ VOTE ]

This is promising now I know I can write apps using json and php using steem blockchain as the platform. Have been trying to make a bot with php and steem API, a curating bot for my community

@moazzamali | Dec. 28, 2017, 3:37 p.m. | Votes: 0 | [ VOTE ]

I like your post and always Like your Post.. check my Wall post and Upvote :)

@gleb-jeglov | Dec. 29, 2017, 3:22 a.m. | Votes: 0 | [ VOTE ]

I like it! Subscribe to your blog!

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>