[Important] Added voting power limit, scaling in curation trail and search function in fanbase at steemauto.com

in #utopian-io7 years ago (edited)

steemauto.png

Updated some codes on back-end and front-end of steemauto.com

<h2>Features added: <p dir="auto"><center><img src="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517582317/akhmfx3vafthgb59oe4q.png" alt="Capture.PNG" srcset="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517582317/akhmfx3vafthgb59oe4q.png 1x, https://images.hive.blog/1536x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517582317/akhmfx3vafthgb59oe4q.png 2x" /><br /> <br /> 1- Voting power limit:<br /> Now you can set a limit on your voting power. If your voting power went lower than that limit, all of your upvotes will be paused.<br /> This limit by default for all users is 70%. Please login to your dashboard in steemauto and change that limit.<br /> <center><img src="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517582495/ioenh4w3ilfen2pdokzg.png" alt="Capture.PNG" srcset="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517582495/ioenh4w3ilfen2pdokzg.png 1x, https://images.hive.blog/1536x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517582495/ioenh4w3ilfen2pdokzg.png 2x" /><br /> <br /> 2- Scaling in the curation trail:<br /> Now you can see 2 options in the settings of each trail.<br /> Scale and Fixed voting weight.<br /> Fixed option works like past. This option will upvote with exact voting weight which you configured.<br /> But, Scale option is different. streemian users can understand this option better.<br /> an example for scaling: Let's say you followed trail A with 20% voting weight. When user A upvotes any post by 50% voting weight, you will upvote that post with 10% (20% of 50%) voting weight.<br /> <center><img src="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517582582/natt7amzu0zeii1kfdgr.png" alt="Capture.PNG" srcset="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517582582/natt7amzu0zeii1kfdgr.png 1x, https://images.hive.blog/1536x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517582582/natt7amzu0zeii1kfdgr.png 2x" /><br /> <br /> 3- Searching in the fanbase:<br /> Now, same as curation trail, you can search in the fanbase for specific user if exists in the fanbase.<br /> At least one account should follow a fan to become available for search. <p dir="auto">4- Settings:<br /> Settings changed for curation trail page. After clicking on settings now you will see a popup. <h3>Commits: <p dir="auto"><a href="https://github.com/mahdiyari/steemauto/commit/7b9a1c9f3a8220fb8fd988e5b3b6c5adb888eec8" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">1, <a href="https://github.com/mahdiyari/steemauto/commit/c113d957f58170b0cd76f7aa47a4546453d4cef4" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">2, <a href="https://github.com/mahdiyari/steemauto/commit/c562ddd146064192059cf9b9de15f37362890ee0" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">3, <a href="https://github.com/mahdiyari/steemauto/commit/9f3646bbdf820d99a37002c11b48130973d2c7f5" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">4, <a href="https://github.com/mahdiyari/steemauto/commit/6f09239463c347536287757e57ba8f70205cb57e" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">5, <a href="https://github.com/mahdiyari/steemauto/commit/cac04adc2732845c88aecbc604d6483f7cf1bdb6" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">6, <a href="https://github.com/mahdiyari/steemauto/commit/170b8c71ad447bf680fb0f2967ccc4d67ac6340a" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">7, <a href="https://github.com/mahdiyari/steemauto/commit/00f9a554a507c59d8115808a2580196c16d49516" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">8 <p dir="auto">You don't need to understand these codes. <h2>Some codes: <pre><code>... ... // Check voting power limit function checkpowerlimit(voter,author,permlink,weight){ con.query('SELECT `current_power`,`limit_power` FROM `users` WHERE `user`="'+voter+'"', function (error, results, fields) { for(i in results){ var powernow = results[i].current_power; var powerlimit = results[i].limit_power; if(powernow > powerlimit){ upvote(voter,author,permlink,weight); }else{ console.log('power is under limit user '+voter); } } }); return 1; } ... ... <hr /> <pre><code>... ... var weight = results[i].weight; var aftermin = results[i].aftermin; var votingway = results[i].votingway; if(votingway == 1){ weight = parseInt((weight/10000)*fweight); // scaling voting weight } ... ... <hr /> <pre><code>... ... (html comment removed: Settings ) <div class="modal fade" id="myModal<? echo $b['user']; ?>" role="dialog"> <div class="modal-dialog"> (html comment removed: Modal content) <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Settings: @<? echo $b['user']; ?></h4> </div> <div class="modal-body"> (html comment removed: body ) <div style="text-align:left; display:; padding:20px;" id="set<? echo $k; ?>" class="col-md-12"> <form onsubmit="settings('<? echo $b['user']; ?>'); return false;"> <b style="color:orange;">Read <a target="_blank" href="/faq.php">FAQ</a> before editing.</b><br><br> <div class="form-group" style="border:1px solid #ddd; padding:5px;"> <strong>Settings for Trailer: <a href="https://steemit.com/@<? echo $b['user']; ?>" target="_blank">@<? echo $b['user']; ?></a></strong> <br><br> <div class="form-check" style="margin-bottom:5px;"> <input class="form-check-input" type="checkbox" value="" id="enable<? echo $b['user']; ?>" <? if($n['enable']){echo 'checked';} ?>> <label style="color:#2b0808;" class="form-check-label" id="enabling" for="defaultCheck1"> Enable (uncheck for disabling) </label> </div> <div class="form-group" style="border:1px solid #ddd; padding:5px;"> <label>Voting weight (%): (Default is 50%)</label> <input id="weight<? echo $b['user']; ?>" placeholder="Voting weight" name="weight" type="number" class="form-control" value="<? echo $n['weight']/100; ?>" step="0.01" min="0" max="100"> <div class="form-check"> <label style="color:#2b0808;" class="form-check-label"> <input class="form-check-input" type="radio" name="votingway<? echo $b['user']; ?>" id="votingway" value="1" <? if($n['votingway'] == 1){echo 'checked';} ?>> Scale voting weight (default) </label> </div> <div class="form-check"> <label style="color:#2b0808;" class="form-check-label"> <input class="form-check-input" type="radio" name="votingway<? echo $b['user']; ?>" id="votingway" value="2" <? if($n['votingway'] == 2){echo 'checked';} ?>> Fixed voting weight </label> </div> </div> <label>Time to wait before voting (minutes): (Default is 0)</label> <input id="aftermin<? echo $b['user']; ?>" value="<? echo $n['aftermin']; ?>" placeholder="Upvoting After X Minutes." name="aftermin" type="number" class="form-control" step="1" min="0" max="30"> <input style="margin-top:10px;"value="Save Settings" type="submit" class="btn btn-primary"> </div> </form> </div> </div> <div style="border-top:0;" class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div> <script> $(document).ready(function(){ $('#myModal<? echo $b['user']; ?>').appendTo("body"); }); </script> ... ... <hr /> <h3>What is Steemauto? <p dir="auto">Steemauto comes with amazing features, Schedule post, Build a Fanbase, or leave a curation trail for users all around the world to follow.<br /> Steemauto is open source, unlimited, secure and free app for steem users.<br /> For more information about steemauto check this post: <a href="https://steemit.com/steemauto/@steemauto/steemauto-com-free-and-unlimited-auto-upvote-and-auto-posting-service" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Steemauto - free and unlimited auto upvote and auto posting service <hr /> <p dir="auto">Regards,<br /> Steem witness,<br /> Mahdi Yari,<br /> 2018-02-02 <p dir="auto"><br /><hr /><em>Posted on <a href="https://utopian.io/utopian-io/@mahdiyari/important-added-voting-power-limit-scaling-in-curation-trail-and-search-function-in-fanbase-at-steemauto-com" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Utopian.io - Rewarding Open Source Contributors<hr /><p>
Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

