Finally Comments v0.11.0 - Custom Beneficiary, Enable/Disable Guest Comments + Fixes

in #utopian-io6 years ago (edited)

finally-comments.png

https://finallycomments.com

Repository

Main - https://github.com/code-with-sam/finallycomments/
Js Lib - https://github.com/code-with-sam/npm-finallycomments/

What is Finally Comments?
Finally Comments is an embeddable comments system powered by the Steem blockchain. The aim of this project is to promote the Steem ecosystem by breaking the comments system out of the walls of Steem based apps replacing popular comments systems like Disqus & Facebook comments plugin.

Latest Updates

Comment Beneficiary

I'm pleased to release this latest update which brings the ability to add a beneficiary when embedding Finally. This is a beneficiary chosen by the user who embeds Finally and not for me or @finallycomments.

The new feature is included when using embed code generated through the Finally dashboard and when using the JS library. When setting a beneficiary for a thread any comment that is created through that embedded thread will include the beneficiary allowing website owners to earn extra rewards through upvotes on the discussions below their content.

Screen Shot 2018-07-01 at 21.01.20.png

Embed code auto generator on https://finallycomments.com/dashboard

You may notice the note in the above screenshot. I have currently set the max beneficiary at 40% so the author of the comments still receives a fair amount. Open to suggestions if that should be higher/lower. Perhaps there should be a note somewhere about what the current values are for the thread?

Also possible when using the library for example -

    finallycomments.init()
    let options = {
      values: true,
      reputation: true,
      profile: false,
      beneficiary: 'sambillingham',
      beneficiaryWeight: '15'
    }
    finallycomments.appendTo('.finally__example', 'thread', 'finally-hellomars', 'sambillingham', options)

Can be added to existing embeds along with new ones.

Custom Thread Beneficiary

When creating custom threads through the Finally dashboard or API it is now possible to add a Beneficiary. While less important than comment beneficiaries (because the author is already receiving the usual 75% author reward *edit[1]) it is still a useful tool.

Screen Shot 2018-07-01 at 21.05.56.png

Now possible to split rewards for custom threads. Perhaps for a collaborative site

It is worth noting that Finally does not take any percentage of rewards for comments or threads created.

Enable/Disable Guest Comments

I decided this feature was best as an option. It is now possible to enable/disable guest commenting on an individual thread basis. Supported via embed code and javascript library as an option. e.g

import finallycomments from 'finallycomments'
finallycomments.init()
let iframe = finallycomments.loadFromSteemitUrl('https://steemit.com/utopian-io/@sambillingham/finally-comments-api-and-new-dashboard-features', { guestComments: true })

With this change I had to re-arange the order that items are loaded. The fame needs to completely load first, pass settings to the frame parent and only then if the settings allow are the requests made for any guest comments. The frontend UI checks the thread settings before rendering the createComment template after clicking reply.

Screen Shot 2018-07-01 at 21.28.33.png

Guest Comments Enabled View

Screen Shot 2018-07-01 at 21.17.54.png

Guest Comments Disabled View

Small Fixes

  • Finally included a favicon 👍
  • Fixed issues when checking domains against a user
  • Show latest embed code with script version & second script tag with init function. latest version of the finally lib is now hosted online and with a versioned filename.

Github

Main PR - https://github.com/code-with-sam/finallycomments/pull/36
Documents the included features - seperated into branches and merged into PR36. Also notes related PRs in the code-with-sam/npm-finallycomments/

Thanks for the continued support. Let me know if you have any issues or ideas 👨🏼‍💻.

edit[1] - Changed wording to make it more clear

Sort:  

Thanks for the contribution, @sambillingham! Great stuff once again! Some very cool features that will definitely come in handy for the people using it.

While less important than comment beneficiaries (because the author already receives 100%) it is still a useful tool

What exactly do you mean by this? I thought authors only get 75%.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hey thanks Amos! It's been taking me quite a while to work through updates, feels like I haven't been as active on here as I would like. Utopian is smashing it 👏. The new updates are rad. Appreciate the time everyone is putting in. Looking forward to the new interface/platform.

What exactly do you mean by this? I thought authors only get 75%.

Sorry, I realise that is not clear at all. You are right the author gets 75% of the total. I meant it as the author gets 100% of that 75% aka it is unchanged from what the user is expecting. (edited the post above)

I have definitely been missing your contributions, haha! I'm also really looking forward to the new front end, which should be coming very soon!

Hey @sambillingham
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Thanks for the support and continued work on the Utopian platform 💯

Hi Sam. Great update (again).

Did you already switch from using SteemConnect to using the private posting key? Or did I miss that in another post?

Thanks Jo,

Not missed anything, still using SteemConnect for everything. There are two sides - the admin create new threads (accessible with dashboard/WP plugin/JS lib) side and the user-facing sign-in to comment side. I plan to add posting key auth for the admin activities first then move onto adding a new auth flow for the embedded threads.

I expect most people to use SteemConnect but I still think adding posting key auth is valuable.

Loading...

I would like to congratulate a very nice project, I will also use it in my project, but I can not login with SteemConnect, Is there such a problem or I am doing something wrong.

Thanks, what is the problem you see when trying to login?

Nothing happens when I click on "Load More Posts" on this page https://finallycomments.com/dashboard#steem-posts

Hey, thanks for reporting this. Can you help me figure out what might be wrong by checking in the developer console for an error message? View > Developer > Javascript console.

Hey, thanks for reporting this. Can you help me figure out what might be wrong by checking in the developer console for an error message? View > Developer > Javascript console.

Coin Marketplace

STEEM 0.30
TRX 0.11
JST 0.033
BTC 64223.84
ETH 3158.34
USDT 1.00
SBD 4.29