Updated some codes on back-end and front-end of steemauto.com
Features added:
1- Voting power limit:
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.
This limit by default for all users is 70%. Please login to your dashboard in steemauto and change that limit.
2- Scaling in the curation trail:
Now you can see 2 options in the settings of each trail.
Scale and Fixed voting weight.
Fixed option works like past. This option will upvote with exact voting weight which you configured.
But, Scale option is different. streemian users can understand this option better.
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.
3- Searching in the fanbase:
Now, same as curation trail, you can search in the fanbase for specific user if exists in the fanbase.
At least one account should follow a fan to become available for search.
4- Settings:
Settings changed for curation trail page. After clicking on settings now you will see a popup.
Commits:
You don't need to understand these codes.
Some codes:
...
...
// 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;
}
...
...
...
...
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
}
...
...
...
...
(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">×</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>
...
...
What is Steemauto?
Steemauto comes with amazing features, Schedule post, Build a Fanbase, or leave a curation trail for users all around the world to follow.
Steemauto is open source, unlimited, secure and free app for steem users.
For more information about steemauto check this post: Steemauto - free and unlimited auto upvote and auto posting service
Regards,
Steem witness,
Mahdi Yari,
2018-02-02
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you @mahdiyari for your amazing projects!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for the information, I will change the settings of my profile.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
is the site down @mahdiyari?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
fixed.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks just joined steemauto
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thank you so much
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
steemitauto is like busy.org?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Nice addition, thanks for the updates dude
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for sharing i will add new changing
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for sharing
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
good article
thank you for sharing
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
very nice post dear @mahdiyari I love your post,,this is a valuable post for us,,
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
good info....everybody will be get help from it
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thanks for this informative post.can we change setting our profile??
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
already answered to that post 14 hours ago and still no reply!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Every day we witness somethin new on platform, kinda nice to be part of it
:))
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
https://steemit.com/walkwithme/@hikmahfajar/take-a-closer-look-at-the-city-of-lhokseumawe-with-its-several-monuments-lihatlah-lebih-dekat-kota-lhokseumawe-dengan-beberapa-ec7fa0ed2caf3
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your information. We always learn from you my new brother @mahdiyari
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @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 advance
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
fixed.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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......
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Nice features.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @mahdiyari. The site is currently down. When will goes up again?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I see. Then we should wait.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
already fixed.
thanks for report.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Very good
I see it
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Good
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thanks for information
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thank you
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thank you friend
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@rizvy
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @mahdiyari I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thank you @mahdiyari for update informasion
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Amazing feature.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Informative post! Thank You @mahdiyari
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks to that
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This is so helpful. I just joined thanks to this owner :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @mahdiyari, I have a suggestion: Different level of remaining VOTING POWER:
I have @curie in the trail, and @qurator in the fan base. I want to upvote all the posts of @qurator no matter my voting power. However I only want to enter the curation trail of @curie if my voting power is greater than 90%.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
curation trail will not upvote trail posts, you will upvote other's posts which curie or openmic upvoted that.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
exactly. The posts which Open Mic is upvoting are not getting upvotes from me :/
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
check your dashboard and voting power limit:)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Ah! That makes sense... Thank you :)
Out of curiosity, do you know what the threshold is?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Found it! Thanks again @mahdiyari :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks. Im all signed up.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
you will lose posts which published in that time.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit