Hello, Mike here.
I have a text ad script on www.easy-webcash.com and I would
like to have it copied to my other domain www.mymoneysurf.com
Before I give you the details of the modification, here is
how the script on www.mymoneysurf works:
Upgraded Members are members who have a membership level
greater than zero (Membership Level is computed as The
number of Advertising unit x the cost of each advertising
unit). Note: the variable for Membership Level is $invested.
Upgraded Members have to surf 20 sites (Daily Credits to
Earn) per day to earn 10% (ROI) of their Membership Level.
Currently when an Upgraded Member Surfs 20 sites and earn 20
credits, the script updates the 7stat table by updating the
following fields:
- userid
- date
- time
- pg_views
- num
- received_pay
When an Upgraded Member surfs 20 sites, the fields above are
updated and the script then take 10% of his membership level
and adds that to his Advertising Unit Earnings. In the admin
panel under “Transaction Manager” click on transaction
manager link and at the bottom of that page you will see a
form entitled: “Compensate Members”. This form updates the
7stat table, but currently, I have to do it manually.
1) Here is what I need you to do, instead of having the
member surf to earn money, all you have to do is set up a
cronjob and have the “Compensate Members” automatically
run on a daily basis. This way the 7stat table is updated
daily automatically and the Upgraded member is paid without
having to surf 20 sites. NOTE: Leave the “Compensate
Member” form where it is. I will need to use it if the site
is down and the cronjob did not have a chance to run. NOTE:
This cronjob should run every night at 11:50 p.m. server
time. Once this cronjob has ran completely, The system
should then send me an email stating that the “Compensate
Members” cronjob ran successfully. If the cronjob
encountered any problems or errors, this email should state
this as well.
========================================================
NOTE: You only have two things to do for item# 1 above:
a) Set a cronjob to have the Compensate Members run daily at
11:50 p.m server time.
b) Have the cronjob send me the email. There is nothing else
to do for item# 1 as the system is already set up to handle
everything else.
========================================================
================
TEXT ADS
================
Note: I have the text ads already set up on
www.easy-webcash.com All you have to do is copy the text ad
code from www.easy-webcash.com to www.mymoneysurf.com
Here is what need to be done:
2) On the front page add the following link at the top of
the page: “Member Login”. Remove the member login box
from the main page and put it on it’s own page. Put the
text ads where the member login box use to be. Note: The
text ads should be in its’ own table.
3) In the www.mymoneysurf.com member’s area remove
everything from “Site Details (You may add up to 1 site):
All Sites Must Be in ENGLISH” to “Your credits earned from
surfing last 65 days:” In that space put the Text Ad Table.
Use the same table from the easy-webcash.com member’s area.
The code can be found in the member.php file on
easy-webcash.com.
Add the following column to the text ad table: “Ad
Status”. You can put this column between the “Clicks”
and “Action columns. If a member’s membership level
Membership Level ($invested) is greater than zero, then all
of his Ad Statuses should read “Active” with a green color
font. Active means that his ad will be displayed on the main
page.
If a member’s membership level is NOT greater than zero,
then all of his Ad Statuses should read “Disabled” with a
red color font. Disabled means that his ads will NOT be
displayed on the main page.
If a member’s membership level is NOT greater than zero and
he clicks on the “Add Text Ads” button, the following
message should pop up: “Sorry, Free Members cannot add text
ads to the system or earn money from their Advertising Units
or their referrals. In order to add text ads and earn money,
you must purchase at least 1 Advertising Unit”.
Note: I have already copy the add_text_ads.php,
redirected.php and the edit_text_ads.php files from
www.easy-webcash to www.mymoneysurf.com You will need these
files.
4) I have already created table in the traffic database
entitled: “text_ad_settings” this table was taken from
the webcash database under the config table with the
following fields:
- nosite_ads
- nomember_ads
- nochar_tads
- fontface_tads
- fontsize_tads
- fontcolor_tads
- font_weight_tads
- text_decoration_tads
- a_text_decoration_tads
- nochar_descads
- fontface_descads
- fontsize_descads
- fontcolor_descads
- nochar_urlads
I have already added the link entitled “Text Ad Settings”
in the admin control panel of www.mymoneysurf.com When you
click on this link, the form is displaying, but when I enter
the values and click SAVE, the values appear in the form
fields but the text_ad_settings table will not update. When
I click on the Text Ad Settings link again, the values are
no longer in the fields.
Note you can find the fields below in the admin panel of
www.easy-webcash.com/admin.php under the “Settings” link
and the code was taken from the config.php
- Number of text ads to display on site:
- Number of text ads allowed per member:
- Number of characters allowed in title:
- Title font face:
- Title font size:
- Title font color:
- Title font-weight:
- Title text-decoration:
- Title text a:hover text-decoration:
- Number of characters allowed in Description:
- Description font face:
- Description font size:
- Description font color:
- Number of characters allowed in the Website Url:
5) In the traffic database, I have already created a table
entitled: “user_text_ads” This table was taken from
webcash database under the user_text_ads table. Below are
the following fields:
- id
- title
- body
- url
- impressions
- hits
- ad_status (I added this field. It is not in the webcash database)
- usrid (I added this field. It is not in the webcash database)
In the admin control panel of www.mymoneysurf, I have
already created a link entitled “User Text Ads” and on
this page, the following info should be displayed: Note: You
can list 25 ads per page. The code for this can be found in
the config.php file of easy-webcash.com
- Ad ID#
- Ad Title
- User ID#
- Remove link
When I click on the Ad Title, the site should open in a new
window.
When I click on the remove link, a pop up box should come up
asking me if I really want to delete this ad. When I click
ok, the ad should be deleted from the database.
When I click on the User ID#, I should be taken to the
user’s account. To see what I mean, log into the
mymoneysurf admin panel, click on the “User List” link
and then click on the user’s email address. You will see
this user’s account info. Now Scroll down to where it says
“User Sites”. Replace this with “User Text Ads”. This
is where the text ads for an individual user will be
displayed. The ads should be displayed as follows:
- Ad ID#
- Ad Title
- Remove link
When I click on the Ad Title, the site should open in a new
window.
When I click on the remove link, a pop up box should come up
asking me if I really want to delete this ad. When I click
ok, the ad should be deleted from the database.
Note: Whenever I delete a member’s account from the admin
panel, all of his text ads should be deleted as well.
6) At the top of the admin panel page, under “Find User of
this Email”, I have already added the field and a button
entitled: “Find Text Ad ID Number”. When I enter a text ad
id number and click the Find button, that text ad should
appear. It should be displayed as follows:
- Ad ID#
- Ad Title
- User ID#
- Remove Link
When I click on the Ad Title, the site should open in a new
window.
When I click on the remove link, a pop up box should come up
asking me if I really want to delete this ad. When I click
ok, the ad should be deleted from the database.
When I click on the User ID#, I should be taken to the
user’s account.
7) On the signup.php page, If a member signs up from an IP
address that is already in the database, the following
message should appear in red: “WARNING, you can only have
one account and you cannot refer yourself. We consider this
a form of Cheating. An email has been sent to admin
regarding this violation. If this happens again, your
account will be deleted without notice and you will lose any
monies owed to you”.
The script should look into the database and find the
matching IP address and the member the IP address belongs to
and report the following info in the email sent to admin:
The info below should be emailed to admin:
Subject: Attempted Self-Referral
(Body)
User IP Address:
User ID#:
User Full Name:
User Email Address:
NOTE: We have to do this in order to keep members from
signing up their family members under the member’s referral
url for the purpose of earning referral commissions.
If you have any questions, please let me know.
Thanks,
Mike