Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
General question
09-12-2011, 09:17 AM
Post: #1
Information General question
Hello guys just installed my script you can check out my websites @ http://www.videos.loversexp.com
I got some general questions that i want kindly and explanative answers:
1.Where should i actually post the google analytics codes?Can you navigate me to this file and what should i write (except the code that i have)?
2.I just added some videos to my websites...Are those videos embedded or hosted in my server?
3.How can i add more pages to my script? As well how can i add ads below and above the video player-not in free htlm areas- (please tell me what to paste and where-i have the code of the ad)
4.Seems that my player if i am in 2 mins duration of the video and it has load till 3 mins time and i move the bar at 10 mins it takes forever to load up and start playing from 10 minutes time...Please kindly check my website
5.I have a template ''exoticblue'' or something like that installed now...if i install another one do i have to modify again the free HTML areas?
6.I have a code for a pop-up.Where should i paste it?

Thanks a lot,your help will be really appreciated

P.S If you want to trade links let me know here or [email protected]
P.P.S Thanks again.
Find all posts by this user
Quote this message in a reply
09-12-2011, 11:45 AM (This post was last modified: 09-12-2011 12:46 PM by Punktured.)
Post: #2
RE: General question
1. that would depend, if the code HAS to be in the head tags of the html, you could use the area in the admin section which is for header information. the box supplied is small at the moment but in version 3 we are enlargening it. if it does not HAVE to be in head tags, you could paste it into any of the free html areas.

2. the videos are not hosted on your site, the videos are actually embedded, but using a video.php file which we host here at freeadultscript.

3. this one is kind of complicated, so i will write a new forum post on "how to add new pages" and i will bring the link back here for you.
http://forum.freeadultscript.com/showthr...p?tid=1814

4. this could be for many reasons, and i doubt is a problem with your player or your site.

5. no you dont.

6. again as with question 1, does the code require to be posted in the head tags or not? if not, you can use any of the free html areas.

i hope we have answered your questions ok, if you have any mre questions, let me know.

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
09-12-2011, 01:17 PM
Post: #3
RE: General question
for future users with questions regarding google analytics, i now recommend you paste the code directly into your templates index.php folder before the closing head tag.

and if your popup code requires code in this same place, i also recommend adding it directly to your template index.php file.

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
09-12-2011, 01:30 PM (This post was last modified: 09-12-2011 01:33 PM by letmejerkdotcom.)
Post: #4
RE: General question
Ok i will try the google analytics directly tot the templates

About the pop-up it has 2 steps...where should i place what?


PHP Code:
<!-- TWO STEPS TO INSTALL POPUP WINDOW:

   
1.  Paste the first into the HEAD of your HTML document
   2.  
Use the code to open the popup page on your site  -->

<!-- 
STEP ONECopy this code into the HEAD of your HTML document  -->

<
HEAD>

<
SCRIPT LANGUAGE="JavaScript">
<!-- 
Idea by:  Nic Wolfe -->
<!-- 
This script and many more are available free online at -->
<!-- 
The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {
day = new Date();
id day.getTime();
eval(
"page" id " = window.open(URL, '" id "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=​800,height=800,left = 560,top = 140');");
}
// End -->
</script>


<!-- STEP TWO: Paste this onLoad event handler into the BODY tag -->

<BODY onLoad="javascript:popUp('http://www.letmejerk.com')">

<!-- Script Size:  0.73 KB  --> 

i think i found it sec
Find all posts by this user
Quote this message in a reply
09-12-2011, 01:34 PM
Post: #5
RE: General question
pretty much the same as the google code, place this into your template just BEFORE the < / head > tag
Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by:  Nic Wolfe -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=​800,​height=800,left = 560,top = 140');");
}
// End -->
</script>


now, after the head tag you will see < body >

replace that with this
Code:
<BODY onLoad="javascript:popUp('http://www.letmejerk.com')">

