63.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

02-02-2012, 07:30 PM
Post: #1
[GET] Free Lightweight Content Locker
See it working here: http://www.freestreamingepisodes.com/

This is just a little WordPress plugin from CodeCanyon that I hacked up. It's called "Facebook Traffic Pop for WordPress" and it locks your page's content until the user clicks the Like button or the time expires.

I made it so that you can enter any HTML into the popup.. I removed the Like button (you can add it back with HTML, but it will no longer unlock content).. I removed the developer's link and replaced it with a footer..

It's pretty cool, just unzip it to your WP Plugins directory, activate the plugin and go to the Settings. If you want the content to unlock, add a link in the popup with onclick="fbLikeDump(true);" or onclick="fbLikeDump();"

Like this:
Code:
<a href="www.google.com" title="Google" onclick="fbLikeDump();">Visit Google to Unlock</a>
You can also set a timer, so they can click to unlock or they can wait. If you set onclick="fbLikeDump(true);" then the popup will stay closed for 30 days, if you do not, the popup will display on EVERY page... Or however long you tell it to wait until it displays again (in the settings.)

(If you do not set a timer and you do not add onclick="fbLikeDump();" to a link, the content will STAY locked. hehehe)

A couple of other cool things....
1.) You can name the cookie whatever you want, if you're inclined.
2.) You can change the cookie life to whatever you'd like, default is 30 days.

These are done in the "fb-like-pop.js" file.

You can also modify the appearance in the CSS.

[edit]

I also disabled page scrolling and right click menu, until they exit the popup.

Here you go...
Code:
http://www.mediafire.com/?9cvfdg3grrifctg
Code:
https://www.virustotal.com/file/5ad96906f89dceabee47582d21d240235a46b4d7c03cc9e44266775960eb914b/analysis/1328126065/
(note, the documentation included is for the original plugin.)
05-18-2012, 12:22 AM
Post: #2
RE: [GET] Free Lightweight Content Locker
thank mate,
but can you give me examples what you enter at "content" box like your mine ???
im stuck editing it... :'(




71.gif