(c) Copyright 2002-2005 YOURsoft . All rights reserved. YOURcom™ is a registered trademark of YOURsoft™. Please
refer to the end of this document for more information.
http://www.yoursoft-tm.com
YOURcom™ installation requires:
yourcom13.zip file contains following files:
In case your yourcom121.zip does not include all listed files, contact us!
>> Installing and configuring YOURcom™
>> Setting up your affiliate program
After clickin button "Edit settings" you will be taken to "Settings page". Here you can configure your affiliate program. In order for YOURcom to work properly please follow guidelines below!
Click "Submit Changes" in order to store preferences.
Editing the notify e-mail
If you don't like the default notification e-mail, you can easily edit it - open file notify.txt and change the text.
If you use the phrases below YOURcom will automatically replace them with:
##SITE_NAME## - web site name (as set in Settings page)
##SITE_URL## - web site URL (as set in Settings page)
##ADMIN_MAIL## - administrator e-mail (as set in Settings page)
##CURRENCY## - currency (as set in Settings page)
##COMISSION## - the commission for this sale
Example:
Your commission for this sale is ##CURRENCY## ##COMISSION##.
... will for example become ...
Your commission for this sale is $ 15.25.
(This is example only. In reality the e-mail will contain the actual commission (not necessarily $ 15.25) and the currency which you set.)
>> Implementing YOURcom™ into your existing store/purchase forms
YOURcom™ can be easily implemented into your existing store or purchase forms in one of three ways (if you use PayPal please read instructions further down):
>> I want to give my affiliates a flat commission rather than "percent-of-the-value" commission!
In this case just set Commission in Settings page to 1 (100% commission) and then replace XX in the examples above with the commission
your affiliates will be credited instead of the purchase value.
For a $5 commission you would use
$denar=5;
&track_com;
OR
http://.../com.cgi?i=5
ORhttp://.../com.cgi?r=5
as explained above.
>> Optional field
YOURcom allows you to setup one additional field to get additional information from your affiliates. This field is usually used
to collect PayPal e-mail addresses, E-gold numbers or other information. To activate it go to Settings page and
set "Use an additional field?" to 1. Enter the text for this field (edit "Additional field text") and set the
default value for this field ("Add. field default value"). See example below. Note: This field will NOT be entered during signup,
it can be set in User area or Admin area!
Use an additional field? 1
Additional field text: PayPal e-mail
Add. field default value: Please enter one
IMPORTANT: If you already have affiliates in your database (upgrading from previous versions, didn't use optional field before, etc...) make sure you click "Upgrade database" in the Admin area before allowing any new affiliates to signup! Same thing applies if you are using the optional field and for some reason don't want to anymore - in this case click button "Downgrade database" in the Admin area! Backup your database before executing any of this, YOURsoft cannot be held responsible for loss of your affiliate data! Please be patient, this process might take a while!
Adding the optional field:
- Upgrade the database in Admin area if you already have affiliates signed up
- Edit settings as described above
Removing the optional field:
- Downgrade the database in Admin area
- Set "Use an additional field?" in Settings page back to 0
>> PayPal integration
YOURcom can be easily integrated into PayPal system. It uses PayPal's IPN (Instant Payment Notification) to collect purchase information, so a PayPal Premier or Business account is required (Personal account does not support IPN). Upgrade is free, please refer to PayPal website for further information.
To integrate YOURcom with PayPal you must activate IPN (login to your PayPal account, click "Profile",
under "Selling Preferences" click "Instant Payment Notification Preferences",
activate IPN and enter IPN URL (If you already use some othe IPN script please read instructions further down on how
setup your IPN):
http://www.domain.com/path/to/yourcom/paypal.cgi
Next you have to add this line to your HTML code for PayPal buttons:
<script language=javascript src="http://www.yourdomain.com/cgi-bin/yourcom/com.cgi?pp"></script>
EXAMPLE:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<script language=javascript src="http://www.yourdomain.com/cgi-bin/yourcom/com.cgi?pp"></script>
<input type="hidden" name="business" value="youremail@yourdomain.com">
<input type="hidden" name="item_name" value="Test Product">
<input type="hidden" name="item_number" value="874578">
<input type="hidden" name="amount" value="$1.00">
<input type="image" src="images/x-click-but22.gif" border="0" name="submit">
<input type="hidden" name="add" value="1">
</form>
For those having problems with the "Thank you" page with PayPal we have included file ty.cgi. You can set it as the return parameter in
PayPal button HTML code - just add this line in the code (edit page URL!):
<input type="hidden" name="return" value="http://www.domain.com/path/yourcom/ty.cgi">
and ty.cgi will redirect customers to the thank you page set in the Settings page after a successful purchase.
That's all there is to it! Make sure you change the URLs in the examples above!
Q: YOURcom isn't logging PayPal sales and adding commissions (a "HTTP error" is logged)!?
A: Please double-check the URL to paypal.cgi in your PayPal account. Set variable "Use secure IPN URL?" to 0 in the settings page and try again.
Q: What if someone finds the URL of the paypal.cgi script in my HTML source code and opens it? Will YOURcom count this as a sale?
A: Of course not, paypal.cgi script was written to protect you and knows the difference between a real sale and an illegal attempt!
Q: What if a customer reloads the Thank you page?
A: Don't worry, paypal.cgi logs all transaction ID numbers and compares new ones to the old ones to prevent doubled commissions!
Q: Can I give my affiliates a flat commission when using paypal.cgi?
A: Unfortunately not due to the way PayPal processes payments. We will try to find a way around this in the future and include it in the next update.
Q: But I already use some other IPN script - how do I implement YOURcom then?
A: Please read the "Double IPN issue" below.
-> Double IPN issue
You are already using some other IPN script with PayPal and would also like to use YOURcom, but PayPal lets you enter only one IPN script URL.
The solution is simple - all you have to do is go to the settings page in Admin area and set "Double IPN call for PayPal?" to 1 and
"URL of the other IPN script" to the URL of
your existing IPN script, ie.:
Double IPN call for PayPal? 1
URL of the other IPN script: http://www.domain.com/path/my_old_IPN_script.cgi
Then just set the IPN URL in your PayPal account manager
to paypal.cgi as described above ("PayPal integration") and both your IPN scripts will work!
>> Search Engine friendly links
The default YOURcom affiliate urls look similar to http://www.domain.com/path/to/yourcom/stetje.cgi?affiliate_id
Some Search Engines have problems with processing uncommon characters (? in our case) and are set to ignore urls containing them. One of the algorithms Search Engines use to determine importance of a web site is known as "page rank". Page rank is (simplified) measured by the number of web sites linking to your site (a link from site A to site B counts as a vote from site A for site B). The more links the better your page rank will be, so why not benefit from your affiliate program even more?
This is the reason YOURcom allows you to use Search Engine friendly affiliate urls similar to http://www.domain.com/path/to/yourcom/a-affiliate_id. Note that there are no more uncommon characters in the urls (- is recognized by all Search Engines as it is a part of many domain names). However, not all servers will allow you to do this so it is very important to you install YOURcom in normal mode first and make sure everything works, before activating SE friendly links!
Installation process:
- install YOURcom 1.3 (with "Use SEF links?" set to 0 in Settings page!)
- make sure everything works
- set "Use SEF links?" to 1
- upload file .htaccess to your YOURcom directory in ASCII mode!
- again make sure everything works (especially affiliate links!)
If YOURcom doesn't work anymore after uploading the .htaccess file this means
your server does not allow "url rewriting". In this case delete this file from
your yourcom directory and set "Use SEF links?" back to 0!
>> Support
To request assistance or ask questions please contact us!
Copyright notice and license agreement
YOURcom™ 1.3 by YOURsoft™. Copyright © 2002 YOURsoft™. All Rights
Reserved. YOURcom™ is a registered trademark of YOURsoft™.
WARNING: This Software is protected by copyright law and international treaties. Unauthorized reproduction
of this Software, or any portion of it, may result in severe civil and criminal penalties,
and will be prosecuted to the maximum extend possible under law.
With this license agreement you are allowed to use only one (1) copy of the Software.
For additional licenses please contact us!
YOURcom™ 1.3 ("Software") is licensed for use only
under the terms of this license agreement. Information in this document is subject to change
without notice and is provided for informational purposes only. The entire risk
of the use or results of the use of this Software remains with the user, and YOURsoft
makes no warranties, either express or implied. Complying with all applicable copyright
laws is the responsibility of the user. Without limiting the rights under copyright,
no part of this Software may be reproduced, stored in or introduced into a retrieval
system, or transmitted in any form or by any means (electronic, mechanical, photocopying,
recording, or otherwise), or for any purpose, without the express written permission of
YOURsoft.
YOURsoft reserves any rights not expressly granted to you.
To keep this license valid, you must ensure that the YOURcom™
copyright notice is left intact and is visible. You must also
keep all the copyright information intact in all the script
headers, and in the scripts themselves.
By using this Software you agree to the license agreement and are
bound by it. If you do not accept the license agreement, you are
prohibited by law from using this Software in any way.
Portions of this license agreement may refer to the Software as:
"YOURcom™".
For the purposes of this license agreement, "YOURcom™" is
the version 1.3 of the Software.