GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Sell and Buy Forum (https://gfy.com/forumdisplay.php?f=35)
-   -   PHP wrapper class for Dating Gold API for registering users. (https://gfy.com/showthread.php?t=917876)

Killswitch - BANNED FOR LIFE 07-25-2009 12:00 AM

PHP wrapper class for Dating Gold API for registering users.
 
Hey guys, I wrote a PHP wrapper class for the Dating Gold API to allow you to automatically register free users on both AmateurMatch.com and WebcamClub.com When they fill out the form on your site to register.

I am selling copies of the unencoded class along with free upgrades for $100, and also will integrate it into your existing PHP based site for an aditional $50.

A small example of how it works.

PHP Code:

<?php
    
require 'classes/datinggoldapi.class.php';
    
$DatingGoldAPI = new DatingGoldAPI(array('username' => $username,
                                             
'email' => $email,
                                             
'country' => $country,
                                             
'password' => $password,
                                             
'gender' => ($gender == 'male') ? 1,
                                             
'birthday' => $bday_year.'-'.$bday_day.'-'.$bday_month,
                                             
'ipaddr' => $_SERVER['REMOTE_ADDR'],
                                             
'postalcode' => $postalcode,
                                             
'terms' => 1
                                             
)
                                       );
    if(
$DatingGoldAPI->validEmailAddress())
    {
        
$DatingGoldAPI->AmateurMatchRegister();
        
$DatingGoldAPI->WebcamClubRegister();
    }
?>

That is the code I use for AVS tube script integration.

How it works is the class will automate a lot of the fields for the registration to keep your register form short and sweet, but every field can be defined by users registering, but it uses an GeoIP database to automatically grab the Country Code, Postal Code, City, and Region for each user who registers if you don't want to make them supply it themselves.

To make them add it themselves you just add onto the array in the new class section, for example:

PHP Code:

<?php
    $DatingGoldAPI 
= new DatingGoldAPI(array('username' => $username,
                                             
'email' => $email,
                                             
'country' => $country,
                                             
'password' => $password,
                                             
'gender' => ($gender == 'male') ? 1,
                                             
'birthday' => $bday_year.'-'.$bday_day.'-'.$bday_month,
                                             
'ipaddr' => $_SERVER['REMOTE_ADDR'],
                                             
'postalcode' => $postalcode,
                                             
'terms' => 1,
                                             
'city' => $city,
                                             
'region' => $region
                                             
)
                                       );
?>

In that example I added the city and region which the script will then ignore automating those sections.

This bit of code does the following:

PHP Code:

<?php
    
if($DatingGoldAPI->validEmailAddress())
    {
        
$DatingGoldAPI->AmateurMatchRegister();
        
$DatingGoldAPI->WebcamClubRegister();
    }
?>

First it does a check and sees if the email the user supplied is already used in their system, if it is the script does nothing in regards to signing up your user for AmateurMatch or WebcamClub. If it isn't it goes onto registering them with AmateurMatch, then WebcamClub, I made them 2 seperate functions so if you want one but not the other you can.

Currently I only accept paypal for this because I had screwed up my epass and just canceled it and had recently started the process of signing up again after being asked if I could be paid with it. So give me time to finish the process.

If you absolutely can only pay with epassporte I understand, and will find someone who can accept your epass and in exchange send me paypal, but unfortunately until I get my own epass setup, you'll be required to pay their fee for doing the service, sorry.

If anyone has any comments or questions, don't hesitate to hit me up. Weekends usually aren't a great time to get a hold of me, as I try not to work on Sat/Sunday, especially tomorrow due to Staind and Shinedown headlining my county fair's concert states and I'm gonna go check them out.

nation-x 07-25-2009 04:07 AM

I am curious about the benefit... what is the benefit of signing someone up to a dating site surreptitiously?

wizzart 07-25-2009 08:13 AM

DatingGold pay per free singup

David! 07-25-2009 08:38 AM

Quote:

Originally Posted by nation-x (Post 16104572)
I am curious about the benefit... what is the benefit of signing someone up to a dating site surreptitiously?

WOW, You are truly a dumb retard who just doesn't get it.
Now tell me ho much I love black cock

nation-x 07-25-2009 10:31 AM

Quote:

Originally Posted by PussyMan (Post 16105016)
WOW, You are truly a dumb retard who just doesn't get it.
Now tell me ho much I love black cock

If I want input from you I will play with my zipper... that will be your queue to get on your knees and open wide.

My question was relevant and not stupid... I just wasn't aware that these programs would pay for sign-ups that are legal risks. I am not raining on Killswitch's parade... only wanted to understand the benefit.

http://www.ftc.gov/bcp/edu/pubs/busi...rce/bus61.shtm
Quote:

Additional fines are provided for commercial emailers who not only violate the rules described above, but also:

* "harvest" email addresses from Web sites or Web services that have published a notice prohibiting the transfer of email addresses for the purpose of sending email
* Generate email addresses using a "dictionary attack" – combining names, letters, or numbers into multiple permutations
* Use scripts or other automated ways to register for multiple email or user accounts to send commercial email
* Relay emails through a computer or network without permission – for example, by taking advantage of open relays or open proxies without authorization.

Killswitch - BANNED FOR LIFE 07-25-2009 10:55 AM

Quote:

Originally Posted by nation-x (Post 16105346)
If I want input from you I will play with my zipper... that will be your queue to get on your knees and open wide.

My question was relevant and not stupid... I just wasn't aware that these programs would pay for sign-ups that are legal risks. I am not raining on Killswitch's parade... only wanted to understand the benefit.

http://www.ftc.gov/bcp/edu/pubs/busi...rce/bus61.shtm

Not raining on my parade at all, DG has been hooking a lot of sites up to do this, and the wrapper is for their API that allows you to do just this...

My question is with that link above, what's the difference from it and a cross sale except the cross sale bangs your credit card for hundreds of dollars, and this is just a free account?

nation-x 07-25-2009 12:07 PM

Quote:

Originally Posted by Killswitch (Post 16105425)
My question is with that link above, what's the difference from it and a cross sale except the cross sale bangs your credit card for hundreds of dollars, and this is just a free account?

I didn't reply to the thread to start this type of discussion about it. I just wanted to know if it was something the programs were paying for. I wanted to know if it was something that the programs were aware of and how I could benefit... the discussion turned this way because of Pussytards comment. I just wouldn't want to have my affiliate account termed.

Killswitch - BANNED FOR LIFE 07-25-2009 12:35 PM

Quote:

Originally Posted by nation-x (Post 16105734)
I didn't reply to the thread to start this type of discussion about it. I just wanted to know if it was something the programs were paying for. I wanted to know if it was something that the programs were aware of and how I could benefit... the discussion turned this way because of Pussytards comment. I just wouldn't want to have my affiliate account termed.

Nope, all is good, I was talking along side Jayvis a good portion of the time I was writing it and was telling him some of the features. It communicates and automates some of the tasks of their API that does just that, registers users on both sites without actually visiting them, for stuff like this.

wizzart 07-25-2009 03:22 PM

Quote:

Originally Posted by Killswitch (Post 16105425)
DG has been hooking a lot of sites up to do this, and the wrapper is for their API that allows you to do just this...

Where you found their API, I browser all site and there is nothing about API?

Killswitch - BANNED FOR LIFE 07-25-2009 11:10 PM

Quote:

Originally Posted by wizzart (Post 16106413)
Where you found their API, I browser all site and there is nothing about API?

Client sent it to me after talking with DatingGold about getting setup.

AK 07-27-2009 11:49 AM

We have quite a few people voicing their concerns over this, I'd like to clarify the following:

1. we offer API for our affiliates (advanced webmasters only)
2. it is permission base only (we have to activate this tool upon request)
3. though we pay per free, we need to make sure the free:sales ratio is acceptable
4. surfers must be aware that they are getting our sites as bonus (no credit card info are sent to us)
5. the API is not just for per Free program, it's also available for PPS and RevShare
6. contact us FIRST to make sure that you are good to use it

So if KillSwitch can help them ... that would be good.

Killswitch - BANNED FOR LIFE 07-27-2009 11:59 AM

Quote:

Originally Posted by AK (Post 16111902)
We have quite a few people voicing their concerns over this, I'd like to clarify the following:

1. we offer API for our affiliates (advanced webmasters only)
2. it is permission base only (we have to activate this tool upon request)
3. though we pay per free, we need to make sure the free:sales ratio is acceptable
4. surfers must be aware that they are getting our sites as bonus (no credit card info are sent to us)
5. the API is not just for per Free program, it's also available for PPS and RevShare
6. contact us FIRST to make sure that you are good to use it

So if KillSwitch can help them ... that would be good.

Exactly what AK said...

Once again guys, I did not write a script that uses cURL to automatically do this stuff, I wrote a WRAPPER CLASS that communicates with their already made API for doing this stuff...

All I really did was made it easy to incorporate into your site, and automated some GEO based stuff with a GEO IP API.

Killswitch - BANNED FOR LIFE 07-29-2009 02:36 AM

Mmhmmmm...

Jayvis 07-29-2009 12:35 PM

:smilie_we

Killswitch - BANNED FOR LIFE 07-29-2009 04:57 PM

Quote:

Originally Posted by Jayvis (Post 16119897)
:smilie_we

:thumbsup

wizzart 07-29-2009 05:06 PM

Thanks for info :)

Killswitch - BANNED FOR LIFE 08-03-2009 11:57 AM

Bump price lowered to $75


All times are GMT -7. The time now is 07:15 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123