installation

4
  Brought to you by: BlackhatBuzz.com Here is how the Script Works:  A User will go to your page  The user must send a certain n umber of visitors to your site using their unique referral code.  Once the user completes the required numb er of referrals , a link is shown where the y can now download the “FREEBIE”  On the “FREEBIE” page , a content locker is installed and the user must now complete a survey to get the “FREEBIE”.  **IMPORTANT ** You must create a link locker with your network that will redirect them to the proper url upon completion of the offer.  The link redirect should go to http://yoursite.com/code-gen.php (changing yoursite to your web url) Once on this page the script will automatically check if it is the proper user that had the referrals. The scri pt is configured to the referrers IP address. This makes it so that the code generator URL cannot be shared with oth ers. If it is shared and the referrer is not correct then the script will generate a new Referral Link and tell the user that the IP does not match and they need to refer a certain amount of users to continue.

Upload: ssss

Post on 02-Nov-2015

217 views

Category:

Documents


0 download

DESCRIPTION

instalam nimice

TRANSCRIPT

  • Brought to you by: BlackhatBuzz.com

    Here is how the Script Works: A User will go to your page

    The user must send a certain number of visitors to your site using their unique referral code.

    Once the user completes the required number of referrals , a link is shown where they can now download the FREEBIE

    On the FREEBIE page , a content locker is installed and the user must now complete a survey to get the FREEBIE.

    **IMPORTANT ** You must create a link locker with your network that will redirect them to the proper url upon completion of the offer.

    The link redirect should go to http://yoursite.com/code-gen.php

    (changing yoursite to your web url)

    Once on this page the script will automatically check if it is the proper user that had the referrals. The script is configured to the referrers IP address. This makes it so that the code generator URL cannot be shared with others. If it is shared and the referrer is not correct then the script will generate a new Referral Link and tell the user that the IP does not match and they need to refer a certain amount of users to continue.

  • INSTALLATION:

    Create a database in cpanel Goto phpmyadmin Select your database Click the SQL Tab Paste the following code in the box:

    PHP Code: CREATE TABLE IF NOT EXISTS `cookie_ref` ( `REF_id` bigint(254) NOT NULL AUTO_INCREMENT, `REF_val` varchar(254) NOT NULL, `REF_hits` int(1) NOT NULL, PRIMARY KEY (`REF_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

    Click GO in the bottom right corner

    Then Repeat and do the Same with the following code:

    CREATE TABLE IF NOT EXISTS `cookie_ref_ips` ( `IP_id` bigint(20) NOT NULL AUTO_INCREMENT, `IP_address` varchar(20) NOT NULL, `REF_val` varchar(50) NOT NULL, PRIMARY KEY (`IP_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

    Edit dbcon/config.php - and fill in your created dbuser, dbpass, dbname

    Change the 'yoursite.com' to your website url in the index.php file on line 150

    Change the 'yoursite.com' to your website url in the code-gen.php file on line 149

    Change the Gateway script from your Network in the complete.php file on line 45 Example of code:

  • Change the Gateway (onclick or gload code) from your Network in the complete.php file between lines 91 thru 147 (all code to be changed has comment mark ups)

    You have 13 lines of code to change since there are 13 items in the slider. HINT: On the items marked redeemed, you can eliminate the OnClick code. This will make it appear that the items are truly unavailable.

    Auto-Refresh: The Script will make the page automatically refresh so the users can see if any visited the site through their link. The default is set to refresh every 2 minutes. PHP Code: On the top of the files index.php and code-gen.php is the above code. Just change the increments by 60 to increase time (ie: 180 means 3 minutes or 180 seconds)

    Changing the Niche:

    The Script can be adapted to just about any niche you like. All the image files are in the img directory. Keep any new images the same size as it will break the CSS on the output. Unless you know how to change the CSS - KEEP ALL NEW IMAGES THE SAME SIZE as the ones replaced.

    You will have to change the Meta Data in the following files for a new Niche.

    index.php

    code-gen.php

    complete.php

    code/codegen.php

  • Changing the amount of Referrals needed:

    The Script default is set at TEN (10) referrals needed to unlock, if you wish to increase or decrease this number you must change the following files:

    index.php line 102 (change the 10 to your new number

    code-gen.php line 96 (change the 10 to your new number

    Changing the code generator codes:

    The script is set up for Xbox Live default codes. However if you want to change the script to another niche to generate other codes:

    Create an new blank codes.txt file

    Insert the new codes (one per line into the txt file)

    Upload the new codes.txt file to codes/codes.txt

    The script randomly chooses one of the codes from the codes.txt file

    Good Luck Take Action - Go Make some Money

    BlackhatBuzz