 # Finally Comments V0.8.x #### Repository https://github.com/code-with-sam/finallycomments ### New Features This update being Guest commenting and the needed infrastructure changes to make it work. The majority of the update was around [PR15](https://github.com/code-with-sam/finallycomments/pull/15) with a few extra updates added in additional PRs. On previous versions of Finally, click ‘Reply’ before having signed in would show a notification saying ‘Please Sign in’, now the user is shown the usual comment box but has the option to ‘Post as Guest’ or Sign in.  <center>*Guest posting UI*</center> The process for adding Guest comments was a little more involved than I initially expected. Finally uses the STEEM blockchain as it’s data layer, pull information directly from the blockchain. Guest comments cause an issue because the exact purpose is to not need an account on the Blockchain. Guest comments are stored separately in a database but still need to be attached in the comments thread. Guest comments also cannot be voted/earn rewards. I had previously not anticipated that when a STEEM authenticated user replies to a Guest, this can also not(at-least not in the traditional way) be stored on the blockchain. These different scenarios created three districted types of comments. STEEM Comments, Guest Comments and STEEM REPLY TO GUEST (these have STEEM User information but still can’t be voted). STEEM comments - stored on the blockhcain and remain unchanged. Guest Comments & STEEM REPLY TO GUEST - needed there own data models, routes, AJAX response and modified templates. - [Guest UI](https://github.com/code-with-sam/finallycomments/pull/15/commits/bf0cc3451514c380b087f40a6f9a9868d16730f3) - [New AJAX routes etc](https://github.com/code-with-sam/finallycomments/pull/15/commits/1e26b03348d57bf1d1ab32bc08e7952898b22f40) - [Query new DB](https://github.com/code-with-sam/finallycomments/pull/15/commits/39430eea1f9370a55cf6c0e6425a37a3b0e6e717) - [Append comments after AJAX success ](https://github.com/code-with-sam/finallycomments/pull/15/commits/52924373ef001f836fdfcb88261e4de083efec96) - [multi use comment template](https://github.com/code-with-sam/finallycomments/pull/15/commits/0092be30db8e8b88ec945e90dac7a09985cceb70) Additional commits in full PR  <center>*Thread that includes a guest comment*</center> User interface for Guest comments is kept as minimal as possible to provided a seamless comment system. There is potential to store guest comments on the blockchain. Finally comments could broadcast ‘custom_json’ operations for each guest comment. @finallycomments or new account e.g @finallycomments-guest? could post on behalf of the guest. Both have limitations when Finally needs to scale but potentially worth thinking about. I realised with this The next update needs to be Flagging and or moderation! I’ll work to add this in the next update to give authors more control over what is seen on FinallyComments embed. ### Bug Fixes & Improvements Finally was initially called steemcomments.js and worked by using hardcoded steemconnect signing links. Some of the namespaces and decisions from that have been hanging around. I’ve started to cut some code and refract in [PR18](https://github.com/code-with-sam/finallycomments/pull/18) but it will require further work to bring it up to standard. [PR19](https://github.com/code-with-sam/finallycomments/pull/19) fixed a small sign-in but caused by the guest comment UI. The button was added dynamically and events needed to be attached correctly. ### Ideas and contributions Last week I post a [roadmap for finally](https://steemit.com/finallycomments/@sambillingham/finally-comments-is-now-on-steemprojects-com). If you’re interested in the development please take a look at that. Feedback is always welcome, please let me know if you have thoughts on the Guest Comments feature. #### Proof of Work Done https://github.com/sambillingham - MAIN PR - [finallycomments/pull/15 ](https://github.com/code-with-sam/finallycomments/pull/15) - Additional PR2 - [finallycomments/pull/18 ](https://github.com/code-with-sam/finallycomments/pull/18) - Additional PR2 - [finallycomments/pull/19 ](https://github.com/code-with-sam/finallycomments/pull/19)