and that should be all you need to do.

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
09-12-2011, 10:26 PM (This post was last modified: 09-12-2011 10:27 PM by letmejerkdotcom.)
Post: #6
RE: General question
Thanks Punktured i already did that...but now i am getting errors with admin/index.php (only the admin page is not working i dont understand why)...i am using exoticblue template... admin url is http://www.videos.loversexp.com
i already gone there and deleted 2 errors (i have them written in a backup just in case ) but more are occuring
Find all posts by this user
Quote this message in a reply
09-12-2011, 10:34 PM
Post: #7
RE: General question
the admin panel does not use the template files at all.
what are the errors?

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
09-12-2011, 10:39 PM
Post: #8
RE: General question
i have a feeling that you have replaced the admin index.php with an index.php from the templates...

can you please paste me your admin index.php into my private message...

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
09-12-2011, 10:45 PM
Post: #9
RE: General question
yep i did that cause in the begging of the index.php it says : this template was created by ''...'' ... what can i do now?
ty
Find all posts by this user
Quote this message in a reply
09-12-2011, 10:51 PM
Post: #10
RE: General question
lol
/admin/index.php file is as follows:
Code:
<?
require_once('../config/config.php');
require_once('functions.php');
require_once("../include/lite.php");
require_once("../include/functions.php");

require_once("../locale/".$locale);

session_start();
if ($_GET['option']=="logout"){$_SESSION['admin']="";}


if ($_POST['type']=="register") {

if ($_POST['password3']==$admin_password) {

$ch = curl_init();
$postfields = 'name='.urlencode($_POST['name']).'&email='.urlencode($_POST['email']).'&password='.urlencode($_POST['password']).'&language='.urlencode($_POST['language']).'&country='.urlencode($_POST['country'])."&domain=".urlencode($website)."&root=".urlencode($root_url);
curl_setopt($ch, CURLOPT_URL, $kaynak_url.'/register/');
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $postfields);
curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$store = curl_exec($ch);
$error=$store;
if (stripos($store,'success')>0) {deger_ata('$email','"'.$_POST['email'].'"');}


}
else
{
$error="<font color='red'>Incorrect Script Admin Password Please Correct it</font>";
}


}



if ($_POST['type']=="login") {

if ($_POST['password2']==$admin_password) {

$ch = curl_init();
$postfields = 'email='.urlencode($_POST['email']).'&password='.urlencode($_POST['password']).'&domain='.urlencode($website)."&version=".$version."&language=".$_POST['language'];
curl_setopt($ch, CURLOPT_URL, $kaynak_url.'/login/');
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $postfields);
curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$store = curl_exec($ch);
if (strpos($store,'false###')>0)
{
$errr=split("###",$store);
$error=$errr[1];
} else if (strpos($store,'true###')>0)
{
$errr=split("###",$store);
$_SESSION['admin']=$errr[1];

}

else
{
$error="<font color='red'>FreeAdultScript is currently having Connection problems. Please try again shortly.</font>";
}

}

else

{
$error="<font color='red'>Incorrect Script Admin Password!</font>";
}

}




if ($_POST['type']=="changeip") {

if ($_POST['password2']==$admin_password) {

$ch = curl_init();
$postfields = 'email='.urlencode($_POST['email']).'&password='.urlencode($_POST['password']).'&domain='.urlencode($website);
curl_setopt($ch, CURLOPT_URL, $kaynak_url.'/changeip/');
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $postfields);
curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$store = curl_exec($ch);
if (strpos($store,'false###')>0)
{
$errr=split("###",$store);
$error=$errr[1];
} else if (strpos($store,'true###')>0)
{
$errr=split("###",$store);

$error=$errr[1];
}

else
{
$error="<font color='red'>FreeAdultScript is currently having Connection problems. Please try again shortly.</font>";
}

}

else

{
$error="<font color='red'>Incorrect Script Admin Password!</font>";
}

}



if ($_POST['type']=="registerdomain") {

if ($_POST['password2']==$admin_password) {

$ch = curl_init();
$postfields = 'email='.urlencode($_POST['email']).'&password='.urlencode($_POST['password']).'&domain='.urlencode($website).'&language='.urlencode($_POST['language']).'&root='.$root_url;
curl_setopt($ch, CURLOPT_URL, $kaynak_url.'/registerdomain/');
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $postfields);
curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$store = curl_exec($ch);
if (strpos($store,'false###')>0)
{
$errr=split("###",$store);
$error=$errr[1];
} else if (strpos($store,'true###')>0)
{
$errr=split("###",$store);

$error=$errr[1];
if (stripos($store,'success')>0) {deger_ata('$email','"'.$_POST['email'].'"');}
}

else
{
$error="<font color='red'>FreeAdultScript is currently having Connection problems. Please try again shortly.</font>";
}

}

