My Steemit Friends Update: Conversation Record shows message contents automatically, Effective SP ranking now includes SBD
utopian-io·@magicmonk·
0.000 HBDMy Steemit Friends Update: Conversation Record shows message contents automatically, Effective SP ranking now includes SBD
### New Features - What feature(s) did you add? Previously, on the Conversation Record page, a button was pressed to show the contents of each message. This was convenient, however, if you wanted to see the conversation with a user for multiple messages, it was required to press a button multiple times. After this update, the buttons will be pressed for you automatically so you will just have to wait a second to see all the conversation contents automatically loaded. To test this feature, please go to: http://mysteemitfriends.online/conversation.php Enter two user names, and then click on the blue "See conversation record button".  You will see that the contents of each message will automatically load. The formatting of the table has also been updated. The timestamp now displays the date and the time in two separate lines, saving a bit of column width for the comment column. The comment column will now wrap lines according to the width of the screen. I have also updated the Effective SP ranking table. To see the result, please go to http://mysteemitfriends.online/effectiveSP.php  You can see the rows are now striped and there is also an extra column - SBD (Steem Dollars) on the right, stating how much SBD each person has. This SBD value includes the SBD in the Savings as well as in the account balance. - How did you implement it/them? <a href="https://github.com/Bulletproofmonk/MySteemitFriends/blob/master/conversation.php">conversation.php</a><br> In the conversation record page, I changed the function of the button to an async function. This means that I can use another async function that calls the button function one after another using await, so each message will be loaded after the previous message has been loaded. I also used a FOR loop in PHP to make sure the function was called for every single row with the author and comment URL for that row. <a href="https://github.com/Bulletproofmonk/MySteemitFriends/blob/master/effectiveSP.php">EffectiveSP.php</a> <br> In the EffectiveSP page, I retrieved the SBD information from the Accounts table in conjunction with the previous columns with SQL and displayed the extra column using PHP. I had to convert the string value into a number by stripping away the SBD string and then converting to float, so i can add the two values for SBD balance and SBD savings balance together. <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@magicmonk/my-steemit-friends-update-conversation-record-show-message-contents-automatically-effective-sp-ranking-now-includes-sbd">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
👍 liangfengyouren, cryptonewsly, realinfo, jamjamfood, hdmed.dev, mrsquiggle, cryptwo, juicy-shark, pcma1425, mochi-mochi, may0201, hag228, sequentialvibe, teamaustralia, fisnikk, chaofanjun, happyukgo, dailychina, dailyfortune, dailystats, superbing, justyy, world-travel-pro, lydiachan, bring, magicmonk, joythewanderer, cifer, ikramellahi, fundurian, ihtiht, centerlink, mikepedro, bmj, webcoop, scottweston, gohba.handcrafts, alanzheng, teamsteem, alexandraioana26, utopian-io, justanopinion, xpresscrypto, grayhaunds, natalianamp, dojimaster444, devilcat, aerossone, mandela11, susanli3769, lulita, satoshipapi, phlydaily, kani77, linyou, ghafari, sureshvtec, meirabilies, erledus, mariakt, jhonsel, alhydrprlk, emeywyte, miritalex, kairosan, emptyname, nitego, amaltea, asterkusener, corionersmex, ubik, imuki, notoriouspp, jhonjayc, ramzialhaddadtm, fitrib, black54, tamer5461,