May 2021

How to Highlight an Author Comment in Blogger


Highlight comment
Commenting is the best way of increasing relationship between you and visitors. If you are a blogger and you are getting more comments and visitors, they also may ask some questions by commenting to you and may be you are solving these difficulties of them but how to know that the question's answer solver is really that you. There might be positives and negatives comments, anyone can write comment by using admin as his/her name, so if he write negative being admin then what do you do? Then in that time there might be some problems. So to avoid this kind of problems, you should highlight your comment. I mean you should highlight the original admin' comments.  We already have highlighted by using verified twitter tick markwhich also can not be more effective for highlighting because it is small which cannot be seen easily.
Do you wish to highlight your blog comments? If you want then here are the tricks for it. You just follow the following process and then you will get the result. This code is very much suitable which works on the basic or default comment system of the blogger. This is a simple jquery code that will highlight your comments or author comments.

   How to Highlight Comment Of Author:-  

  • Just Log In into your blogger dashboard.
  • Then as usual go to template and click on edit html.
  • Now Press CTRL+F and find the </body>.
  • Copy the following code and just paste above the </body>
<!--author comment highlight-->
<script type="text/javascript">    $(function() {      function highlight(){        $(&#39;.user.blog-author,.ssyby&#39;).closest(&#39;.comment-block&#39;)          .css(&#39;border&#39;, &#39;1px solid #e1e1e1&#39;)          .css(&#39;background&#39;,&#39;#f1f1f1 url(&quot;https://lh5.googleusercontent.com/-cje9F2ZFycA/U4j5dtliyWI/AAAAAAAAAvI/Ar0qbJmWVko/w140-h126-p/admin-comment-button.png&quot;) no-repeat bottom right&#39;)          .css(&#39;padding&#39;, &#39;10px&#39;);          }          $(document).bind(&#39;ready scroll click&#39;, highlight);                       });</script><a style="display:none" href="http://allblogsolution.com"> Widgets</a>
<!--author comment highlight-->
  • Now click on Save Template.
This is it, you have done successfully. 

JJustjkjk Jjusj

Username availability checking in database using php with jquery ajax method


Username checker in jquery ajax
Jquery ajax database username checker 
Jquery ajax is the best way to check whether the username is available or not. Only using core ajax code is too long and difficult rather than ajax jquery. So use, jquery ajax method for ajax operation. Actually, ajax helps to get or retrieve and post the data from and into the database without reloading the pages.

Lets follow these core coding of jquery ajax which helps you to check the availability of username or any other data.

First of all you need different 3 codes:

  • Database table
  • Simple HTML Form with Jquery Ajax method
  • PHP coding "check_username.php"

Database Table

Create a table name users in database name test using like following codes:
CREATE TABLE users(
id int(11) not null auto_increment
username varchar(255) UNIQUE KEY,
password varchar(255),
PRIMARY KEY (id),
);

Simple HTML Form

<!doctype html>
<html>
<head>
<script src="<ADD JQUERY LIBRARY URL HERE>"></script>
ADD BELOW SCRIPT HERE OR ADD THE URL
</head>
<body>
<form method="post" name="form" action="check_username.php">
username<input type="text" name="username" id="username"/><br/>
<p id="res"></p>password<input type="password" name="password" id="password" />
<input type="submit" value="submit" name="submit" name="submit"/>
</form>
</body>
</html>


JQUERY AJAX SCRIPT

$(document).ready(function(){
      $('#username').keyup(function(){
          var uname = $(this).val();
         
        if(uname.length>5)
          {
              $(#res).html("Processing...");
               $.ajax({
                    type:'post',
                    url:"check_username.php",
                    dataType:'text' ,
                     data:{username:uname}, //key value pairing
                              success:function(value){
                                 $('#res').html(value);
                              }
                  });
           }
       
            else{
                  $('#res').html('<div style="color:red">Needs more than 5 characters</div>');
        }
     });
});

check_username.php PHP file

//create database connection first
$dbConn = new mysqli("localhost","root","password","test");
//check whether the connection is ready or not
if($dbConn->connect_error)
{
      die("Not connected with database, try again");
}
$username = $_POST['username'];
$sqlQuery = "SELECT USERNAME FROM users WHERE username = '$username' ";
$res = $dbConn->query($sqlQuery)
if($res->num_rows>0)
{
       echo "Username Already Taken";
}
else{
       echo "Username Available. Register Now";
}


I hope, the above code will help you to understand basic about .ajax() method of jquery. This is very much easy way to check username availability in database using jquery ajax method and php. 

If you have any difficulties to understand the above code, feel free to ask me. I will do my best to help you. Keep coding, Thank you.

Browser Hijackers Removal Tricks - trutux, snap.do, xaven, searchbar etc - Solved


Browser Hijacker Virus Removed From The Computer

Browser hijackers are the adware programs which automatically download and show advertising programs. Adware hijacks the browsers like Chrome, Mozilla, IE etc and display unwanted advertising materials in your browser.

How to prevent browser hijackers in your PC ?

Prevention is better than cure, so that consider one thing i.e. preventing the browser hijackers in your PC is far better than curing after being your computer hijacked. Indeed, I have also come with several kind of troubles by browser hijackers. So I am sharing my experience as well as preventing and removing techniques of browser hijackers/malwares/adwares. However, I am not so much expert in this field.

Note: We are no longer responsible if you get any other bad consequences by our techniques. So follow this method  with your own responsibilities.

You should do following things on your PC which help you to prevent browser hijackers.
  1. Should enable firewalls of your PC.
  2. Should have an antivirus programs like BitDefender, Kaspersky, Avast etc
  3. Do not open junk sites and p0rnsites
  4. Don't click on pop up ads shown in malware sites
  5. Don't download the programs which do not have publishers ID.
  6. Don't download unknown crack files
  7. Only use applications buying through official stores and sites.
If you consider and follow the above 7 points, then your PC may be out of virus hijackers

How to remove browser hijackers/malwares/adwares ?

Sometimes, you will get such kind of virus which forcefully enters in your PC. And these viruses display ads on your browser automatically which is so irritating. But there are some methods which may help to remove those viruses from your PC. And here I am going to write the methods that I have already come through, in order to remove adware programs.

Note: We are no longer responsible if you get any other bad consequences by these techniques. So follow these steps with your own responsibilities.


Step 01: Reset your browser


Chrome Reset:-  To reset chrome, go to top right corner and click on three dots shown there. Now click on "settings" and go to bottom of the page where you see "show advance setting" option. Click on it and scroll down. Now click on reset settings. It's done.

Mozilla Reset: 
Step a: Click on three stack icon
Step b: Choose question mark
Step c: Now select "trouble shooting information" option
Step d: Click on "reset firebox". Now done.

Internet Explorer Reset
Step a: Choose "Internet Option"
Step b: Now click on "Advance Tab"
Step c: And now click on reset button of reset internet explorer setting.


Step 02: Delete unknown publisher programs and suspected programs from Control Panel

Now you have to delete all the programs which do not have the licensed publishers. But sometimes, those programs can not be deleted from control panel. So they should be delete from registry. However, deleting files from registry is so confidential. You should be so careful before removing files from registry. 

Step 03: Delete virus files and folders from programData folder of C Drive

Just go to C drive and find the files and folders which is more likely to hijackers. Such as Ronzap folder. Ronzap folder is made by snap.do hijacker in programData folder of C drive. These files and folders should be deleted.

Step 04: Comment or remove unwanted IP from host file of system32 folder

It is most essential part when you try to remove hijackers from your PC. Just go to windows >> system32. Now open Drivers>>etc. Then edit hosts file. Host file only can be edited by administrator. So point on it and right click and choose open with administrator option. Now remove unwanted IPs.

Step 05: Restart your computer


Hope, the above methods will help you to remove browser hijackers. If you need any help from us, just comment us below, we will try to give you right solution. Thank you.