else

{
$error="<font color='red'>Incorrect Script Admin Password!</font>";
}

}





if ($_POST['type']=="changepassword") {

if ($_POST['password2']==$admin_password) {

$ch = curl_init();
$postfields = 'email='.urlencode($_POST['email']).'&password='.urlencode($_POST['password']).'&newpassword='.urlencode($_POST['newpassword']);
curl_setopt($ch, CURLOPT_URL, $kaynak_url.'/changepassword/');
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $postfields);
curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$store = curl_exec($ch);
if (strpos($store,'false###')>0)
{
$errr=split("###",$store);
$error=$errr[1];
} else if (strpos($store,'true###')>0)
{
$errr=split("###",$store);

$error=$errr[1];
}

else
{
$error="<font color='red'>FreeAdultScript is currently having Connection problems. Please try again shortly.</font>";
}

}

else

{
$error="<font color='red'>Incorrect Script Admin Password!</font>";
}

}


if ($_SESSION['admin']) { eval(gzinflate(base64_decode($_SESSION['admin']))); }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>FreeAdultScript Admin</title>
<meta name="keywords" content="" />
<meta name="Gestured" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<!-- start header -->
<div id="header">
    <div id="menu">
        
    </div>
    <div id="logo">
        <h1><a href="<?=$kaynak_url;?>"><span>FreeAdultScript - Admin Panel</span></a></h1>
        <p><?=$kaynak_url;?></p>
    </div>
</div>

