I would like to have the following modification done to my
instant pay script. The script is located at
[url removed, login to view]
Create Text Ad Feature
Below are the required modifications.
1) When a member joins and pays his membership fee, I would
like to allow him to add text ads to the system.
Note: The member's text ads will be displayed on the index
page under the table entitled: "Member Ads". An example
of how the text ad should be displayed can be found on the
Ok, this is what I need: In the script admin panel under
"Settings", place the following fields:
a) Number of text ads to display on site: Note: The ads should
appear on the main page in the "Member Ads" table and The ads
should rotate randomly.
b) Number of text ads allowed per member:
c) Number of characters allowed in title: Note: When a
visitor clicks on the ad title, the website should open in a
- Title font face:
- Title font size:
- Title font color:
- Title font-weight: bold or normal.
- Title text-decoration: none or underline
- Title text a:hover text-decoration: none or underline
d) Number of characters allowed in Description:
- Description font face:
- Description font size
- Description font color
e) Number of characters allowed in the Website Url:
Note: Members should be allowed to enter special characters
in the title and description. Also, you can put these fields
between the "From Email" field and the "IPN Code" field
on the "Settings" page.
2) In the script admin panel, place a link at the top
entitled "Member's Ads". When I click on this link, I
should be taken to a page that shows a list of all member's
ads. You can list 20 ads per page. The list should show only
the ad title and a "Delete" button to the right of the ad
title. When I click on the "Delete" button, the ad should
be deleted completely from the system.
Also, at the top of this page put a search box that says
"Find Member's Ads" and to the right of the field put the
"Find" button. Members are identified by their email
address. So when I enter an email address and click the
"Find" button, the system should list all ads entered by a
members using that email address. Again, the list should
only show the ad title and a "Delete" button to the right
of that ad. When I click on the "Delete" button, the ad
should be deleted completely from the system.
3) In the member's area, just below the "Display Name"
and "Password" form, I have an example of how the text ad
table should look. Please take a look at it so you can see
how everything should be laid out.
This is how the text ad system should work:
When a member first signs up and logs into his member's
area, inside the text ad table should be the following
message: "You have not added any text ads yet".
Just above the text ad table you will see the following
Click Here To Add Text Ads. You can add up to (Max text ads
allowed go here) text ads. Note if a member tries to add
more text ads than he's allowed, a pop-up box should come
up with the following message: "Sorry, you can only add
(The Max allowed text ads go here) text ads to the system".
- Click on the "Click Here" link and you will be taken to
the [url removed, login to view] page. This is where the member will
enter the Text Ad Title, Description and his Website Url.
Click on the Add Text Ad button and you will be taken back
to the member's area. A message at the top in Green color
font should read: "Text Ad Successfully Added". The
member's ad should now appear in the text ad table at the
bottom of the member's area. Note: The member should be
able to click on the Ad Title and the site should open in a
- When a member click on the "Reset Stats" link, this will
set his Impressions and Clicks to zero. At the top of the
member's page in Green color font should be the following message: "Stats
- Click on the "Edit Ad" link and you will be taken to the
[url removed, login to view] page. This is where the member can edit
his title, descriptions and website url. Click on the "Edit
Text Ad" button and you will be taken back to the
member's area. The following message should appear at the
top of the member's area page in Green color font. "Text Ad Edited
- When you click on the "Delete Ad" button, a pop-up box
should come up with the following message: "Are you sure
you want to delete this ad?" There should be an OK and
Cancel button. If the member clicks on the OK button, the
ad is deleted, the member should be taken back to the
member's area and at the top of the member's page should
be the following message in Green color font: "Text Ad Successfully Deleted."
NOTE: I have a text ad script located at the following url:
[url removed, login to view]
If you like, you can borrow some of the coding from this script. This
way you do not have to re-write a lot of codes. Also, I do not
need everything from this script. I only need what is listed above.
Create Referral List
4) In the member's area, I would like to show the member a
list of the people he referred. Log into the member's area
and click on the "Your Referrals" link. You will see how
the referral list should be displayed. NOTE: The referrals
should be listed by Sign Up Date and they should be
displayed in descending order. The most recent referral
listed first. Also, when a member first signs up and logs into
his member's area, in the referral list table should be the
following message: "You Have No Referrals Yet".
This is how the system works. When a someone signs up, he
first pays his referrer. He is then re-directed to the
[url removed, login to view] page. He enters his Full name and email address
and clicks the submit button. He is then re-directed to a
payment button where he pays the admin fee. Once he has paid
the admin fee, he is re-directed to the [url removed, login to view]
page. This is where the system enters his Full Name and
email address into the database.
Now this is where we need to update the referral list. This
is what we need to do in order to update the referral list:
a) In the database under the "People" table add the
following fields: Referred By and Sign Date & Time. Here is
an example of how the referrals should be added.
Let's say Allen Avers referred Bob Brown. Once Bob Brown
reaches the [url removed, login to view] page, the script should add
his Full Name and Sign Up Date & Time to Allen Avers
referral list. In the database next to Bob Brown's
Referred By should be Allen Avers email address.
Below are the Email Problems
5) Whenever a member pays the admin fee, the code in the
[url removed, login to view] file sends him a confirmation email. I
would like for this code to put his first name in the
subject and the body of that email. Here is an example:
Subject: Michael, Welcome to [url removed, login to view]
Body Salutation: Hi Michael,
Note: The Subject is in the [url removed, login to view] file and the
body message of the email can be found in the [url removed, login to view]
file, which is located in the Templates folder.
6) On the [url removed, login to view] page, whenever a member clicks on the
"Forgot Password" link, I would like for that email to
have his First name is the Subject and Body. Below is how
the email should look:
Subject: Dan, Here is Your New Password
Body Salutation: Hi Dan,
Here is your new password: (New Password Goes Here)
(The Randomizer Name Goes Here. The variable is $r_name)
Note: The code for this email can be found in the [url removed, login to view]
7) For the "Email All Members" form in the admin panel, I
need to be able to use the member's First Name in the
Subject and the Body of the email.
- Also, I need to be able to use html in the "Email All
If you have any questions, please let me know.