December 24, 2012

How To Create a Social Content Locker in Blogger BlogSpot


ATTENTION: The Tutorial is Update, Please Update Your Scripts or it will not work!
How many people are using Social networking websites to boost their Website’s Traffic? There are tons of professional Bloggers who entirely depends on the Social Traffic. However, it is extremely difficult to get social exposure quickly. Though, there are some widgets which help to increase social followers, but it is not enough. If we want to dominate the social web, then we have to make use of each and every opportunity that we have. For that reason, we have come up with one of the much anticipated Social Widget of all time, Social Content Locker. 


Do you use multiple social sharing widgets on each and every page of your site? However, still your social exposure is on the lower side. Actually, the problem is that, people love your content. Therefore, they don’t click the social buttons and instead Read and leave your website because they don’t care about your traffic or your website. Asking people to like, +1 or tweet to get access to your content is indeed an ideal way of forcing users to share it on the social web. 

Social Locker consists of three social buttons and a locker displaying horizontally. The Social buttons consist of Facebook, Twitter and Google plus. Whenever, a person would either press Like, Tweet or Plus one button it would display the hidden content. This allows a person to get more real social followers. Feel Free to enjoy the Following Real time Demo. 










How To Install Social Content Locker in Blogger?

The Steps are extremely straightforward that even a small kid can follow it. There is no need of learning any Html coding because all we have to do is to copy paste the coding. Just follow the following instructions. 
  • Go To Blogger.com >> Template >> Edit HTML >> Proceed.
  • Search for </head> just and above it paste the following CSS Coding.

<link href='http://mybloggerlab.com/StyleSheet/lockercss.css' rel='stylesheet' type='text/css'/>


  • After pasting the coding save the template and proceed to next step.

How To Add Social Content Locker in Blogger:

Now whenever a person wants to add a Social content locker in his specific article, then he can follow the following instructions. (Remember: The same steps can also be used on Gadget Area and even in a template).  

  • Go To Blogger.com >> New Post.
  • Select the HTML Tab from the blogger post editor and paste the following coding.
<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="mblunlocker"> </div>
<script type="text/javascript" src="http://mybloggerlab.com/Scripts/mbllock.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.mybloggerlab.com",
text: "Upgrade your social buttons to get more social traffic!"
},

// facebook options
facebook: {
url: "http://www.facebook.com/mybloggerlab",
appId: "418044881593120"
},

google: {
url: "http://www.mybloggerlab.com"
}
});
});;;;
        
</script>


Customization:

  • For Facebook: Replace http://www.facebook.com/mybloggerlab with your Facebook Page.
  • For Twitter: Replace http://www.mybloggerlab.com with your Website's URL or etc. 
  • For Google+: Replace http://www.mybloggerlab.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 418044881593120 from above coding. 

All Done: That's All, we hope this widget would help everyone to magnetize more social followers on your website. Feel free to leave your comment.

From The Editor's Desk:

We are sure this widget would act as an icing on the top. However, using source code a user can easily get access to the hidden content but he should be smart enough to do that. Mostly visitors are not that smart so don't worry about it. What are your thoughts about this widget? Suggest would be welcomed  Take a lot care of yourself till then, Peace, Blessing and Happy socializing. 

Original Resource

  1. http://codecanyon.net/item/social-locker-for-wordpress/3667715
  2. http://codecanyon.net/item/social-locker-for-jquery/3408941

