Pages: [1]   Go Down
  Print  
Author Topic: Fix for PTP not showing verified hits  (Read 598 times)
hprofits
Newbie
*
Offline Offline

Posts: 25


View Profile
« on: July 16, 2011, 03:29:55 AM »

I have members complaining that PTP is not working. Raw hits show but none are valid, even when sent from approved domains. I tested it myself and same thing for me. No hits are valid.

Here are my settings:

Activate Paid To Promote: ?    Checked
Paid To Promote Amount: ?    $0.0001
Only Pay for Allowed Sites: ?    Checked
Pay Only For Unique Visitors: ?  Checked
Unique Pay Behavior: ?    Pay Site-Unique Hits
Pay If No Referring URL: ?  No

and domain are added to PTP approved sites.

Does anybody see any thing wrong with me settings or know what could be wrong?
« Last Edit: July 20, 2011, 09:15:48 PM by 757jterrell » Logged
Upgrade to an SDR 3
757jterrell
Administrator
Hero Member
*****
Offline Offline

Posts: 1637



View Profile WWW
« Reply #1 on: July 16, 2011, 04:06:37 PM »

How is the domain listed in the allowed sites area?
Logged

hprofits
Newbie
*
Offline Offline

Posts: 25


View Profile
« Reply #2 on: July 16, 2011, 04:42:26 PM »

just like this

clicksia.com
Logged
hprofits
Newbie
*
Offline Offline

Posts: 25


View Profile
« Reply #3 on: July 17, 2011, 11:14:08 AM »

Ok i solved part of the problem. I think there is a bug in the script.

Under Ad Settings / Pop Up Ads if Pay Only When Popup Loads is checked PTP does not work. It doesn't matter whether or not Pop Up Ads are enabled. If this is check no hits are valid.

I think this has something to do with the code here in header.php line 144
Code:
if(($ref != "") && ($settings[ptpon] == 1) && ($settings[ptppopup] != 1) && (($allowed > 0) || ($settings[ptpallow] == 0))) {

Ok now here is the problem. My script is now registering valid ptp hits from my blog which is added to my ptp approved list but is not registering hits from click exchanges on other aurora sites, also added to the PTP approved list. As a test I added my ref link to a bunch of click exchanges and have lots of hits coming in from them but none are counted. I'm thinking it has something to do with the referral link is not being passed properly because of the site loading in a frame. I would imagine that the same thing would happen to hits coming from Paid To Click ads too because of the frames, although I have not tested it. I see this as a major problem because this is one of the main ways people will use paid to promote. I hoping there is an easy fix for this problem.


 

Logged
hprofits
Newbie
*
Offline Offline

Posts: 25


View Profile
« Reply #4 on: July 18, 2011, 10:46:43 AM »

Ok I figured it out. It only happens when your using

Member Settings / Paid To Promote / Only Pay For Allowed Sites

The problem occurs when you have a domain added to your PTP Approved List like

clicksia.com

and the hit comes from the www. version of the domain like

www.clicksia.com

the script looks for www.clicksia.com in the database and doesn't find a match because of the www. version of the domain, so the hit doesn't get counted as valid.

You have to strip the www. from $referringurl[host] line 141 in header.php
Logged
757jterrell
Administrator
Hero Member
*****
Offline Offline

Posts: 1637



View Profile WWW
« Reply #5 on: July 20, 2011, 09:14:34 PM »

Thanks, yeah that sounds like a bug, that I will get fixed in the next update.

Logged

amidamaru34
Jr. Member
**
Offline Offline

Posts: 59


View Profile
« Reply #6 on: September 19, 2011, 07:59:24 AM »

please fix this. Thanks Cheesy
Logged
757jterrell
Administrator
Hero Member
*****
Offline Offline

Posts: 1637



View Profile WWW
« Reply #7 on: September 19, 2011, 09:38:47 PM »

Actually its a setting issue on the PTP hits.

I am pretty sure its a setting issue, looks like I need to add a warning message on the ads settings page.

per the header.php file which controls when this will credit, this is the issue:

if(($ref != "") && ($settings[ptpon] == 1) && ($settings[ptppopup] != 1) && (($allowed > 0) || ($settings[ptpallow] == 0))) {

The key here is that ptppopup can not be set to 1 which is under your ad settings page, as the following:

Pay Only When Popup Loads:

Make sure that is NOT clicked and it should work. Let me know if that works.  I will add the warning to that page in the next update.
Logged

Get a SDR 3 NOW at http://ptcfactory.info

The best and most up to date Aurora script in the market!!
Pages: [1]   Go Up
  Print  
 
Jump to: