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

in utopian-io •  9 months ago

steemauto.png

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

Features added:

Capture.PNG

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.
Capture.PNG

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.
Capture.PNG

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:

1, 2, 3, 4, 5, 6, 7, 8

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">&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>
...
...

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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

Thank you @mahdiyari for your amazing projects!

is the site down @mahdiyari?

·

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

good article
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!

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

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

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

·

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......

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

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 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%.

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.