Thank you @mahdiyari for your amazing projects!

Thanks for the information, I will change the settings of my profile.

good article
thank you for sharing

Every day we witness somethin new on platform, kinda nice to be part of it
:))

Nice features.

Thanks just joined steemauto

thank you so much

steemitauto is like busy.org?

Nice addition, thanks for the updates dude

Thanks for sharing i will add new changing

Thank you for sharing

very nice post dear @mahdiyari I love your post,,this is a valuable post for us,,

good info....everybody will be get help from it

thanks for this informative post.can we change setting our profile??

Amazing developments friend and very much needed too, with the help of voting power limit now we able to control our voting power in much better way, thanks for making steemauto better and better for us, Stay blessed

I just read a post where a member using Steemauto had the service upvoting random posts with their PPK that they would never have upvote themselves. Is this a known bug? Here's the post, https://steemit.com/steemauto/@gmuxx/revoked-access-to-streemian-and-changed-to-steemauto-not-happy

already answered to that post 14 hours ago and still no reply!

Thank you for your information. We always learn from you my new brother @mahdiyari


I need your help because it's the 2nd day when I go to steemfollower for my daily upvoting a message ( your daily limit reached come back tomorrow) displayed.
Kindly help me how can I fix this problem
Thanx a million in advanceHi @mahdiyari

