Need Help With Content Locker

PowerToTHePeople

Junior Member
Joined
Jul 4, 2010
Messages
156
Reaction score
20
Hi im trying to put an content locker in front of a stream, can anyone help me with this, im having some trouble, when i try to do it, the content locker goes behind the stream, or the stream doesn't appear; im trying to make so if the user enters the site, they are able to see the stream loading and after the content locker appears, i would really appreciate some help, thanks.:o
 
Thanks for the replies guys, but im using wordpress.. and in this case im using a leadbolt plugin to load the content locker; what i as trying to do was create a post and put the html there.
 
that is strange, I use them over megavideo and I have no problem. Try using the Official CPA Lead Plugin instead, its what I use
 
Here is what I'm using and working fine so far with leadbolt and wordpress:

Code:
<?php
$views = 2;
session_start();
$_SESSION['ppn_cash'] = 0;
  if (isset($_SESSION['pages'])) {                     
      if ($_SESSION['pages'] < $views) {
        $_SESSION['pages'] = $_SESSION['pages']+ 1;
      } else {
            $_SESSION['ppn_cash'] = 1;
      }
  } else {
          $_SESSION['pages'] = 1;
  }
?>
 
<?php
if ($_SESSION['ppn_cash'] == 1) {
?>

<!-- Interstitial :: Start -->
"put your leadbolt html here"
<!-- Interstitial :: End -->

<?php
}
?>

How to use it:

find header.php in your theme folder and just paste the code at the end of the file

you can edit $views to let the user load as many pages as you want before the locker shows up

hope it helps :)
 
Here is what I'm using and working fine so far with leadbolt and wordpress:

Code:
<?php
$views = 2;
session_start();
$_SESSION['ppn_cash'] = 0;
  if (isset($_SESSION['pages'])) {                     
      if ($_SESSION['pages'] < $views) {
        $_SESSION['pages'] = $_SESSION['pages']+ 1;
      } else {
            $_SESSION['ppn_cash'] = 1;
      }
  } else {
          $_SESSION['pages'] = 1;
  }
?>
 
<?php
if ($_SESSION['ppn_cash'] == 1) {
?>

<!-- Interstitial :: Start -->
"put your leadbolt html here"
<!-- Interstitial :: End -->

<?php
}
?>
How to use it:

find header.php in your theme folder and just paste the code at the end of the file

you can edit $views to let the user load as many pages as you want before the locker shows up

hope it helps :)


thanks for the code, gonna give it a try :D
 
damn this deleted my reply lol >.<.. i got this error Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/*****/public_html/wp-content/themes/twentyten/header.php:12) in /home/*****/public_html/wp-content/themes/twentyten/header.php on line 55

also im trying to center the stream in the middle and the content locker infront of it, but i dont know how to do it>.< do you know any free wordpress theme that would facilitate this? thanks.

EDIT: Ok i found a good theme, the problem is that the iframe of the video goes infront of the content locker :/ i want it to be behind, does anyone know how to solve this?
 
Last edited:
if you want, pm me the site and I can take a look at it from my end
 
Back
Top