127 comments:

  1. Your way of thinking is very smart and that nice widget is proving it . well done

    ReplyDelete
    Replies
    1. Its out Pleasure Atif Bro, Thanks for leaving positive reviews. Peace

      Delete
    2. In this social lock facebook links are not working. It saying an error that Unable to load SDK.Please make sure that nothing blocks loading of social scripts on your browser.

      Delete
  2. @Raheem Ahmed Khan!

    Sorry Sis Your Comment Was Removed Due to some technical Problem I Republished the Article. Yes, Well actually there are tons of Social Content Locker for WordPress and many other Platform so we decided to create one for Blogger. Yeah, The whole code is Written By MBL Developers. Take Care Peace

    ReplyDelete
    Replies
    1. why m i feeling impressed by the MBL developers:-p

      Delete
    2. LOL :) We would Continue to Impress you Miss..

      Delete
  3. @Rounak Baral

    Bro, Due to some Technical Problem With Blogger the Article on which you comment was removed. Therefore, We Republished it. The WordPress plugin you are talking about has different Dynamics because Blogger is entirely different From WordPress. We have not used any WP source. We have used a Jquery File that does the Job Quite perfectly.

    ReplyDelete
  4. Ohh Its Cool Dear Sir

    ReplyDelete
  5. Yeah, You can also use it for that Purpose. But we already, have a Widget Called. Like To Enter Social POP For that Purpose. Any Ways. Peace

    ReplyDelete
  6. Cool locker..
    Great work MBL Developers

    ReplyDelete
  7. Wow bro it's great... Can you make it for wordpress ?

    ReplyDelete
  8. nice one . it is awesome sharing button. thanks for this :)

    ReplyDelete
  9. mashaallah. amazing, how can you do that? oh yeah, btw how can i lock youtube video?

    ReplyDelete
  10. This is a cool widget however, don't you think it will require a criteria to be able to put this on site. Especially for the new blogs.

    ReplyDelete
    Replies
    1. Well, It Depends on a Person that Where and How He use it. Peace

      Delete
  11. mmmm,yummy, Tasty . Even This Widget Tests more Sweet than a Christmas cake!! Really You are the Real Santa For Bloggers, and this is the best gift for them!!:-)

    ReplyDelete
  12. what's About FB App Coding !What To do with FB App id?/

    ReplyDelete
  13. Tooooooooooooooooo Cooooooooooooooooooooooooooool!!!!!!!!!!!!!!!!!!!!!! Wonderful Piece of work syed! Really impressed! :D

    ReplyDelete
  14. My blogger tricks ... we found a better blog helper :D

    ReplyDelete
  15. replace facebook app id with what ?

    ReplyDelete
    Replies
    1. You have to create a App To Get the ID. However, if you don't have one then Use the Default ID that we have used in the widget!

      Delete
  16. The facebook button is not showing up ... :(
    I tried making an app but with no fruits
    See here : http://www.yourpcgenie.net/2012/12/christmas-giveaway-orange-treat-premium.html

    ReplyDelete
  17. Not working bro .... even with the default app !

    ReplyDelete
    Replies
    1. Hmm! its working fine at our End. No Idea why its not working for you. May be you have to create an APP Id of yours!

      Delete
  18. Brother I want to learn Jquery Tutorials pls put the series post ...

    // Peace

    ReplyDelete
  19. @Everyone!

    ATTENTION: Redirecting to MyBloggerLab Bug Fixed! Please Reapply the Steps as mentioned Above!

    Regards:
    Syed Faizan Ali

    ReplyDelete
  20. Very smart and beautiful widget Locked widget. Thank you for creating and sharing it.

    ReplyDelete
  21. Its keep redirecting to your site my friend :/ Happy new year!

    ReplyDelete
    Replies
    1. Thats Because you are trying to Remove the Credits. :). If you keep the coding as it is then it would not redirect to our site. Peace

      Delete
  22. cool man !!!! nice script.

    but i wants to lock my whole post. and want users to share that post on fb, twitter etc....

    pls tell me about that

    ReplyDelete
    Replies
    1. If You want to Lock Your Whole Content then Simply Paste the Following Codinging in the HTML TAB of POST

      <article id="default-usage">
      <div class="to-lock" style="display: none;">

      <!--Hidden Content Starts (You can Use HTML BELOW)-->

      Paste Your Hidden HTML HERE

      <!--Hidden Content Ends (You can Use HTML ABOVE)-->

      </article>
      </div><div id="mblunlocker"> </div>

      Well, That thing might Annoy users that's why we think 1 Like or Tweet or Google +1 Should unlock the article.

      Hope that Helps Peace

      Delete
  23. This is nice widget dude! Thanks a lot for sharing this content locker.

    ReplyDelete
  24. will you plz provide locker for facebook follow(as newly introduced).

    ReplyDelete
  25. Hi, it seems ur an expert on blogging stuff, i am in deep need of help, can u plzzzzz help me with this 1 query plzzzzz

    I installed fb comment box from this tutorial: http://www.helperblogger.com/2012/03/facebook-comment-box-for-blogger_06.html

    My fb comment box is working but i have a big question to ask, hope u solve my query...

    this is the link to my blog: http://ultimatesqs.blogspot.in/

    when u go to any individual post on my blog, like for example this one: http://ultimatesqs.blogspot.in/2013/02/blog-post_3873.html

    as u can see, i get my fb comment box below the pic and below fb comment box i get my social sharing buttons, my problem is that the social media sharing button comes below fb comment box whereas i want first social media icons and below that i want fb comment box, as i don't know anything about coding can u plzzzzzzzzz reply in as simple steps as possible, plzzzzzz my e mail id is vishalrpanchal@yahoo.com desperately waiting for ur reply...

    ReplyDelete
    Replies
    1. Email Us your Full Blogger Template in XML Format.

      Go To Blogger.com >> Template >> Backup/Upload >> Download Full Template.

      Email that XML File to Support@mybloggerlab.com

      We would Do the rest!

      Delete
  26. Done, waiting for ur reply, just make sure that below my every post these things should come in this order

    1) Rate this posting
    2) MY social sharing buttons
    3) Facebook comment box

    Thanks a zillion in advance...

    ReplyDelete
  27. No reply from ur side? u got my e mail or not? Waiting...

    http://ultimatesqs.blogspot.in/

    ReplyDelete
  28. Really cool widget !

    But I want only the +1 content locker not the tweet & Facebook !

    Can you help ?

    plz reply soon :)

    ReplyDelete
    Replies
    1. Currently we don't have an Google+ Locker but surely would develop it sooner

      Delete
  29. woooo ...
    thanks syed. this is a important article for social media marketing :D

    ReplyDelete
  30. I read on internet that using social locker in blogger may land your blog in trouble, like the blog can be blocked permanently? is it true? i really love your social content locker but i am scared to use as i dont want my blog to get blocked. pl throw some light on this as i dont know much in this? waiting. Thanks

    http://ultimatesqs.blogspot.in/

    ReplyDelete
    Replies
    1. No, there is no problem with using Social lockers on your Site. Since, you're using jQuery to all the work so there is no reason for banning or limiting your account. Feel free to use it.

      Delete
  31. ok so finally i used this locker, it works like a charm , no doubt about it, but i have now 2 problems, 1 small problem and 1 big problem after using this,

    Small problem is that when i lock a content which has no text (Apart from the blog post title) only 1 image which is locked, so after unlocking such posts there is a big gap between blog post title and the start of the image. like 4-5 blank lines?? dont know how to get rid of that

    and second big problem is that my blogs home page gets redirected to your site (mybloggerlab), i can go to individual posts without any problem but as soon as i go to my homepage it gets redirected to ur site? did i do something wrong?

    plzzzzzz reply, as i want to use this locker but without this problems.

    http://ultimatesqs.blogspot.in/ (As of now i have removed the locker because of the redirect problem)
    Desperately waiting for ur reply...

    ReplyDelete
    Replies
    1. To Stop redirection Do as follows.

      <b:if cond='data:blog.pageType == "item"'>

      PASTE THE JAVASCRIPT CODE OF CONTENT LOCKER HERE

      </b:if>

      Provide your blog URL so we can see what is the problem with padding

      Delete
  32. Ok it works amazing now, no redirects and no padding, just 1 last thing, in social locker when i click on tweet option, a new tweet window opens, so far so good, but my website message in that window is 8 characters more than 140 (which twitter allows to tweet), i tried all settings in blogger blog but i am unable to find the place where i set this message edit? plz tell me how to edit this default twitter message which comes when u click on tweet in this social locker. Thanks a zillion.
    http://ultimatesqs.blogspot.in/

    ReplyDelete
  33. Hey! Mybloggerlab Team. You guys are doing so Wonderful job. I really appreciate your work. You have made blogging at blogspot So easy! Your Widgets make blogger one strong opponent of Wordpress.. :D

    Now my question regarding this widget is that..

    Can I make those like google+ tweet buttons Sharing/liking my Post instead of just following my facebook/google+/twitter fanpages?.. I want users to like my Post .. Share it on Google+ .. tweet its link on twitter.

    can it be done?

    Thanks!

    ReplyDelete
    Replies
    1. Its very simple keep the Facebook and Twitter Field empty so it would become a Google+ Locker.

      Delete
  34. why redirect to your blog bro
    my blog www.hackingway.net

    ReplyDelete
  35. To Stop redirection Do as follows.



    PASTE THE JAVASCRIPT CODE OF CONTENT LOCKER HERE



    i use this code also but still redirect to yours

    ReplyDelete
    Replies
    1. You must have Removed some credits. Otherwise it never redirects. Peace.

      Delete
  36. as you might like buttons for sharing?

    ReplyDelete
  37. I bought the original license Codecanyon, how could it work in blogger, if files are disferentes to your you provide here?. Try uploading the files to dropbox, I insert those files with your code you provide but still does not work, the original version can not work in blogger jquery?

    ReplyDelete
    Replies
    1. I am afraid you should have purchased a Licence from us if you wanted to use it on your Blogger site. Since, you have purchased it from codecanyon.com then you should as their support. We cannot help in this case.

      Delete
  38. and you sell the license? what is the price?

    ReplyDelete
  39. The licence of wordpress value 21$, Blogger more cheap no?

    ReplyDelete
    Replies
    1. You get the same thing but tweaked for blogger.

      Delete
    2. but has the option of sharing instead of I like? and has no advertising mybloggerlab?. I want no advertising or visible (not even in the code)

      Delete
    3. Yes in paid version, you won't see any credit links.

      Delete
    4. but I'm interested in all the buttons are to share content (The only thing that is good is to twitter), because I want the one I like is to share and +1 also is to share. If this is possible, tell me how to do the transaction for payment.

      Delete
    5. Well, any optimization is not possible. You would get the same thing that is listed above.

      You can Pay through Payza(AleryPay)

      Delete
  40. First of i want to say thanks for creating such a wonderful widget. It works perfectly on my blog, however it displaced my sidebar. Can you provide me with some assistance on how to eliminate this minor issue.

    Thanks in advance...

    ReplyDelete
  41. Could you provide me the code of link locker for blogger, in which i want to add yocaptcaptcha's captcha. anyone will click on link in my post get a popup captcha after solving it he will redirected to the actual link

    ReplyDelete
  42. where can we add this code in our template

    ReplyDelete
  43. its good but how do i add embedden code to youtube insted of the text? plzz help

    ReplyDelete
  44. Please Change the JS and CSS File with the new one. We have updated our code.

    ReplyDelete
  45. yess..
    I was looking for this
    thank you for sharing

    ReplyDelete
  46. bro i want to remove powered by

    how to remove

    ReplyDelete
    Replies
    1. In this case you have to buy a licence to remove the credits.

      Delete
  47. hi dear I want to buy this script please send me your price please

    ReplyDelete
  48. hold on a second... first, you write a post about a plugin thats is not even yours, then you brand it as yours, (even if the code isnt the exact same,the look is identical) , you not even mention about the backlink/credits and you ask DOUBLE the price that original plugins are? 30$ to remove a text link? Are your serious? I am sorry to tell you but something is wrong with you. i used to like this website, but this is really greedy...

    ReplyDelete
    Replies
    1. Hi,

      We have made contracts with the Original developer of this Plugin, So these price are made up with the same standards as it is available on the marketplace You can check at the bottom of the article there are credits mentioned to the original source

      It is a Partnership

      Yet we are giving it for FREE, just for the sake of your great readership :) with a small credit at the bottom nothing else

      Delete
  49. I really need help, WHY THE FACEBOOK LIKE BUTTON is not showing up?
    -I've tried to use my APP ID and the default ID but still not showing.. Please help...
    http://tronicflow.blogspot.com

    ReplyDelete
  50. Hello,
    It does not work. All i see is the credit to your website, nothing else shows up. What could the problem be?
    My website is ApkMesh.com

    ReplyDelete
  51. There must be something wrong with my template, because i tried it on another blog (with different template), and it worked. Can you help me please? Thanks

    ReplyDelete
    Replies
    1. This Depends on the template. Some custom template doesn't support multiple scripts.

      Delete
  52. Is this legal? Blogger will not delete my blog because of this?

    ReplyDelete
    Replies
    1. Yes its legit, we are using it on this post and works fine.

      Delete
    2. And what if I use this content locker with a site with adsense?
      They will not suspend my adsense account? Thanks for the answer.

      Delete
    3. Yes, Feel free to use it with any Ad network. AdSense too

      Delete
  53. Yes you can use Generate Permalinks before publishing posts. And Add that link to share the url of the same post.

    ReplyDelete
  54. Facebook like note active for blogger netvietplus.net
    http://4.bp.blogspot.com/-ct5pPbSSXcw/UuoN_rkidWI/AAAAAAAAGVs/W8M-cvUymk0/s1600/loi+facebook.PNG

    ReplyDelete
  55. It's stopped working on my site yasterday, after it's worked great till then...
    Please fix asap!

    My site:
    http://www.sportipim.com

    ReplyDelete
  56. Hi MBL team, just want to ask how to customize the header of this widget because in my blogger themes, the header seems white and can't read. Please check it for you to find out, I put the locker at my blog at www.cyberhideout.us. Hope to get a response from you, thanks in advance.

    ReplyDelete
  57. Thanks for this awesome tutorial. I only have one problem, TWITTER option does not work. When I click TWEET nothing happens. Could you check?

    ReplyDelete
    Replies
    1. Hi, Make sure you have Twitter JS in your template to show up the twitter button

      Delete
  58. That's a great code! but it seems not to work on Chrome. The twitter box is not working well and the g+1 box is empty...

    ReplyDelete
    Replies
    1. Hi, You can see the demo it works well with Chrome. And tweet has no options to display 2 tweet button in one page. So make sure you have 1 tweet button on a single page.

      Delete
  59. Thanks for this script, works fine and I make some good traffic using this share content and have good profit. Actually I make 40 dollars a day when my traffic increase.

    ReplyDelete
  60. Hey, I love this :)
    But whenever I open my homepage it keeps redirecting me to your homepage, I didn't touch the credits like, I don't care if its there(you deserve the credit for this awesome widget), but I don't like that it's redirecting.
    Help ?
    My web : http://studioillegal.info/

    ReplyDelete
  61. HI!!! Great locker, but from today is not working...at all

    ReplyDelete
  62. HI!!! Im using this locker for 1 year, but from yesterday it doesnt work...it seems that needs to be updated.

    ReplyDelete
    Replies
    1. You need to buy the script. Currently you are using Public links (that goes down when a lot of user use it). So buy script form us and host it on your own :)

      Delete
    2. Thanks for reply!!! How can I buy this script? from where? Can u help me with this?

      Delete
    3. Please contact support@mybloggerlab.com

      Delete
  63. Hi admin this was a nice article but please can you tell where to find our applID of Facebook?

    ReplyDelete
    Replies
    1. You can get your APP ID from here

      http://developers.facebook.com

      Delete
  64. You can share the css files and js to my email please. or send the original links droopbox.

    email: andres.live.ec@gmail.com

    ReplyDelete
  65. Hello, I could explain how to place the code on the tickets?
    In "Add_Hidden_Image_Here" I put the URL of the image?
    .. The truth Explain that part because I do not understand much, sorry for English, is to use google translator.
    I appreciate your response

    ReplyDelete
  66. Hi, things are same for custom domain and blogspot domain. You must be not following steps correctly.

    ReplyDelete
  67. Bro its css host is not working

    ReplyDelete
  68. It works properly on without custom domain in blogger but do not work on custom domain as i remove custom domain it works good but when i use custom domain it don't work properly. Please help us?

    ReplyDelete
  69. Its work perfectly for me, i need one suggestion shall i change the google plus into the google plus follower option , i need more friends follow me thats y i ask , can u give me the solution

    ReplyDelete
  70. Css File not Found !? Can you upload again

    ReplyDelete
  71. apparently the CSS document is not available.

    ReplyDelete
  72. facebook button not working anymore

    ReplyDelete
  73. Facebook like button not showing ?? why ?

    ReplyDelete
  74. Replies
    1. Follow this tutorial:

      http://www.mybloggerlab.com/2013/06/how-to-add-facebook-recommendation-bar-in-blogger.html

      Delete
  75. Facebook button is not working. It give the error: "Param width must be a number"

    ReplyDelete

We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.