You are viewing a single comment's thread from:

RE: SteemFriends.org New Feature - Distinguish between Written/Voted Articles from Main Panel/Navbar, Excluding Comments checkbox

in #utopian-io7 years ago (edited)

Hey there, great updates.

A small note:

if ($articlesonly==2) {
    $result = $this->db->prepare($sql);
    $sql.= "AND (permlink NOT LIKE 're-%')";
}

This may create false positives since we have lots of dapps creating content in the blockchain and not everyone of them follows the "re-$parent_permlink" pattern.

Not sure about SteemSQL's database schema, but should not be possible to check the parent_author exists or not? If it exists, that means it's a comment.


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]

Sort:  

Thank you very much @emrebeyler you are an excellent reviewer. I will definitely look into a better way to do this. Cheers.

Thank you for your review, @emrebeyler!

So far this week you've reviewed 2 contributions. Keep up the good work!

Coin Marketplace

STEEM 0.09
TRX 0.30
JST 0.034
BTC 114592.43
ETH 4117.60
USDT 1.00
SBD 0.59