stardevelop.com Live HelpAcceptDeclineClose

פורומים | צור קש   
Post Affiliate Pro - התוכנה הטובה לניהול רשת השותפים באתרך
Post Affiliate Pro

ביקורת הלקוחות

"Post Affiliate Pro is one of the most sophisticated Affiliate application I've ever worked with. You guys did a great job: Compact, Simple and Flexible, with an unbelieable level of support. I recommend Post Affiliate Pro for everyone that wants to increase traffic to web sites."
Isy Macadar, Real e-Stores.com, The Real Deal.
www.realestores.com


ביקורת הלקוחות
חדש! עדכון 4 יצא לדרך. הישום שיאפשר לך להציג פרטים של בשותף המפנה באתר שלך.
צפה ברשימת העדכונים כאן.

הטמעה

משתלבת עם רוב תוכנות לממסחר אלקטרוני וגבית תשלומים דרך האינטרנט, כגון עגלות קניה וירטואליות ומועדוני לקוחות, כולל תומכת ברוב תוכנות למסחר האלקטרוני פרטים נוספים על הטמעה..
Live Help

Helpdesk Software


Support Center
Online Demo

הצביעו לנו

התוכנה שלנו מדורגת במקום הכי גבוה בין תוכנות מסחריות ב-HotScripts
4.19 נקודות מ-5     הדרוג ב-HotScripts
כיצד אתה מדרג תוכנת Post Affiliate Pro
הדרוג ב-HotScripts

  בעל עסק! יש לך אתר? תעשה אותו רווחי!
  תכנית שותפים באתר שלך - הפתרון האידאלי לשיווק   באינטרנט. אל תהיה פראייר! תן לאחרים לעבוד   בשבילך ושלם רק על בסיס ההצלחה!

 

   אנו מציעים מערכת חזקה ומושלמת לניהול רשת השותפים
   במחיר הכרות מצחיק, וההתקנה - חינם!
Home > Post Affiliate Pro > Resources > Displaying referring affiliate details

   Displaying referring affiliate details on your page

This new feature allows you to display details of referring affiliate on your pages. This way you can have the page with label
"Sponsored by Affiliate XYZ"

This new feature is based on JavaScript, so it can be used also in non-PHP pages.
How to use it: On the HTML page where you want to display affiliate details you have to put this code between <HEAD>...</HEAD> tag:

    <script src="http://www.yoursite.com/affiliate/scripts/affdetails.php"></script>
    
Then on any place of the page where you want to display affiliate information you can call:
    <script>showData('This site is sponsored by $Affiliate_name');</script>
    
And JavaScript will write the name of affiliate onto your page on that place. If no affiliate referred the visitor, the function showData() returns false and does not display anything.

Example:

    <HTML>
    <HEAD>
    <script src="http://www.yoursite.com/affiliate/scripts/affdetails.php"></script>
    </HEAD>
    <BODY>
    <h1>Company page</h1>
    <br>
    <script>showData('Site sponsored by $Affiliate_name');</script>
    <br>
    Product description, etc.
    </BODY>
    </HTML>
    
The resulting page will contain text (example):
Site sponsored by John Smith

Where John Smith is name of referring affiliate.

Except $Affiliate_name you can use also constants:
$Affiliate_id
$Affiliate_refid
$Affiliate_firstname
$Affiliate_lastname
$Affiliate_username
$Affiliate_company
$Affiliate_weburl
$Affiliate_website
$Affiliate_street
$Affiliate_city
$Affiliate_state
$Affiliate_country
$Affiliate_zipcode
$Affiliate_phone
$Affiliate_fax
$Affiliate_taxssn

Checking for referring affiliate is based on cookies, so if there exist affiliate cookie on your visitor computer, the script will read it and generate data for correct affiliate. You can force it to display data of another affiliate by passing parameter id to the first javascript code:

    <script src="http://www.yoursite.com/affiliate/scripts/affdetails.php?id=AFFILIATEID&force=1"></script>
    
where:
AFFILIATEID is ID of affiliate for whose you want to display data, for example '4h45jgj4'.
force parameter can be 1 or 0. If 1, then 'id' parameter overrides what was saved in cookie. If 0, the 'id' parameter will be used only if cookie was not found.

Get your copy of Post Affiliate Pro Software
Promotion price