author | sambillingham |
---|---|
permlink | finally-comments-guest-posting-and-improvements |
category | utopian-io |
json_metadata | {"community":"busy","app":"busy/2.4.0","format":"markdown","users":["finallycomments","finallycomments-guest","sambillingham"],"links":["https://github.com/code-with-sam/finallycomments","https://github.com/code-with-sam/finallycomments/pull/15","https://github.com/code-with-sam/finallycomments/pull/15/commits/bf0cc3451514c380b087f40a6f9a9868d16730f3","https://github.com/code-with-sam/finallycomments/pull/15/commits/1e26b03348d57bf1d1ab32bc08e7952898b22f40","https://github.com/code-with-sam/finallycomments/pull/15/commits/39430eea1f9370a55cf6c0e6425a37a3b0e6e717","https://github.com/code-with-sam/finallycomments/pull/15/commits/52924373ef001f836fdfcb88261e4de083efec96","https://github.com/code-with-sam/finallycomments/pull/15/commits/0092be30db8e8b88ec945e90dac7a09985cceb70","/@finallycomments","https://github.com/code-with-sam/finallycomments/pull/18","https://github.com/code-with-sam/finallycomments/pull/19"],"tags":["utopian-io","development","busy","finallycomments","steemdev"]} |
created | 2018-05-07 16:38:42 |
last_update | 2018-05-07 16:41:21 |
depth | 0 |
children | 12 |
last_payout | 2018-05-14 16:38:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 140.662 HBD |
curator_payout_value | 42.297 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 4,531 |
author_reputation | 34,876,406,478,004 |
root_title | "Finally Comments - Guest Posting & improvements" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,412,568 |
net_rshares | 39,696,978,717,954 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dimon14 | 0 | 12,633,966,094 | 97% | ||
anomaly | 0 | 231,220,179 | 1% | ||
drac59 | 0 | 1,790,483,704 | 100% | ||
sambillingham | 0 | 4,741,114,504 | 100% | ||
sjennon | 0 | 22,663,229,794 | 10% | ||
busy.pay | 0 | 215,379,474,372 | 1.71% | ||
eroche | 0 | 331,251,406,865 | 100% | ||
dayleeo | 0 | 0 | 100% | ||
ackza | 0 | 0 | 100% | ||
herfie | 0 | 58,345,451 | 25% | ||
choogirl | 0 | 53,505,379,736 | 5% | ||
jakipatryk | 0 | 51,063,131,936 | 100% | ||
yehey | 0 | 1,368,371,065 | 10% | ||
gokulnk | 0 | 29,509,414,757 | 100% | ||
iamnotageek | 0 | 4,521,207,581 | 20% | ||
pixelfan | 0 | 11,266,713,736 | 9% | ||
misterakpan | 0 | 983,656,212 | 5% | ||
alexzicky | 0 | 13,033,014,821 | 26% | ||
carlgnash | 0 | 39,272,977,016 | 50% | ||
dillemma | 0 | 96,800,131 | 5% | ||
blackybabies | 0 | 30,880,588,548 | 100% | ||
mikepm74 | 0 | 17,976,430,882 | 25% | ||
torico | 0 | 2,198,768,313 | 4% | ||
buckydurddle | 0 | 916,565,351 | 2.5% | ||
jrawsthorne | 0 | 4,205,930,222 | 100% | ||
rizkiyunanda97 | 0 | 368,389,507 | 100% | ||
utopian-io | 0 | 38,416,649,552,811 | 26% | ||
cryptonik | 0 | 13,303,614,904 | 100% | ||
emrebeyler | 0 | 162,604,372,988 | 20% | ||
papaudeme | 0 | 132,844,085 | 5% | ||
fredkese | 0 | 290,193,698 | 15% | ||
trbooster | 0 | 117,247,231 | 10% | ||
yanga | 0 | 207,625,060 | 5% | ||
jeffbernst | 0 | 23,266,661,616 | 100% | ||
evilest-fiend | 0 | 171,695,853 | 5% | ||
azwarrangkuti | 0 | 68,588,414,489 | 100% | ||
r-bot | 0 | 12,455,792,365 | 50% | ||
deanhass | 0 | 3,316,987,503 | 100% | ||
afm007 | 0 | 1,039,980,024 | 100% | ||
aussieninja | 0 | 25,149,495,549 | 100% | ||
franklan3386 | 0 | 84,807,955 | 50% | ||
arslanshn | 0 | 177,039,907 | 100% | ||
oups | 0 | 8,769,764,289 | 75% | ||
senseicat | 0 | 14,999,440,502 | 1% | ||
pcusine | 0 | 2,737,912,640 | 33% | ||
randomwanderings | 0 | 1,456,399,080 | 50% | ||
cutemachine | 0 | 13,380,217,588 | 100% | ||
allexpire | 0 | 277,945,429 | 100% | ||
ameliabartlett | 0 | 1,045,489,707 | 5% | ||
peteveale | 0 | 614,469,255 | 100% | ||
jbrrd | 0 | 1,656,078,117 | 100% | ||
sexygirl123 | 0 | 76,418,925 | 25% | ||
edgarrc | 0 | 509,978,553 | 100% | ||
pizzalocale | 0 | 53,931,648 | 10% | ||
rofilm | 0 | 653,894,036 | 100% | ||
samue2013 | 0 | 70,237,879 | 100% | ||
reazuliqbal | 0 | 5,866,503,506 | 100% | ||
chukuibijenny | 0 | 107,313,383 | 25% | ||
critday | 0 | 610,881,663 | 100% | ||
truce | 0 | 26,834,575,133 | 100% | ||
mslifesteem | 0 | 2,490,137,508 | 100% | ||
zcool | 0 | 139,196,209 | 10% | ||
yantisteem | 0 | 113,331,818 | 25% | ||
ulqu3 | 0 | 66,749,644 | 10% | ||
dddoug | 0 | 153,614,077 | 25% | ||
hendragunawan | 0 | 106,929,896 | 25% | ||
rollthedice | 0 | 3,358,180,117 | 100% | ||
themenda | 0 | 435,793,962 | 100% | ||
rolltwodice | 0 | 3,172,591,236 | 100% | ||
gobbo | 0 | 3,195,779,168 | 100% | ||
rolld20 | 0 | 3,185,473,708 | 100% | ||
vampirgarfield | 0 | 66,681,764 | 25% | ||
steem.services | 0 | 17,669,541,320 | 1% | ||
steemfire | 0 | 110,534,432 | 25% | ||
theshadowek | 0 | 257,940,700 | 100% | ||
mecarlo | 0 | 532,180,063 | 100% | ||
roesme | 0 | 494,084,378 | 100% | ||
fajryjuwaini96 | 0 | 144,449,421 | 100% | ||
aldhmri | 0 | 2,693,986,417 | 100% | ||
lil-lovejunkie | 0 | 256,920,395 | 100% | ||
thruman | 0 | 333,726,850 | 100% | ||
sniperinbets | 0 | 82,543,862 | 100% | ||
comedy-mamba | 0 | 137,580,934 | 100% | ||
steem.curator | 0 | 702,472,811 | 1% | ||
skipjack | 0 | -116,060,884 | -100% |
Any progress on this @sambillingham ? We need disqus for steem
author | ackza |
---|---|
permlink | re-sambillingham-finally-comments-guest-posting-and-improvements-20190228t213147918z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["sambillingham"],"app":"steemit/0.1"} |
created | 2019-02-28 21:31:51 |
last_update | 2019-02-28 21:31:51 |
depth | 1 |
children | 1 |
last_payout | 2019-03-07 21:31:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.088 HBD |
curator_payout_value | 0.029 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 62 |
author_reputation | 287,776,574,693,472 |
root_title | "Finally Comments - Guest Posting & improvements" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 80,553,129 |
net_rshares | 195,383,840,163 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sambillingham | 0 | 0 | 100% | ||
tytran | 0 | 195,383,840,163 | 100% |
Been taking a break from posting/open source to focus on freelance. Unfortunately not enough support from the community. Hope to get back to working on this when I can.
author | sambillingham |
---|---|
permlink | re-ackza-re-sambillingham-finally-comments-guest-posting-and-improvements-20190316t145555871z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2019-03-16 14:55:57 |
last_update | 2019-03-16 14:55:57 |
depth | 2 |
children | 0 |
last_payout | 2019-03-23 14:55:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.072 HBD |
curator_payout_value | 0.023 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 168 |
author_reputation | 34,876,406,478,004 |
root_title | "Finally Comments - Guest Posting & improvements" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,412,147 |
net_rshares | 141,523,671,864 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
ackza | 0 | 20,859,232,606 | 100% | ||
tytran | 0 | 120,664,439,258 | 100% |
this great project, because steemit as an inclusive platform which audiences can only interaction if they as steemit member.
author | azmielbanjary |
---|---|
permlink | re-sambillingham-finally-comments-guest-posting-and-improvements-20180507t235105985z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"busy","app":"busy/2.4.0"} |
created | 2018-05-07 23:50:54 |
last_update | 2018-05-07 23:50:54 |
depth | 1 |
children | 0 |
last_payout | 2018-05-14 23:50:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 125 |
author_reputation | 4,016,184,740,465 |
root_title | "Finally Comments - Guest Posting & improvements" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,466,716 |
net_rshares | 0 |
I somehow like the idea of @finallycomments-guest commenting on behalf of the guest author by mentioning their name. This may save you a few lines of code, some database space, and reduce latency of calling 2 data points, also can earn you some SBD and SP if anyone votes on those comments.
author | reazuliqbal |
---|---|
permlink | re-sambillingham-finally-comments-guest-posting-and-improvements-20180507t170350858z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-05-07 17:03:51 |
last_update | 2018-05-07 17:03:51 |
depth | 1 |
children | 6 |
last_payout | 2018-05-14 17:03:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.041 HBD |
curator_payout_value | 0.002 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 291 |
author_reputation | 61,984,354,446,410 |
root_title | "Finally Comments - Guest Posting & improvements" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,416,343 |
net_rshares | 10,128,569,065 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sambillingham | 0 | 4,683,361,996 | 100% | ||
dustsweeper | 0 | 5,445,207,069 | 8.32% |
Yeah I thought about that Idea a bunch. My main reservations are A) Once posted to the blockchain it can't be removed, I'd be anxious a user might post nefarious content and it would be immutably linked to a handle/user I own. B) You can only post every 20 seconds if Finally needs to scale it could be an issue with multiple people trying to post. Not an issue now but probably could be easily. You're right though it saves a bunch of code and extra complexity. Still might switch to that in future, maybe there are other options i've not thought of yet too.
author | sambillingham |
---|---|
permlink | re-reazuliqbal-re-sambillingham-finally-comments-guest-posting-and-improvements-20180507t171017828z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-05-07 17:10:18 |
last_update | 2018-05-07 17:10:18 |
depth | 2 |
children | 5 |
last_payout | 2018-05-14 17:10:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.025 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 564 |
author_reputation | 34,876,406,478,004 |
root_title | "Finally Comments - Guest Posting & improvements" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,417,294 |
net_rshares | 5,776,249,606 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
reazuliqbal | 0 | 5,776,249,606 | 100% |
Yes, you are absolutely right. *B* can be bypassed using 4-5 accounts but *A* could be a real issue. Another hack can be a placeholder comment by your handle(s) and adding `json_metadata` to that comment. This way original guest comment won't show on condensers but you can parse and show them on author's website.
author | reazuliqbal |
---|---|
permlink | re-sambillingham-re-reazuliqbal-re-sambillingham-finally-comments-guest-posting-and-improvements-20180507t173015130z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"busy","app":"busy/2.4.0"} |
created | 2018-05-07 17:30:18 |
last_update | 2018-05-07 17:30:18 |
depth | 3 |
children | 4 |
last_payout | 2018-05-14 17:30:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.036 HBD |
curator_payout_value | 0.008 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 315 |
author_reputation | 61,984,354,446,410 |
root_title | "Finally Comments - Guest Posting & improvements" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,420,266 |
net_rshares | 9,984,020,855 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sambillingham | 0 | 4,538,813,786 | 100% | ||
dustsweeper | 0 | 5,445,207,069 | 8.74% |
#### Hey @sambillingham We're already looking forward to your next contribution! #### Contributing on Utopian Learn how to contribute on <a href="https://join.utopian.io">our website</a> or by watching <a href="https://www.youtube.com/watch?v=8S1AtrzYY1Q">this tutorial</a> on Youtube. ##### Utopian Witness! <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for Utopian Witness!</a> We are made of developers, system administrators, entrepreneurs, artists, content creators, thinkers. We embrace every nationality, mindset and belief. **Want to chat? Join us on Discord https://discord.gg/h52nFrV**
author | utopian-io |
---|---|
permlink | re-sambillingham-finally-comments-guest-posting-and-improvements-20180507t174758422z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["sambillingham"],"links":["https://join.utopian.io","https://www.youtube.com/watch?v=8S1AtrzYY1Q","https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1","https://discord.gg/h52nFrV"],"app":"steemit/0.1"} |
created | 2018-05-07 17:48:00 |
last_update | 2018-05-07 17:48:00 |
depth | 1 |
children | 1 |
last_payout | 2018-05-14 17:48:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 651 |
author_reputation | 152,955,367,999,756 |
root_title | "Finally Comments - Guest Posting & improvements" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,422,914 |
net_rshares | 4,625,542,712 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sambillingham | 0 | 4,625,542,712 | 100% |
⚡️⚡️Utopian Lives
author | sambillingham |
---|---|
permlink | re-utopian-io-re-sambillingham-finally-comments-guest-posting-and-improvements-20180507t181155286z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-05-07 18:11:57 |
last_update | 2018-05-07 18:11:57 |
depth | 2 |
children | 0 |
last_payout | 2018-05-14 18:11:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 17 |
author_reputation | 34,876,406,478,004 |
root_title | "Finally Comments - Guest Posting & improvements" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,426,517 |
net_rshares | 2,882,370,081 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
oups | 0 | 2,882,370,081 | 25% |