New feature: Mass User Upvote & Bug Fix

in #utopian-io6 years ago (edited)

New Features

  • Added A Mass User Upvote Feature
    This feature helps the curator to see all user's post remotely. It also helps the curator to set a pre-determined upvote percentage and comment for all the upvote or curation he is going to do. The curator can also see a preview of the user's post without having to visit the user's blog, all this can be done from the web app.Most pre-determined details are saved as cookies to help with easy and smart retrieval and smart use when the curators wants to curate again.

Bug Removal

I have also worked a bit on how to display the error sent by steemjs in the front end

Below are the new snapshots for New Feature

Curation Process Credentials Snapshot

a2.PNG

Curation Style Pick Snapshot

a1.PNG

Curation Details Specification Snapshot

a3.PNG

Post Link Snapshot

a4.PNG



How did you implement it/them?

  • To add the user Mass Upvote feature, I had to connect to the blockchain using steemjs url api , while setting a form where the curator specifies the user he/she wishes to curate, including the upvote ratio and the custom comment to use, then the curator is taken to a page featuring all user's post, including a preview section where the user's post is passed using a php markdown-to-html parsing library. Then the curator can then upvote each post without having to visit the user's blogpage. This is to add a sense of flexibility to the curation process.

  • The steemjs api error could only be viewed via the console log, this time around I saved the error via javascript cookie and then 're-echoed' the cookie as a error or result when the upvoting is done using php variable $_COOKIE variable



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the post, very helpful indeed.

WOW!
What can/shall I say?...hmmm
Yeah, I got it
THIS IS uhmmm..... WAWU. smiles
GREAT ONE Bro

Hmmm. Thanks for the support @fanen

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

Hey @akintunde 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

Coin Marketplace

STEEM 0.28
TRX 0.11
JST 0.031
BTC 69371.89
ETH 3768.85
USDT 1.00
SBD 3.71