How to show a content locker in an iframe?
2014-05-13, 02:38 AM,
#1
I am using AWM and I have a little problem with my content locker.

I created a content locker and now want to use it on my page, however, it should be displayed in an iframe.

Why?

My site asks for a username, then it connects to a database, and then before it gives out the key the user has to do a survey.
But the content locker gateway should be displayed in an iframe so that the rest of the page still can be seen (e.g. the input line asking for the code which will be given after the survey).

So here my code for the iframe:

Quote:<iframe id="fancybox-frame" name="fancybox-frame1399203261831" frameborder="0" hspace="0" style="background: #333333; height: 200px; margin-bottom: 10px; width: 100%;" scrolling="no" src="http://www.loxtk.com/gLoader.php?GID=xxx&go=&sid="></iframe>

But this does not work, it only shows an empty iframe because it requires javascript, and if I put the whole AWM code in an iframe, then this also does not work and does not show the locker.

Anybody know how to solve this? Trying now for 2 hours.
Reply
Share This Thread :
2014-05-13, 03:52 AM,
#2
To make it more clear, this is the awm code:

<script type="text/javascript">awm = false;</script>
<script src="http://www.loxtk.com/gLoader.php?GID=xxx&go=&sid=" type="text/javascript"></script>
<script type="text/javascript">if (!awm) { window.location = 'http://loxtk.com/help/removeAB.php'; }</script>
<noscript>Please enable JavaScript to access this page. <meta http-equiv="refresh" content="0;url=http://loxtk.com/help/enableJS.php" /></noscript>

normally, this comes before the closing </head> tag, but I need this in an IFRAME
Reply
2014-05-13, 07:30 PM,
#3
Got it working now :)
Reply
2014-05-14, 01:16 AM,
#4
I would also wanna know this, since you understood can you help with this please
Reply
2014-05-14, 02:05 AM,
#5
(2014-05-14, 01:16 AM)staffer Wrote: I would also wanna know this, since you understood can you help with this please

yes, of course, no problem :)

all you need to do is

1. you make an html page with your content locker code, e.g. http://www.xyz.com/locker
2. then you make a file with your iframe, e.g. iframe-example.php, this looks e.g. like this

[quote]
<iframe id="fancybox-frame" name="fancybox-frame1399203261831" frameborder="0" hspace="0" style="background: #333333; height: 200px; margin-bottom: 10px; width: 100%;" scrolling="no" src="http://www.xyz.com/locker.html"></iframe>
[quote]

This is all.

In your main page index.php, you can e.g. use this

$IFrame_File = 'iframe-example.php'; // Will be the file containing the iframe of your survey.

and then to show the iframe

<?php include($IFrame_File); ?>
Latest Thanks - View all

lagggolas(2014-05-18 05:07 PM) kazi(2014-05-14 02:19 AM) staffer(2014-05-14 02:08 AM) 
Reply
2014-05-14, 02:08 AM,
#6
Thanks mate much appreciated
Reply
2014-05-14, 02:18 AM,
#7
No problem, if you have any further questions, just let me know!
Reply
2014-05-14, 02:19 AM, (This post was last modified: 2014-05-14, 02:19 AM by kazi.)
#8
I needed this thank you mate for sorting this out.
Reply
2014-05-14, 05:16 AM,
#9
(2014-05-14, 02:19 AM)kazi Wrote: I needed this thank you mate for sorting this out.

No problem, glad I could help
Reply
2014-05-14, 06:39 PM,
#10
thanks, how to let iframe pop up from button click?
Reply


Related Threads
Thread Author Replies Views Last Post
  Content Locking Video walterzingo 13 1,032 2018-02-02, 04:56 PM
Last Post: mike197903
  Do you guys show surveys in your videos? OvRey 4 279 2018-01-19, 08:50 PM
Last Post: zamnajali
  CPA Grip file locker and IG promotion question torikul91 2 182 2018-01-13, 08:34 PM
Last Post: torikul91
  Youtube removed my video for inapropriate content, first video working fine kazurengan 11 448 2017-12-26, 12:43 AM
Last Post: kazurengan
  How can I make a Mediafire content locker ? TheSillyHat 4 279 2017-12-02, 12:56 AM
Last Post: lizha11





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top