Author Topic: [FREE] fjSnippet #3 - Referral Splash Page v1.0  (Read 8830 times)

0 Members and 1 Guest are viewing this topic.

  • Business Owner
  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 439
  • Karma: +45/-39
  • Lets Work Together
  • Referrals: 5
    • Revenue Sharing Program
[FREE] fjSnippet #3 - Referral Splash Page v1.0
« on: February 09, 2013, 09:12:42 PM »
Most aurora base script do not include a sample promotion page that can be used by members to build their downline. So that means they usually use the provided referral link and that has many repercussions. Both to the site owner and the member trying to get referrals.

For example consider the two methods to promote a site.

http://www.fjptc.com/index.php?ref=splash1
http://www.fjptc.com/ads/splash1.php?ref=splash1

The first method drives traffic directly to the site and the visitor needs to find the register link. Depending on how many people are promoting the referral link and the number of hops from the viewer and the server, the viewer may leave the site before the page loads. Often I see sites that turn me away because they have an issue related to slow third party ad services, annoying popups, slow or unappealing video and audio. I can name several other turn-offs or obstacles that prevent a sign-up from occurring. That could be a topic for another discussion.

The second method is to present something that loads quickly, doesn't take much room, encourages or empowers the visitor to look for more, sends them directly to the sigup page and collects information to help determine the conversion ratio.

Here is the code for the second method....
Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<title>When is a PTC not a PTC?</title>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="description" content="When PTC does not mean Paid To Click but Pays The Customer. That is when a PTC is not a PTC. At fjPTC you are a customer and we all know the customer is always right.">
<meta name="keywords" content="PTC, Paid To, click, earn, income, task, member, marketplace, membership, lifetime">
<meta content="FJ World Inc" name="author">

</head>

<body>

<?php 

include("updatestats.php"); 
$ref $_GET['ref'];

?>

 
<div align="center">
<a href="http://www.fjptc.com/index.php?view=join&ref=<?php echo $ref?>" target="_blank" title="Try it for FREE!">
<img src="images/splash1.jpg" border="0" alt="FJ Pays The Customer (fjPTC)" />
</a>
<br /><br />
</div>
<div align="center"><div ><br /><script type="text/javascript" src="http://adhitzads.com/17450"></script></div></div>

</body>
</html>

Now let us look at what is presented. I will number them so it is easier to reference if you want to discuss it some more.

1. The splash page link is located in a separate folder and next to the root folder so it can take advantage of some SEO techniques.
2. The page has it own meta data and it can be customized to work well with the content of the page and again to take advantage of SEO. In this example I just inserted an image of my actual page splash page. That will work and often its the best solution for some advertising campaigns. The actual content and how its presented is another topic in itself.
3. include("updatestats.php") is added for data collection.
4. $ref is the variable that gets passed to the registration page.
5. href="http://www.fjptc.com/index.php?view=join&ref=<?php echo $ref; ?> is the destination site with the referring username that will become the upline for the registering member.
6. The image tag is used for simplicity. You can replace it with your own image.
7. The last div is to show how easy it is to add a third party link on your new splash page.

So you should be able to copy/paste the above code into a text editor. Make some small changes and upload the file to a folder on your server and you will be on your way to having your own referring splash page.

I call this v1.0 because I know there are a lot more you can do with a splash page.


Edit: August 09, 2013, 06:10:21 PM

The following code may be used to have your site stats updated every time your splash page is viewed.
You can place the updatestats.php file in the same location as your splash page.
I usually use an ads folder to keep things more manageable.

Code: [Select]

<?php
include("../config.php");
include(
"../includes/mysql.php");
$Db1 = new DB_sql;
$Db1->connect($DBHost$DBDatabase$DBUser$DBPassword);

$today_date=date("d/m/y");
$sql=$Db1->query("SELECT id FROM stats WHERE date='$today_date'");
if(
$Db1->num_rows() == 0) {
$sql-$Db1->query("INSERT INTO stats SET date='$today_date'");
}
$sql=$Db1->query("UPDATE stats SET hits=hits+1 WHERE date='$today_date'");



$sql=$Db1->query("SELECT * FROM dailyhits WHERE `ip`='$vip'");
if(
$Db1->num_rows() == 0) {
$unique=1;
$Db1->query("UPDATE stats SET unhits=unhits+1 WHERE date='$today_date'");
$Db1->query("INSERT INTO dailyhits SET `ip`='$vip', ref='$ref'");


?>








« Last Edit: August 10, 2013, 02:10:52 AM by fjworld »



  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
« Reply #1 on: May 09, 2013, 10:26:11 PM »
my script  dont have include("updatestats.php"); Where can I download it?

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
« Reply #2 on: May 12, 2013, 04:33:36 PM »
Need Support

Warning: include(updatestats.php) [function.include]: failed to open stream: No such file or directory in /home/ar/public_html/splash.php on line 17

Warning: include(updatestats.php) [function.include]: failed to open stream: No such file or directory in /home/ar/public_html/splash.php on line 17

Warning: include() [function.include]: Failed opening 'updatestats.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ar/public_html/splash.php on line 17

  • Business Owner
  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 439
  • Karma: +45/-39
  • Lets Work Together
  • Referrals: 5
    • Revenue Sharing Program
Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
« Reply #3 on: May 13, 2013, 03:34:12 AM »
my script  dont have include("updatestats.php"); Where can I download it?

You can leave out that line of code.
You would have to create the updatestats.php file and place code in it to update your site database stats based on the number of views of the splash page.

If you are not familiar with php/mysql and your script I can customize an updatestats.php file for your installation. I would need your script version and a small fee.

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
« Reply #4 on: May 16, 2013, 12:14:49 PM »
This is the new code i'm using for splashpage but when I click on images the username is removed.

<a href="http://www.clix-ptc.com/index.php?ref=<?php echo $ref?>"><img src="http://www.clix-ptc.com/banners/splash.png" border="0" style="border:none;" alt="Join Clix-PTC"></a>
</a>

  • Business Owner
  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 439
  • Karma: +45/-39
  • Lets Work Together
  • Referrals: 5
    • Revenue Sharing Program
Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
« Reply #5 on: May 16, 2013, 11:40:06 PM »
This is the new code i'm using for splashpage but when I click on images the username is removed.

<a href="http://www.clix-ptc.com/index.php?ref=<?php echo $ref?>"><img src="http://www.clix-ptc.com/banners/splash.png" border="0" style="border:none;" alt="Join Clix-PTC"></a>
</a>

Be careful with using proper syntax. I can see above that you are missing a semi-colon in your php code.
 

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
« Reply #6 on: May 16, 2013, 11:46:14 PM »
Tell me where .First time trying to do a splashpage lol

  • Business Owner
  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 439
  • Karma: +45/-39
  • Lets Work Together
  • Referrals: 5
    • Revenue Sharing Program
Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
« Reply #7 on: May 17, 2013, 12:30:24 PM »
Have a look at the original code....
Code: [Select]
<?php echo $ref?>
As you become more familiar with any coding you will realize that a lot of frustration can be reduce just by being more careful with syntax and typing errors.

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
« Reply #8 on: May 17, 2013, 12:32:32 PM »
about to add code now

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
« Reply #9 on: May 17, 2013, 12:36:52 PM »
The reflink still getting removed when i click link

 

advertise here