<!-- end header -->
    <!-- start page -->
    <div id="page">
        <div id="sidebar1" class="sidebar">
            <ul>
                <? if (function_exists('menu_dok'))  
{
               echo menu_dok();
              
               } else { ?>
                
                
<li><h2><a href="?">LOG IN</a></h2></li>

<? } ?>
                
                
            </ul>
        </div>
        <!-- start content -->
        <div id="content">
            
                <? if (function_exists('icerik_dok'))  
{
               echo icerik_dok();
              
               }
               else
              
               {
              
              
               ?>
              
              
               <? if ($_GET['option']=="register") { ?>
                <div class="post">
                <h1 class="title">Registration</h1>
                <div class="entry"><br />

<?=$error;?><br />

               <table border="1">
<form name="register" method="post" onsubmit="return denetle();">
<tr><td>Name</td><td> <input type="text" name="name" value="<?=$_POST['name'];?>" id="name" /> <input type="hidden" name="type" value="register" />  </td></tr>
<tr><td>E-mail</td><td> <input type="text" name="email" id="email" value="<?=$_POST['email'];?>" />  </td></tr>
<tr><td>FreeAdultScript User Password</td><td> <input type="password" name="password" id="password" /> </td></tr>
<tr><td>Retype FreeAdultScript User Password</td><td> <input type="password" name="password2" id="password2" /> </td></tr>
<tr><td>Script Admin Password</td><td> <input type="password" name="password3" id="password3" /> * script admin password that you created during installation  </td></tr>
<tr><td>Your Website Language</td><td> <input type="text" name="language" id="language" value="<?=$_POST['language'];?>" />  </td></tr>
<tr><td>Your Country</td><td> <input type="text" name="country" id="country" value="<?=$_POST['country'];?>" />  </td></tr>

<tr><td colspan="2"> <input type="submit" value="Register" />  </td></tr>
</form>
</table>
<script language="javascript">
function denetle()
{
if (document.getElementById("name").value=="") {alert("Please enter Your Name!");return false;}
if (document.getElementById("email").value=="") {alert("Please enter Your E-Mail!");return false;}
if (document.getElementById("password").value=="") {alert("Please enter Your FreeAdultScript Password!");return false;}
if (document.getElementById("password2").value=="") {alert("Please Retype Your FreeAdultScript Password!");return false;}
if (document.getElementById("password3").value=="") {alert("Please enter Your Script Admin Password!");return false;}
if (document.getElementById("language").value=="") {alert("Please enter Your Website Language!");return false;}
if (document.getElementById("country").value=="") {alert("Please enter Your Country!");return false;}
if (document.getElementById("password").value!=document.getElementById("password2").value) {alert("FreeAdultScript Passwords Do not same!");return false;}
return true;
}
</script>
            </div>
                </div>  
               <? } else if ($_GET['option']=="changeip") { ?>
              
              
               <div class="post">
                <h1 class="title">Your Hosting/Server Outgoing Ip Change</h1>
                <div class="entry">
<br />
Your Servers ip is : <?=$_SERVER['SERVER_ADDR']; ?>
<br />

<?=$error;?><br />
<table border="1">
<form name="login" method="post" onsubmit="return denetle();">
<tr><td>E-mail</td><td> <input type="text" name="email" id="email" />  <input type="hidden" name="type" value="changeip" /></td></tr>
<tr><td>FreeAdultScript User Password</td><td> <input type="password" name="password" id="password" /> * password that you created when registering at freeadultscript.com </td></tr>
<tr><td>Script Admin Password</td><td> <input type="password" name="password2" id="password2" /> * script admin password that you created during installation  </td></tr>
<tr><td colspan="2"> <input type="submit" value="Change Ip" />  </td></tr>
</form>
</table>
<script language="javascript">
function denetle()
{
if (document.getElementById("email").value=="") {alert("Please enter Your E-Mail!");return false;}
if (document.getElementById("password").value=="") {alert("Please enter Your FreeAdultScript Password!");return false;}
if (document.getElementById("password2").value=="") {alert("Please enter Your Script Admin Password!");return false;}

return true;
}
</script>

<hr />
              
           </div>
                </div>  
                
                
                
                <? } else if ($_GET['option']=="changepassword") { ?>
              
              
               <div class="post">
                <h1 class="title">Change FreeAdultScript Password</h1>
                <div class="entry">
<br />

<?=$error;?><br />
<table border="1">
<form name="login" method="post" onsubmit="return denetle();">
<tr><td>E-mail</td><td> <input type="text" name="email" id="email" />  <input type="hidden" name="type" value="changepassword" /></td></tr>
<tr><td>OLD FreeAdultScript User Password</td><td> <input type="password" name="password" id="password" /> * password that you created when registering at freeadultscript.com </td></tr>
<tr><td>Script Admin Password</td><td> <input type="password" name="password2" id="password2" /> * script admin password that you created during installation  </td></tr>
<tr><th>NEW FreeAdultScript User Password</th><td> <input type="password" name="newpassword" id="newpassword" />  </td></tr>
<tr><th>Retype NEW FreeAdultScript User Password</th><td> <input type="password" name="newpassword2" id="newpassword2" />  </td></tr>
<tr><td colspan="2"> <input type="submit" value="Change Password" />  </td></tr>
</form>
</table>
<script language="javascript">
function denetle()
{
if (document.getElementById("email").value=="") {alert("Please enter Your E-Mail!");return false;}
if (document.getElementById("password").value=="") {alert("Please enter Your OLD FreeAdultScript Password!");return false;}
if (document.getElementById("password2").value=="") {alert("Please enter Your Script Admin Password!");return false;}
if (document.getElementById("newpassword").value=="") {alert("Please enter Your NEW FreeAdultScript Password!");return false;}
if (document.getElementById("newpassword2").value=="") {alert("Please retype Your NEW Script Admin Password!");return false;}
if (document.getElementById("newpassword2").value!=document.getElementById("newpassword").value) {alert("Your NEW password and Confimation pasword are not same. Please retype them again!");return false;}
return true;
}
</script>

<hr />
              
           </div>
                </div>  
                
                
                 <? } else if ($_GET['option']=="registerdomain") { ?>
              
              
               <div class="post">
                <h1 class="title">Domain Registration</h1>
                <div class="entry">
<br />
Your Domain is : <?=$website; ?>
<br />

<?=$error;?><br />
<table border="1">
<form name="login" method="post" onsubmit="return denetle();">
<tr><td>E-mail</td><td> <input type="text" name="email" id="email" />  <input type="hidden" name="type" value="registerdomain" /></td></tr>
<tr><td>FreeAdultScript User Password</td><td> <input type="password" name="password" id="password" /> * password that you created when registering at freeadultscript.com </td></tr>
<tr><td>Script Admin Password</td><td> <input type="password" name="password2" id="password2" /> * script admin password that you created during installation  </td></tr>
<tr><td>WebSite Language</td><td> <input type="text" name="language" id="language" />  </td></tr>
<tr><td colspan="2"> <input type="submit" value="Register Domain" />  </td></tr>
</form>
</table>
<script language="javascript">
function denetle()
{
if (document.getElementById("email").value=="") {alert("Please enter Your E-Mail!");return false;}
if (document.getElementById("password").value=="") {alert("Please enter Your FreeAdultScript Password!");return false;}
if (document.getElementById("password2").value=="") {alert("Please enter Your Script Admin Password!");return false;}
if (document.getElementById("language").value=="") {alert("Please enter Your Language!");return false;}

return true;
}
</script>

<hr />
              
           </div>
                </div>    
              
               <? } else { ?>
               <div class="post">
                <h1 class="title">Log in</h1>
                <div class="entry">
<br />
<?=$error;?><br />
<table border="1">
<form name="login" method="post" onsubmit="return denetle();">
<tr><td>E-mail</td><td> <input type="text" name="email" id="email" />  <input type="hidden" name="type" value="login" /></td></tr>
<tr><td>FreeAdultScript User Password</td><td> <input type="password" name="password" id="password" /> * password that you created when registering at freeadultscript.com </td></tr>
<tr><td>Script Admin Password</td><td> <input type="password" name="password2" id="password2" /> * script admin password that you created during installation  </td></tr>
<tr><td>Language</td><td> <select name='language'><option value="en">English</option><option value="tr">Turkish</option></select> </td></tr>

<tr><td colspan="2"> <input type="submit" value="Log In" />  </td></tr>
</form>
</table>
<script language="javascript">
function denetle()
{
if (document.getElementById("email").value=="") {alert("Please enter Your E-Mail!");return false;}
if (document.getElementById("password").value=="") {alert("Please enter Your FreeAdultScript Password!");return false;}
if (document.getElementById("password2").value=="") {alert("Please enter Your Script Admin Password!");return false;}

return true;
}
</script>

<hr />
                    <h2><a href="?option=register">REGISTER</a></h2>
                    
                
                 If You do not have a user account please Register.  <hr />
                <h2><a target="_blank" href="http://freeadultscript.com?option=forget">FORGOT FreeAdultScript PASSWORD</a></h2>
                    
                
If you forgot your FreeAdultScript Acount Password, please request it be sent to your E-Mail.  <hr />

                    <h2>FORGET SCRIPT ADMIN PASSWORD</h2>
                
If you forgot your Script Admin Password, please see the config file that is located at config/config.php and find $admin_password="?????". <hr />
                    <h2><a href="?option=registerdomain">REGISTER DOMAIN</a></h2>
                    
                 If you already have registered your user and you have a new domain Please register your new domain.  <hr />
                
                    <h2><a href="?option=changeip">CHANGE IP</a></h2>
                    
                
If you have changed your hosting, please change your servers outgoing ip address to log in. </li>
                 <hr />
                    <h2><a href="?option=changepassword">CHANGE PASSWORD</a></h2>
                    
Here You can change your FreeAdultScript Account Password.  <hr />
                    
                    <h2><a target="_blank" href="http://freeadultscript.com?option=contact">CONTACT US</a></h2>
                    
                
Feel free anytime to contact FreeAdultScript.com with any problems or questions.
                <hr />
                    <h2><a target="_blank" href="http://forum.freeadultscript.com">FreeAdultScript FORUM</a></h2>
                    
                
You can also contact with other users or with admin by visiting our forum.
                 <hr />


                </div>
                </div>
              
               <?
              
               }
               }
               ?>
            
            
            
        </div>
        <!-- end content -->
        
        <div style="clear: both;">&nbsp;</div>
    </div>
    <!-- end page -->
</div>
<div id="footer">
    <p class="copyright">&copy;&nbsp;&nbsp;2011 All Rights Reserved &nbsp;&bull;&nbsp; Scripted by <a href="<?=$kaynak_url;?>">Free Adult Script</a>.</p>
</div>
</body>
</html>

have you overwritten any other files?
the only file which needed those popup codes etc is:
/template/YOUR_TEMPLATE/index.php

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: