Jump to content


Photo

Its got to be simple, but a lil help please


  • Please log in to reply
3 replies to this topic

#1 asheka

asheka
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 14 August 2006 - 03:16 AM

ok,i am manually editing in information to a php script.

<?php
/*
  $Id: affiliate_info.php,v 1.2 2004/03/05 00:36:42 ccwjr Exp $

  OSC-Affiliate

  Contribution based on:

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 - 2003 osCommerce

  Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Affiliate Program');
define('HEADING_TITLE', 'Affiliate Program');

define('HEADING_AFFILIATE_PROGRAM_TITLE', 'The ' . STORE_NAME . ' Affiliate Program');

// Delete this line - or place two forward slashes before the word 'define'
define('TEXT_INFORMATION', 'Your Affiliate Information Goes in /catalog/includes/languages/YOUR LANGUAGE/affiliate_info.php ');

// define('TEXT_INFORMATION',' <DELETE THE BRACKETS AND ALL TEXT IN BETWEEN - PUT YOUR INFORMATION HERE>');
?>

This is the text i am tryng to put in in html form

Why Become Our Affiliate?<br>
<br>
Just by placing our banner link on your site, you have the opportunity
to earn a generous 5% commission on valid sales. Commission size in
percentage means nothing if the average order value is low. But as our
products range from $15 to $50 and our average order is an impressive
$100, even one sale made through our link can mean the beginning of a
good and growing revenue stream for you. Becoming our Affiliate is
free, with no hidden charges. <br>
You just place our links and we take care of the rest: We process the
order and handle all billing, shipment, customer service and technical
support for the customer and track your commissions for you. <br>
<br>
And remember, the better positioning of our banner link on your site
definitely means greater profits for you! &nbsp;<br>
<br>
<br>
We Offer: <br>
<br>
5% commission. <br>
999 day cookie. So if your customers come to us via our link on your
site we will pay you commission, as long as they purchase within 999
days after their first visit.&nbsp; We still pay if they come back
to
us directly via www.sporesandmore.com. <br>
<br>
&nbsp;We continue to pay commission
for repeat sales. <br>
Varied selection of regularly updated banners for your site. We are
constantly offering promotions and launching new products to keep our
banners and site fresh and appealing. <br>
<br>
Check how you're doing at all times. As an Affiliate, you have access
to your account 24/7. You can view your commissions in real time, and
view a report of your total sales daily, weekly, monthly, or yearly.
You will be able to create and download hyperlinks for your website.
Your account is secure and is password protected. <br>
<br>
Earn 5% Commission On All Sales<br>
<br>
Sometimes people don&rsquo;t buy on the first visit and only later
return to our store to make a purchase. As long as they came to us
through your Affiliate Link, you still earn commission when they
buy.&nbsp; Commission will be credited to your affiliate account
for
ALL
transactions made, even if the visitor returns directly to the
sporesandmore website. That means that if a visitor is referred from
your site and buys something later - you will still get paid.<br>
<br>
<br>
When Will You Get Paid?<br>
<br>
You will get paid monthly, IF your&nbsp;commission is at&nbsp;
$20.00, <br>
If under $20.00 the total will roll over till the next month<br>
At this time, your payment will be money order, but in time we will be
also paying in paypal.<br>
<br>
<br>
How To Join<br>
<br>
It&rsquo;s simple and easy to join. &nbsp;<br>
<br>
1) Read And Agree To Our <a
 href="http://www.sporesandmore.com/affiliate_terms.php">Affiliate
Terms And Conditions</a><br>
<br>
2) Fill in the&nbsp;<a
 href="http://www.sporesandmore.com/affiliate_signup.php">
registration form. </a><br>
<br>
You will then receive a confirmation email, simply click the link to<a
 href="http://www.sporesandmore.com/affiliate_affiliate.php">
login to your account. </a><br>
After logging in, put our links in your website. <br>
<br>
After You Join<br>
<br>
After joining, you'll get ads, listings, and banners you can add to
your website and send to your contacts, customers, and friends. <br>
Everything they buy from us will earn the 5% commission.<br>
<br>
<br>
Need More Information?<br>
<br>
If you have any questions <a
 href="http://www.sporesandmore.com/contact_us.php">&nbsp;Contact
Us!</a><br>


I get as far as the example below, and if i add anymore text ( no matter what i do) i get an error @ around line 52-56

<?php
/*
  $Id: affiliate_info.php,v 1.2 2004/03/05 00:36:42 ccwjr Exp $

  OSC-Affiliate

  Contribution based on:

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 - 2003 osCommerce

  Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Affiliate Program');
define('HEADING_TITLE', 'Affiliate Program');

define('HEADING_AFFILIATE_PROGRAM_TITLE', 'The ' . STORE_NAME . ' Affiliate Program');

// Delete this line - or place two forward slashes before the word 'define'
define('TEXT_INFORMATION', 'Why Become Our Affiliate?<br>
<br>
Just by placing our banner link on your site, you have the opportunity
to earn a generous 5% commission on valid sales. Commission size in
percentage means nothing if the average order value is low. But as our
products range from $15 to $50 and our average order is an impressive
$100, even one sale made through our link can mean the beginning of a
good and growing revenue stream for you. Becoming our Affiliate is
free, with no hidden charges. <br>
You just place our links and we take care of the rest: We process the
order and handle all billing, shipment, customer service and technical
support for the customer and track your commissions for you. <br>
<br>
And remember, the better positioning of our banner link on your site
definitely means greater profits for you! &nbsp;<br>
<br>
<br>
We Offer: <br>
<br>
5% commission. <br>
90 day cookie. So if your customers come to us via our link on your
site we will pay you commission, as long as they purchase within 90
days after their first visit.&nbsp; We still pay if they come back
to us directly via www.sporesandmore.com. <br>
<br>
We continue to pay commission for repeat sales. <br>
Varied selection of regularly updated banners for your site. We are
constantly offering promotions and launching new products to keep our
banners and site fresh and appealing.<br>
');
// define('TEXT_INFORMATION',' <DELETE THE BRACKETS AND ALL TEXT IN BETWEEN - PUT YOUR INFORMATION HERE>');
?>

i dont see why its not letting me add anything else without  giving the error,  i checked form and syntax and everything seems fine

I have even tried adding it line by line with no better luck

i know this is probably something simple to those of you more php savy,  but i cannot get this one figured out


#2 DylanBlitz

DylanBlitz
  • Members
  • PipPipPip
  • Advanced Member
  • 99 posts
  • LocationOC Baby!

Posted 14 August 2006 - 03:21 AM

If you have any ' like with you're you have to escape it, you\'re

#3 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 14 August 2006 - 03:38 AM

what is the exact error message that you get?
Legend has it that reading the manual never killed anyone.
My site

#4 asheka

asheka
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 14 August 2006 - 09:48 AM

Thanks DylanBlitz , that was it.

i knew it had to be something simple.


i need to find a "dummies guide to php" lol




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users