dear @mahdiyari your post is a beautiful ... i love your all post....& I look forward to your purchase every day,..thank you so very much for sharing......

Untitled.png

Hi @mahdiyari. The site is currently down. When will goes up again?

Was just about to say something about that. It's been down for like 2 hours for me too. Maybe he is updating something for it.

I see. Then we should wait.

already fixed.
thanks for report.

Very good
I see it

thanks for information

thank you

thank you friend

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

Achievements

  • WOW WOW WOW People loved what you did here. GREAT JOB!
  • 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 @mahdiyari for update informasion

Amazing feature.

Nice one man. You might not realise it but you basically made an open source alternative to Patreon here. It may not work based on time (i.e. x dollars per month) but taking the average number of posts of a given user someone follows one can set a desired voting power and auto vote their posts to give them guaranteed income (well as far as you can guarantee I suppose).

The scheduling could be improved though, I've scheduled something today and it posted it 4 minutes after it was supposed to. It was pretty weird, like the counter showed -340 seconds and the like. It would be better if the scheduler worked by date and time rather than set hours in advance. Also is there some software limitation that makes it 100 hours in advance maximum? Some people have their stuff planned out a month in advance (especially when it comes to collaborations with set release dates and the like). Does the scheduling work only when I'm logged in and have the SteemAuto page open or does it work always? Because that's kind of the point of scheduling, to do it when you're away from the computer (for instance AutoSteem doesn't publish when you haven't got the page running in the browser, which tbh defeats the purpose of a scheduler).

Sorry if it's off topic lol

Informative post! Thank You @mahdiyari

Thanks to that

This is so helpful. I just joined thanks to this owner :)

steemauto is looking really good. You've done a great job here.

The only thing I would like is the ability to follow a curation trail, and not vote for my own posts.. basically if author is me then don't vote.

Other than that, great job man!!

Hi @mahdiyari, I have a suggestion: Different level of remaining VOTING POWER:

I want to upvote all the posts of @qurator no matter my voting powerI have @curie in the trail, and @qurator in the fan base. . However I only want to enter the curation trail of @curie if my voting power is greater than 90%.

Hi @mahdiyari! I love the idea of Steem Auto and would really like it to work, but I'm having some tech difficulties... I signed up for two curation trails, Open Mic and Curie, but my votes aren't showing up on either of them. I did send an email from the site but wanted to contact on Steemit as well. I'm wondering if I missed a step?

curation trail will not upvote trail posts, you will upvote other's posts which curie or openmic upvoted that.

exactly. The posts which Open Mic is upvoting are not getting upvotes from me :/

check your dashboard and voting power limit:)

Ah! That makes sense... Thank you :)

Out of curiosity, do you know what the threshold is?

Found it! Thanks again @mahdiyari :)

Thanks. Im all signed up.

Loading...

When using the fanbase, if I fall under the minimum VP that I've set, will it stack the posts from while it's paused to be upvoted later, or are the ones between the pausing and when it restarts basically skipped?

you will lose posts which published in that time.