169645 Traffic Rotation Script

Tamamlanmış İlan edilme: Oct 2, 2007 Teslim sırasında ödenir
Tamamlanmış Teslim sırasında ödenir

Hello:

I would like to have a traffic rotation script made. Below is how the script should be programmed. Please let us know if you can do it and if so, we would like to offer $400.00

Here how it will work. Members will first create a free account. They will then add sites to the rotations. Next, they will buy visitors. We will have a master url which is a rotator.

This url will rotate all Active sites that have visitors assigned to them. This main site url will be the url we advertise to send visitor (hits) to our members sites.

Only sites that are Active and have visitors assigned to them will be rotated. If there are no Active

sites with visitors assigned to them, then the Admin Default site will be shown. (Please see below for more details).

Note: For the admin panel and the members area, you can refer to the following site to get an idea of what I'm talking about: [url removed, login to view]

1) A visitor would have to create a free account with us. So the sign-up form should have the following fields:

a) First Name

b) Last Name

c) Contact Email Address

d) Password

e) Confirm Password

The visitor would have to put a check in the box next to the "Term of Service" before he is allowed to sign up. Additionally, the system should not allow an

email address to be entered in the system twice. If a visitor tries to sign up with an email address already in the system, a message should pop up stating

"Sorry, the email address you entered is already in our database, please enter a different email address."

Now, once a visitor signs up, he should be taken to a page with the following message: "Thank you for registering. An activation Link was just sent to your email address. Please click on the link in that email to activate your account.

Note: If you do not receive your activation

email within 24 hours, go to the login page, click on the "Re-send Activation Email" link, enter

your email address, click the "Submit" button and the system will send you the activation email again!

The system will assign each member a User ID# starting with the number 1. The confirmation email should read like this:

[firstname] thank you for Joining [url removed, login to view]!

Your WespacTraffic User ID# is: ".$id."

Your WespacTraffic password is: ".$_POST['password']."

To activate your account you have to open the following link:

".$site_url."[url removed, login to view]".$id."

Click it or copy-paste it to your browser's query string.

Again, Thanks For Joining!

Regards,

[url removed, login to view], Admin

2) Once a member has confirmed his account, he would then go to the login page. The login page should have the following fields:

Enter Your User ID#:

Enter Your Password:

Also, there should be the following Links:

Forgot Password? (When a member clicks on this link, he should have a choice of entering his User ID# or Email Address. The system should then send him an email with his User ID#, Password and Email Address

Click Here To Re-send Activation Email (When a member clicks on this link, the system should re-send the confirmation email as stated in item#1 above).

3) Inside the member's area should be the following links at the top:

a) Member's Home

b) Profile

c) Buy Visitors

d) Contact Us

4) On the member's page will be where the member can add his sites. Each member will be allowed to add up to

5 sites. The following items should be on this page:

a) Add Site

- Site Name

- Site Url

b) Below Add Site should be: Unassigned Visitors (this number will be the number of visitors a member purchased. there should be a button next to this figure that says "Click Here To Assign These Visitors to your sites". When a member clicks on that button, he should be presented with his list of sites.

There should be a field next to each site so that he can type the number of visitors he wants that site to receive). Please note that a member cannot assign more visitors to his site than what is listed in the "Unassigned Visitors" account.

c) The Site Table (the following fields will be in the Site table. NOTE: You can refer to the following site to see how the site table should be set up: [url removed, login to view] login=wespac password=aussie)

- Site Name

- Site Url

- Visitors Received

- Reset Stats (this will set the Visitors Received to zero)

- Site Status (ie.. Waiting For Approval, Active, Paused or Suspended. if a site is "Waiting" "Paused" or "Suspended", these sites will NOT be placed into rotation)

- Edit Site

- Pause/Resume Site

- Delete Site

- Visitors Assigned (this is the number of visitors assigned to this particular url)

NOTE: Whenever a member site receives a hit in the rotator, his Visitors Assigned will be reduced by 1

and his Visitors Received will increase by 1)

Also, if a member delete a site that has Visitors Assigned, those visitors are added back to his Unassigned Visitors account. This way the member will not lose his visitors when he deletes a site with Visitors Assigned.

d) Move Visitors Between Sites

- Move From:

- Number of Visitors

- Move To:

- Move Visitors

5) Once a member adds his sites, he will then click on the "Buy Visitors" link at the top of

the member's page. We will be using ClickBank ([url removed, login to view]) as our payment processor. So you will need to set up the IPN for ClickBank.

We will have the following visitors packages for sale

- 1,000 Visitors ($30)

- 2,000 Visitors ($60)

- 3,000 Visitors ($90)

- 4,000 Visitors ($120)

- 5,000 Visitors ($150)

Once a member complete the purchase, he will be re-directed to the "Thank You" page in the member's area. Once

he returns to the member's area, the number visitors he purchased should be automatically added to his Unassigned

Visitors account through the IPN.

NOTE: My last membership site, members were able to cheat the system. They would copy the pay button,

upload it to their site and make a purchase from there. In the IPN we need an Anti-Cheat feature. Where if my secret code does not match or if the transaction ID# is blank, the system should not update the database or allow the transaction.

Instead the system should email me the details of the possible fradulent transaction: (Member's First and Last name, User ID# and the member's email address). Below is the IPN for Alert Pay which includes the Anti-cheat feature. You can use this as a reference:

[code]

<?php

include("../[url removed, login to view]");

