MySteemitFriends.Online new feature: Voting history between 2 dates

in #utopian-io6 years ago (edited)

New Features

  • What feature(s) did you add?

Have you ever voted for an article but not be able to find it a few days later? Using this new tool on My Steemit Friends, you can look up your vote history between any two dates. To test out this feature, go to http://mysteemitfriends.online/ and enter your username in the textbox, then click the grey "upvote history" button.

image.png

You will then be taken to the history of your upvotes page, where you will see a list of articles between 2 dates.

image.png

By default, the two dates are between a month ago and today. But you can change the dates or the user name and click the "List Articles" button, and it will refresh the results.

image.png

  • How did you implement it/them?

Articlelist.php: The Controller manages the user requests received as HTTP GET by calling the appropriate model for the task and then selects the proper view. In this case it calls the model defined in the file 'models/upvotehistory.php' (selects the data from the database for the list of articles a user has upvoted between 2 dates) and selects the view defined in 'views/articlelist.php (displays the data onto the page).

models/upvotehistory.php: The model class which allows access for the data to be viewed. In this case the data for the list of articles upvoted by the user. It uses a prepared SQL statement to prevent SQL injection.

views/articlelist.php: The view for presenting the data received from the model onto the page.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

thank you so much :)

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

Waao that's a really interesting and useful feature Brother, keep it up 😇

I think this tool you have built is just great, it has the power of many other tools all in one place, certainly one for a bookmark. Great work @magicmonk

Coin Marketplace

STEEM 0.19
TRX 0.14
JST 0.030
BTC 60122.55
ETH 3199.29
USDT 1.00
SBD 2.43