SteemWatcher Portal New Updates " Restricting New Report Entries Of Blacklisted Users "

in Steem Dev6 months ago

Hello Steemians,

20240126_103152_0000.jpg

Steemwatcher team always monitoring activities of scammers on the Steem blockchain. first time we warn the user and provide guidlines to make an innocent posts. but if user do the same plagiarism or scamming activity again and again then we move the user into blaclisted and they will face our downvoting trail system. For blacklisting, we already introduced a cool feature called blacklisting on our steemwatcher portal.

Now we are updating our reporting structures to safe the time and cloud memory of our database.

On Steemwatcher, we can blacklist users based on things like suspicious behavior, plagiarism content and breaking steemit rules to make sure our platform stays secure.

     $blacklistdb = "SELECT * FROM `blacklist_table` WHERE `USERNAME` = '@$username' ";
     $resultdb = mysqli_query($conn, $blacklistdb);
                 if (mysqli_num_rows($resultdb) > 0) {
               $rowblacklistdb = mysqli_fetch_assoc($resultdb);
               $user = $rowblacklistdb['USERNAME'];
            
  // Redirect to the same page with a query string containing the message and the CAUGHT_BY value

    header('Location:' . $_SERVER['PHP_SELF'] . '?msg=blacklisted_User&user=' . urlencode($user));
  exit;
       
      }  
             
// The below code will written under the body tag.

   if (isset($_REQUEST['msg']) && $_REQUEST['msg'] == 'blacklisted_User' && isset($_REQUEST['user']))
                {
                   $user = $_REQUEST['user'];
  echo '<div class=" mt-4 alert alert-danger alert-dismissible fade show" role="alert"> ' . $user . ' user is already blacklisted. New report of ' . $user . ' can not enter .
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
      </div>';
}


Now i updated the code and add some checks using php and sql in the existing code of steemwatcher portal to check if a user is blacklisted on our steemwatcher portal then portal will display the alert message once the new report of blacklisted user will submited on portal.

p2.png

Steemwatcher does not just quietly block blacklisted users new reports. it tells us about it. A message pops up on our screen, explaining that new report of subjected user can not be submited because they are already blacklisted.



Please cast witness vote to bangla.Witness or set proxy to rme.

_
Vote bangla.witness as witness
Set Proxy rme as proxy

Special Thanks.

Cc: @rme
Cc: @hungry-griffin
Cc: @steemcurator01
Cc: @steemchiller
Cc: @pennsif

Thanks for giving your precious time to my post.
Follow | Upvote | Share | Comments
Follow me on Instagram.
Instagram

🆃🅷🅰️🅽🅺 🆈🅾️🆄

Sort:  

This post has been featured in the latest edition of Steem News...

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 65800.35
ETH 3464.66
USDT 1.00
SBD 2.68