include("[url removed, login to view]");

$my_security_code = "xoYnZdFGvj4ciFdKkvh2wg";

$security_code = $_POST['ap_securitycode'];

$userId = $_POST['apc_1'];

$remote_ip = $_POST['apc_2'];

$product_description = $_POST['ap_description'];

$amount = $_POST['ap_amount'];

$quantity = $_POST['ap_quantity'];

$payer_email = $_POST['ap_custemailaddress'];

$status = $_POST['ap_status'];

$transaction_id = $_POST['ap_referencenumber'];

// If the security code value is an EXACT match AND if there is a transaction (reference) number

// then we know it's a valid transaction so we accept the posted data

// A transaction is not valid without a reference number.

if ($security_code === $my_security_code && $transaction_id != "")

{

mysql_query("update mlm_user set pay_status='paid',

admin_fee='paid'

where userId='".$userId."'")or die(mysql_error());

mysql_query("INSERT INTO `mlm_membership_fee` ( `Id` , `userId` , `amount` , `desc` , `from` , `alert_ref_no` , `date` , `status` ) VALUES ( '','".$userId."', '".$amount."',

'".$product_description."','".$payer_email."', '".$transaction_id."','".date("Y-m-d")."', 'u')")or die(mysql_error());

////////////////////////////////////////////////////////////////

$t=mysql_query("select * from mlm_membership_fee where userId='".$userId."' order by date desc");

$fett=mysql_fetch_array($t);

$date111=$fett['date'];

$ttt=mysql_query("SELECT DATE_ADD('".$date111."', INTERVAL '".$exp."' DAY)");

$fetch_date=mysql_fetch_array($ttt);

$date1=$fetch_date[0];

$current_date=date("Y-m-d");

if($date1>$current_date)

{

mysql_query("update mlm_site set state='enable' where usrid='".$userId."' and (status <> 'suspended' or state <> 's')");

}

else

{

mysql_query("update mlm_site set state='expired' where usrid='".$userId."' ");

}

mysql_query("update mlm_site set date='".date("Y-m-d")."',

exp_date='".$date1."'

where usrid='".$userId."'")or die(mysql_error());

}

else

{

// Security code doesn't match. POST IS NOT FROM ALERTPAY.

$email=$admin_email;

mail($email, "$site_name Cheater AlertPay IPN Process", "Invalid AlertPay transaction:\n\n\nTransaction ID: $transaction_id\n\n$site_name Member ID:

$userId\n\n$payer_email\n\nProduct: $product_description\n\nAmount: $amount\n\nPurchase ID: $quantity\n\nStatus: $status\n\n\nSubmitted By:

$remote_ip","From:".$site_name."\r\n");

}

?>

<?php

include("[url removed, login to view]"); ?>

[/code]

6) The Admin Control panel should have the following links: (Please set the admin control panel exactly like the one in this site admin control panel: [url removed, login to view]

- Site Settings: (This is where I can add, edit or delete the visitors pagackages for sale, set how many sites a member is allow to have and enter the Admin default site)

- Users: ( This will be a list of members showing User ID#'s, Full Name and Email address and any sites he has entered in the system). At the top of this page, I should be able to search for a member by User ID# or Email Address and at the top of the members page there should be a figure showing the total members in the database.

I should be able to click on the Member's name and be presented with that member's record (first name, last name, email address, password and all sites he has entered into the system) There should also be an update button and delete button underneath the member's record.

Also, underneath the member's record should be an email form. This form will be used to email only the member who record appears above the form.

7) Email All Members: ( There should be an email form that will allow me to email the entire membership). I should also be able to use the following

variable [firstname] in the subject and body of the email. This will personalize each email.

8) Sites (the following links should be on this page)

- All Sites (when I click on this link, I should see a list of all sites)

- Active Sites (when I click on this link, I should see a list of all sites that are active and in rotation)

- Paused Site (when I click on this link, I should see a list of all sites that are paused)

- Suspended Sites (when I click on this link, I should see a list of all sites that are suspended)

- Waiting (when I click on this link, I should see a list of all sites that are waiting for approval)

The sites in the Admin control panel should have the following titles:

- Site ID#

- Site Name

- Site Url

- The Owner's User ID#

- Visitors Assigned

- Visitors Received

- Site Status

Note: Whenever a member adds or edit a site, the site status should automatically go to "Waiting For Approval".

I will have to approve all sites before they are placed into rotation. So when I click on the "Waiting" link above,

I should see all sites waiting to be approve. I will then click on the Site Url of that site and see the following info:

- Owned by: User #

- Visitors Received:

- Site Url

- Site Name

- Site Status: (ie.. Waiting, Active, Paused or Suspended)

- Visitors Assigned:

Once I test the site and it passes, I will then set that site status to Active which will place the site into rotation. Sites that are "Waiting", "Paused" or "Suspended" will NOT be place into rotation.

Note: There should be a main url that rotates all Active sites with visitors assigned to them (Only sites that are Active and have visitors assigned to them will be rotated. If there are no Active sites with visitors assigned to them, then the Admin default site will be shown instead. This main site url will be the url we advertise to send visitor (hits) to our members sites.

MySQL Odd Jobs PHP

Proje NO: #1915844

Proje hakkında

1 teklif Uzak proje Aktif Jul 11, 2012

Seçilen:

secom

hi we can help you to get it done.

%selectedBids___i_period_sub_7% gün içinde 800%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(627 Değerlendirme)
8.7