Finally Comments - Wordpress Plugin V0.1.0 Beta
Repository
Main - https://github.com/code-with-sam/finallycomments/
New Plugin Repo - https://github.com/code-with-sam/finallycomments-wp/
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.
Finally Wordpress Plugin
It’s been a long time coming and today I am pleased to tell you the initial version of the Finally Comments Wordpress Plugin is alive! It has been slow progress getting this part of Finally underway and I know many people have been waiting for this to become a reality.
The aim for the plugin is to help increase ease of use and subsequent adoption of Finally Comments & Steem. There are still ideas/features to workout and include in future version of the plugin but the main object if complete. Users no longer have to copy and paste the embed code into their posts or theme files.
This initial version (v0.1.0) is intended for Beta users and testing. Feedback (good/bad) is very welcome. It has been a long time(~3 years) since I worked on a Wordpress project and although the workload was by no means large it still took a lot of effort to get this done. This version has not been submitted to the Wordpress codex yet and therefore will not show up while searching for the plugin. Extra work is needed before I am able to submit the plugin.
Main Features
The plugin includes automatic creation of Finally threads by using a Steem post that has already been posted or from authenticating your account to use the Finally API and generate custom threads automatically.
To do this there needs to be a custom metabox on the Admin side of Wordpress. The admin side allows the user to fill in extra information while editing posts. The section related to Finally is automatically saved along with other Wordpress data on saving posts. On the flip side when a user views the post from the front-end the plugin checks for Finally settings and includes the relevant comment thread embed code and Javascript library.
How To Use The Plugin
Until the plugin is submitted/accepted into the Wordpress Codex you can trial it on your site by downloading it from Github and re-uploading it.
Once activated the plugin will show a custom metabox when creating posts.
By default Finally Comments is not displayed. Finally Comments does not disable or replace your default commenting system so you may want to manually disable it for any posts that you choose to use Finallycomments on.
Use Comment Threads From Steem
All content posted to the Steem blockchain(from any platform) has a comments thread. Make use of this by copying the steemit.com version of the link (even if it was not posted on steemit originally) and selecting steem as the tread type. Comments will match across Finally and your own post on busy/d.tube/steemit etc. This option is useful if you are currently using steempress.
Use Custom Threads
If your content is not posted on the Steem blockchain elsewere or if you prefer a new blank comments thread this is the option to choose.
To make use of custom threads you must first sign in through https://finallycomments.com/dashboard#api authorise your account and register your site with the Finally API. If you don't do this you will see an error page instead of the comments thread.
Specify the account name your website is authorised with and a custom thread will be generated on the first time you load the Finally Embed for that page. The Wordpress post slug will be used as the slug for you comments thread(this can not be changed at a later date) and can be found in the dashboard - https://finallycomments.com/dashboard#custom-threads.
Bugs, Feedback & Contributions
The primary place to contribute will be through Github Issues. Specific issues related to the wordpress plugin can be added on that repo, more general requests/ideas may be moved to the main Finallycomments project.
I keep communications related to Steem project centered on Discord (sambillingham#7927) or Steem Dev Slack.
Roadmap
There are plenty of ideas and features to work on here and I’m interested to hear what you think. If you have any specific requests please don’t hesitate to share them.
- Submit to Wordpress Codex for easy plugin install
- Interface with Steempress automatically (no copy/pasting steemlinks)
- Set default in settings (nothread/steem/steempress/custom)
- default settings for threads within the Wordpress setting page. e.g Show reputation/profiles/rewards
- settings for individual threads in metabox e.g Show reputation/profiles/rewards
- load thread preview in the admin area?
- old comment import feature?
- use posting key instead of Steemconnect through Finallycomments.com dashboard
- enable parsing of all types of links not just steemit.
- redirect to friendly error page if a user is not authenticated with Finally API but trying to use custom threads
Github
Work on this project can be found in it’s own standalone Repo.
https://github.com/code-with-sam/finallycomments-wp
A Steempress integration (not sure if it's possible) would be awesome. Any thoughts @howo?
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]
Thanks. Agree it would be awesome! I hope/think we can make it work.
Finally needs the author/tag/permlink data to construct the right thread. Looks like Steempress generates a permlink with the title and a randomstring externally. That data would need to be returned and stored in the post metadata if possible. I may have missed something though if it already is, we're golden.
Wonderful ! As a wordpress blogger I am going to check that soon ! Since I have discovered Steem, I have let my personal blog dying... This Steem time are really exciting with all the new features coming ! Keep the great work !
Hey Roxane, thanks for the support!
I feel you're probably not the only blogger who has left their personal blog and has focussed more on the Steem platform/eco-system. Steem has the opportunity to grow a community whilst also giving extra rewards it is almost a no-brainer. I am hoping to help revive personal blogs and website outside of Steem as I feel there is still a strong argument for owning your own platform. The aim is to have Finally comments help bring the two worlds closer together.
Lots of work still to be done on the Finally Comments System but I'm slowing making progress! More updates soon. :)
That's exact @sambillingham !
Thanks for making this tool !!! Can't wait to see the developpemnt ! 😘
That's awesome ! I'm glad to see that integration with steempress is planned, I'll get in touch with you so we can discuss it more in depth :)
Woohoo! I’ll install and start checking it out tonight or tomorrow. Fantastic!
Thanks Bryan. Until we can get a steempress integration working it might be a little annoying to use. You'll need the steem url which is only available after you post. It's a case of post with no Finally thread -> get the url -> edit post -> add Finally thread via plugin. Still better than copy/pasting the embed code, so it's a start.
Let me know if you have any issues installing/activating/testing. I figure a lot of different issues can crop up between Wordpress installs.
Nice one Sam! Can't wait to start using it on my blog.
ty 👍
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!
Well done dude!!
I'm 100% installing this on my Wordpress site. I'll let you know how it goes!
Thanks mate! This first version is simple, to be honest. Want to get it listed on the plugins directory next so it's searchable.
Let me know if it works as you expect. I've tested it on a bunch of different installs locally and hosted but WordPress can be so different with phpverson/hosts/themes/plugins that it's a bit of a nightmare to start with. Hopefully it's simple enough that not too much can go wrong.
Great job, Sam!
Thanks Amos, always appreciate your support. Took me awhile to find the will to get this started but now the ball is rolling I'm hoping to speed through some extra features.
great job man!!!
Thank you 🙏