Warning page for adult pages

I have been experimenting around with making a warning page for an adult site I have. I am familiar with the index.htmlfile method, but I wanted something a little fancier. Personally, I think boonex should have included it as an option (along with more pay options then PayPal....duhhh.)

oo, where was I? Well, I got this free mod from Gameutopia over at expertzzz.com. But now I can not figure out how to contact any of them. Any of you?

The script was rather simple, consisting of a png., an htaccess file, and the script that seems like it should work. I entered a line : <script type="text/javascript" src="disclaimer/ak14-fr1.js"></script> in to templates/base/_header.html. The main files are at mysite.com/discaimer/the 3 needed files.

What I need to know, is if this is where this location for the call script should be? Or maybe I am doing something else wrong? Nothing is happening. I have moved the call script into different places. Has anyone had this issue, or know how to fix? Here is the script here (yes, I put mysite in the proper spots):

if (document.cookie.indexOf('ak14')<=-1)
{
document.cookie='test_cook=oui;path=/';
if (document.cookie.indexOf('test_cook')<=-1){window.location.replace('http://www.yoursite.com/cookie.php?url=' + escape(window.location));}
else {
function visite()
{
document.cookie='ak14=ok;';
if(document.getElementById)
document.getElementById("bloc-disclaimer").style.display='none'
}
document.write("<div id='bloc-disclaimer' style='text-align:left;'>");
document.write("<div style='position:absolute;z-index:1000;width:96%;height:90%;min-height:1024px;margin-left:2%;margin-right:2%;margin-top:10px;margin-bottom:10px;border:0px red solid; background-color:#ffffff;filter:alpha(opacity=95);-moz-opacity:0.95;opacity: 0.95;text-align:center;line-height: normal ; clear: both;'>");
document.write("</div>");
document.write("<div style='position:absolute;z-index:1001;width:100%;text-align:center; clear: both;'>");
document.write("<div style='width:450px;height:450px;margin-left:auto;margin-right:auto;margin-top:25px;border:4px red solid;padding:10px;background-color:#000000;font-family:Verdana,Arial,Geneva,Helvetica,sans-serif;font-size:13px;color:#FFFFFF;'>");
document.write("<br /><img src='http://www.yoursite.com/disclaimer/disclaimer.png' alt='ATTENTION' />");
document.write("<br /><span style='font-size:50px;margin:0px;font-variant:small-caps;font-weight:900;'>Attention</span>");
document.write("<br /><strong>Adult Warning @ Yoursite.com</strong><br />");
document.write("<span style='line-height:20px;'>If you are under 18 years of age, or if it is illegal to view adult material in your community, please leave now. We can't be held responsible for your actions. We are not acting in any way to send you this information; you are choosing to receive it! Continuing further means that you understand and accept responsibility for your own actions, thus releasing the creators of this Web page and our service provider from all liability.</span>");
document.write("<br /><br /><strong>If you agree; ENTER now, If not please LEAVE.</strong>");
document.write("<br /><br />");
document.write("<a href='#' alt='visite();return(false)' style='color:#FF0000;font-size:30px;text-decoration:underline;background:transparent;font-weight:900' title='Enter Now'>ENTER</a>");
document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
document.write("<a href='http://www.google.com/' style='color:#FF0000;font-size:30px;text-decoration:underline;background:transparent;font-weight:900' title='No Thanks I am Leaving'>LEAVE</a>");
document.write("</div><br /><a style='color:#696969;font-size:10px' href='http://www.yoursite.com' target='_blank'>www.yoursite.com or &copy; yourothersite.com</a>");
document.write("</div>");
document.write("</div>");

}
}

This sentance says nothing, and its possibly spellt wrong.
Quote · 8 Apr 2010

As I recall the files go in a subdirectory you create called "disclamer".  Make sure you clear your cache manually on this one.   Gameutopia is here and might be willing to help if you get stuck.

Quote · 8 Apr 2010

Clear by going into mysite.com/cache and deleting all the files there? I have the disclaimer folder located mysite/disclaimer. Does this seem right?

This sentance says nothing, and its possibly spellt wrong.
Quote · 8 Apr 2010

Yes, also cache- public.  Thing was kind of tempermental as I recall - had to also clear the browser cache whenever I changed anything.

Quote · 8 Apr 2010

disclamer for adults - in English

Paste this line in the file - templates / base / _header.html

<script type="text/javascript" src="http://www.ak14.net/en/ak14-en1.js"></script>

example here

</script>
<script type="text/javascript" src="http://www.ak14.net/en/ak14-en1.js"></script>
<!--[if lt IE 7.]>

disclamer for adults - in  french - change "EN"  - not test with other language

<script type="text/javascript" src="http://www.ak14.net/fr/ak14-fr1.js"></script>

Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 8 Apr 2010

That seemed to do it. Im still slightly confused why it didnt work of my script though. I appreciate the help there danielmarseille. What did you do to yours to make it work? I would still like to fix mine, plus make it so it doesnt scroll away with the page.

This sentance says nothing, and its possibly spellt wrong.
Quote · 8 Apr 2010

Hi, me too i use the some script,  if you use a different template, just be sure don't have another _header.html...

If is like this, you have to add the :  <script type="text/

At the beginnen me too i have problem, and when i contact gameutopia tell me to check if the site can be called without the " www " . If so tell me to change the www.mysite.com with mysite.com  ...

In my case was not that the problem, but in the .js file was an error here : if (document.cookie.indexOf('ak14')<=-1) in place of " ak14" was set something else...

...
Quote · 9 Apr 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.