TalkPTC

The MarketPlace => Mods and Addons => Aurora Free Addons => Topic started by: fjworld on February 09, 2013, 09:12:42 PM

Title: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: fjworld 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'");


?>








Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 on May 09, 2013, 10:26:11 PM
my script  dont have include("updatestats.php"); Where can I download it?
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 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
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: fjworld 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.
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 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>
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: fjworld 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.
 
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 on May 16, 2013, 11:46:14 PM
Tell me where .First time trying to do a splashpage lol
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: fjworld 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.
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 on May 17, 2013, 12:32:32 PM
about to add code now
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 on May 17, 2013, 12:36:52 PM
The reflink still getting removed when i click link
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 on May 17, 2013, 12:40:01 PM
As I roll mouse over image I see this http://www.clix-ptc.com/index.php?ref= with no username
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: fjworld on May 17, 2013, 09:14:40 PM
The reflink still getting removed when i click link

I don't think you are following the exercise correctly.

Normal referral link is...
http://www.fjptc.com/index.php?ref=splash1

A splash page link would be...
http://www.fjptc.com/ads/splash1.php?ref=splash1

What is the link to the splash page you created?
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 on May 17, 2013, 10:20:15 PM
http://www.clix-ptc.com/splash.php?ref=admin
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 on May 17, 2013, 10:33:59 PM
I got it now I just removed update_stats.php and used

<a href="http://www.clix-ptc.com/index.php?view=join&ref=<?php echo $ref; ?>" target="_blank" title="Try it for FREE!">
      <img src="banners/splash.png" border="0" alt="Advertsing Made Easy (CLIX-PTC)" />
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: fjworld on May 18, 2013, 03:21:01 PM
http://www.clix-ptc.com/splash.php?ref=admin

Appears to be working now.
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 on May 22, 2013, 02:34:13 AM
New Splashpage I made and tell me how it look

http://www.crew4crew-ptc.com/splash.php?ref=admin (http://www.crew4crew-ptc.com/splash.php?ref=admin)
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: fjworld on May 22, 2013, 12:45:44 PM
New Splashpage I made and tell me how it look

http://www.crew4crew-ptc.com/splash.php?ref=admin (http://www.crew4crew-ptc.com/splash.php?ref=admin)

A poor quality image will scare people away. Don't use it until you get something more attractive.
Does it not look out of focus to you?
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: homenet1 on May 23, 2013, 06:11:06 AM
Just testing it
Title: Splashpage Working With RefLink
Post by: homenet1 on August 06, 2013, 01:47:55 AM

How do my new splash pages look?

http://www.clix-ptc.com/splash.php?ref=admin

http://www.crew4crew-ptc.com/splash.php?ref=auroraplus

Codes:

<head>
<title>Crew4Crew-PTC - SplashPage</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 Crew4Crew-PTC 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


$ref = $_GET['ref'];

?>
   



   
<div align="center">
<a href="http://www.clix-ptc.com/index.php?view=join&ref=<?php echo $ref; ?>" target="_blank" title="Try it for FREE!">
      <img src="banners/splash.jpg" border="0" alt="Advertsing Made Easy (CLIX-PTC)" />
Title: Re: [FREE] fjSnippet #3 - Referral Splash Page v1.0
Post by: fjworld on August 10, 2013, 02:11:28 AM
I added some code in the original post to have your site stats updated every time your splash page is viewed.