New Features and Bug Fixes for PHP-UPVOTE-COMMENT-BOT

in #utopian-io6 years ago (edited)

To start with, this project is a fork of this project

  • Bug Fixes

What was the issue(s)?

The Steemjs API does not automatically convert usernames to lower case and yet wants the usernames to be in lower case. There were no provisions for that and there were a lot of console-logged errors while doing that.

The voting key was hardlocked to be empty without provision for input in the front end

The voter's username was hardlocked to omeratagun without provision for input in the front end

  • What was the solution?

The usernames of the author and the voter were automatically converted to lowercase using strtolower() inbuilt fucntion

The Voting key and the Voter's username was added to the frontend and re-edited in the action page

  • New Features

What feature(s) did you add?

  • Improved User Interface

  • Improved Coding Style

  • Improved Security

  • How did you implement it/them?

I had to incorporate material for bootstrap as a design framework for the forms to enhance user experience. Also, I had to change some of the placeholders for end-users to understand what each field really stood for.

Had to separate the php from the Html by creating a new action page that implemented the form request in php and javascript

I changed the post method to a get method to avoid the browser from default-ly storing the user's posting key a Auto-Complete URL

Old View

a1.PNG

New View

a2.PNG



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]

Hey @ms10398, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Your contribution cannot be approved because it does not follow the Utopian Rules.

  • Please format commit messages correctly so that they highlight the changes done exactly in a commit.

  • You should also never add library files that are thousands of lines directly you should try to use CDN or minified file.

  • Your commit mostly is just adding mdb sass and js files which should not have been added the way they are by looking at the official documentation I easily got thier CDN's

  • Stylesheet <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.5/css/mdb.min.css" />

  • Script - <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.5/js/mdb.min.js"></script>

  • You have not made pull request to the original repository instead made a pull request to your own fork and merged it. If you think change is substantial you can make pull request to the original repository.

  • As our rule says Outdated or low quality code can lead to rejection..

You can contact us on Discord.

[utopian-moderator]

The changes suggested have been made , please check

Congratulations! Your post has been upvoted by Reach Out, which is proudly sponsored by @eturnerx. Our goal is to support Nigerian minnows on Steemit. Join our discord group https://discord.gg/ZvYF9T7

Wow! I trip as always! What more "proof of work and brain" does anyone need? None o!
Well done love! You must teach me how to use this soon

Thank you ma. I really do appreciate the support.

Wish i could reason like you,bravo

Tell them to start showing us who resteems our post

Thanks for the support @jeaniepearl

As for the resteem, you can use this link

Wow
I never knew about this,thanks

Hopefully what you provide is useful for users, I like your posts

Great bro, you are great ! Such proactiveness

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.18
TRX 0.13
JST 0.028
BTC 57344.91
ETH 3100.39
USDT 1.00
SBD 2.42