To be honest, I've never paid attention to whether the discounts are calculated correctly because of the votes.
This is how it currently looks for me, maybe it will help you in your troubleshooting.
To be honest, I've never paid attention to whether the discounts are calculated correctly because of the votes.
This is how it currently looks for me, maybe it will help you in your troubleshooting.
[@PowerPaul:] Hey Flummi. Yes this helps me. You demonstrate the same situations which other Hivians face too. I had an idea last night how to solve that. Let me see how fast I can adapt the code.
Thank you very much for your support!
I visited your blog and left you a 100% vote on your last article as a small thank you. Thank you!
Hive a great day & see you later!
Do you like to make a new test?
(When you vote now a post on the page it is reflected after a page reload. So we only talk about the vote value from existing votes before you load the page. That it doesn't include votes for articles you make in this moment I care in the next step... This was gone lost during my last edits.)
(Maybe you need to load the page without cache to load the edited JavaScript file.)
You don't need. There is still one thing which is wrong. I am closer to the solution (it may look like solved under specific circumstances, but it isn't...), but I think I delete this aspect and grant the 21% discount on another aspect. I don't like to give up on that, that is not my mentality, but when I calculate all the time I needed for this bug... slowly I think that's not worth it. I should invest this time to generate value for you on other construction sites, I think. I know the solution now and I got forward; I just need one more calculation (convert the voted rShares from the user to the vote % value) which I already know and do within another website function. But when I can't realize that within 2 more hours, I think I should decide to invest the time in better things for the community... Yes, I invested so much time in this aspect... but sometimes there should be the point where somebody says "Ok, that's not longer in a good relation between effort and effect. Make something more worthy." Sure I could hope to solve it in 10, 20, 30 hours... But what if not? When I would invest 10/20 hours I would have finished 2 other/new functions which are already in the pipeline... Plus some new collaborations which are waiting to be served... Right now, you as CryptoCompany participant, would have bigger/better effects on these things - instead that I invest more and more and more time in this small buggy aspect. I see one more approach to finish the solution, but when it does not work, I skip it for now... Of course I will update you with a new post - however it might end.
By the way: you can program in JavaScript and have experience with the Hive API + like to work hard for honor and glory as main return? You would be welcome!... !LOL & !LUV
I can understand that, of course; the cost and return should always be in proportion.
No, unfortunately I have absolutely no knowledge of programming or the Hive API. Sorry about that.
If I can help you in any other way, you can just ping me on Discord.