Monday 6 April 2015

[UPDATED] How To Create a Social Content Locker in Blogger Blog


Update : Powered By New Blogger Tricks attribution is Removed..

Enjoy the New Version without any Credits 

Social Content Locker is Used To Lock Specific text  And Images
You Can Easily Install Social Content Locker By Following Simple Steps






  • Sign in To Your Blogger Account and Select Blog That You Want To ADD This Widget
  • Then Go To Template Tab  >>  Edit HTML
  • Then Add The Below Code Before or Above </head> (Want help to find Click Here)
<link href='http://newblogger-tricks.webege.com/locker.css' rel='stylesheet' type='text/css'/>


Update  New Design Added

            To See New Design ClickHere
  • For this design replace the above code with below code
<link href='http://newblogger-tricks.webege.com/locker-new.css' rel='stylesheet' type='text/css'/>








  • Now Go To The Post/Page you want to Lock Content And Add Below Code In HTML Tab

  • <article id="default-usage">
    <div class="to-lock" style="display: none;">
         
    <!--Hidden Content Starts (You can Use HTML BELOW)-->
    <div style="text-align: center; margin-bottom: 20px;">
    <img src="Add_Hidden_Image_Here" alt="" style="margin: auto;" />
    </div>
    <div style="text-align: justify">
    Add Your Hidden Text Here
    </div>
    <!--Hidden Content Ends (You can Use HTML ABOVE)-->
    </article>
    </div><div id="nbtunlocker"> </div>
    <script type="text/javascript" src="http://newbloggertricks.googlecode.com/svn/lock.js"></script>

    <script>
    jQuery(document).ready(function ($) {
    $("#default-usage .to-lock").socialLock({
    text: {
    header: "Share it To Unlock This Content",
    message: "Yes, this is Social Locker. Just try it, click on one of buttons."
    },
    style: "ui-social-locker-secrets",
    buttons: {
    order: ["twitter", "facebook", "google"]
    },
    // twitter options
    twitter: {
    url: "http://www.newblogger-tricks.com",
    text: "Upgrade your social buttons to get more social traffic!"
    },
    // facebook options
    facebook: {
    url: "http://www.facebook.com/newbloggertrcks",
    appId: "706100816073140"
    },
    google: {
    url: "http://www.newblogger-tricks.com"
    }
    });
    });;;;
         
    </script>






  • For Facebook: Replace http://www.facebook.com/newbloggertrcks  with your Facebook Page.
  • For Twitter: Replace http://www.newblogger-tricks.com with your Website's URL or etc. 
  • For Google+: Replace http://www.newblogger-tricks.com with the URL of your website or post.
  • Replace Add_Hidden_Image_Here with the Image that you want to Hide.
  • Replace "Add Your Hidden Text Here" With the text that you want to hide from users.


  • Remember: Don't forgot to Add Facebook App ID otherwise the Facebook Like button will not appear properly. i.e. Replace 706100816073140 from above coding.





    26 comments:

    1. It's not working
      Regards,
      http://tronicflow.blogspot.com/

      ReplyDelete
    2. This comment has been removed by a blog administrator.

      ReplyDelete
      Replies
      1. We Are Working On This...
        This Will be Updated Soon

        Delete
    3. This comment has been removed by a blog administrator.

      ReplyDelete
    4. how to remove POWERED BY NEW BLOGGER TRICK ? :(

      ReplyDelete
      Replies
      1. buy the script....Contact me on www.fb.com/gsrdatta

        Delete
    5. não funcionou aqui

      ReplyDelete
    6. Replies
      1. Explain Your Problem in detail please....
        It Is working

        Delete
    7. i try it but not working..

      ReplyDelete
    8. How can I use Facebook share button instead?

      ReplyDelete
    9. Have a shortcode for Blogger? Every post that adding this code is too long.

      ReplyDelete
      Replies
      1. it is not possible..because we want to add to selected content...
        However we will try this also...Thanks For suggestion

        Delete
    10. halo,how to get Facebook App ID?

      ReplyDelete
    11. I have tried, working great. Thanks for this widget. I've tried from MBT, but their is outdated. Nice work :)

      ReplyDelete
    12. So beautiful Working Here!

      http://www.techmenow.co/2014/12/touchwiz-revolution-V8.html

      ReplyDelete
    13. thats great info

      Http:\\earnings98.blogspot.com

      ReplyDelete
    14. i placed the app id but fb block is empty,how to setup fb like block?

      ReplyDelete
    15. please help me. how to use it

      ReplyDelete
    16. Hi Datta,
      This worked Perfectly for me. I heard that in some forums that this script is free for only 1 year . Is it like that ? Or can i use it infinitely Please reply

      ReplyDelete

  • Home
  • About Us
  • Contact Us
  • Write For Us
  • Sitemap
  • Privacy Policy
  • Back To Top