Jump to content
henri

OSC-Affiliate

Recommended Posts

you can remove affiliate box and set redirects in .htaccess if you worry that someone can guess the link to affiliate_xxx.php or i suppose...

 

i do not think that if it is not running it would affect the normal store operation

Edited by fresco

Share this post


Link to post
Share on other sites
remove affiliate box and set redirects in .htaccess if you worry that someone can guess the link to affiliate_xxx.php

 

Yeh I thought of the exact same thing but like I said if this is going to HOPEFULLY be in future releases of osc there needs to be another way. Option in admin configuration for affiliate system yes or no. Then we would need a line (or so) of code at the top of every affiliate_page.php to detect the on off status and return a page not found. Something like that...Just a thought.


q_|_|| _|9~~J >-o>-o q_|_|| )| q_|| )

Share this post


Link to post
Share on other sites
I understand that I am new to the site.  A simple suggestion on what the order status (deleted) means in the affiliate module would be nice.  every time there is an order it shows up as that and does not give credit to the affiliate.

Please help.

 

Sean, I had the same problem. Then I realized I had not updated 'checkout_process.php' during the affiliate installation.

 

__________________________________________________

In checkout_process.php in the catalog directory find line

 

// load the after_process function from the payment modules

$payment_modules->after_process();

 

and insert before it

 

// Include OSC-AFFILIATE

require(DIR_WS_INCLUDES . 'affiliate_checkout_process.php');

 

Good Luck!

Share this post


Link to post
Share on other sites

If anyone had this problem with there table in affiliate_clicks.php...big links make it huge. I had to scroll over to see the right menu. I thought it was an html error but the referer links were too big. I was testing from my site so all sid was included. Fix (It may not be pretty but it works)

 

replace

<td class="smallText"><?php echo $affiliate_clickthroughs['affiliate_clientreferer']; ?></td>

 

with

<?php //Created to shorten referal URL.
?if ($affiliate_clickthroughs['affiliate_clientreferer']) {
? ?$refer_by = $affiliate_clickthroughs['affiliate_clientreferer'];
? ? ?if (strlen($refer_by) > 50){//change max url link
? ? ? $refer_by_string = substr($refer_by, 0, 30);//Change 30 to whatever
? ? ? $refer_by = '<a href="' . $refer_by . '" target="_blank">' . $refer_by_string . '...</a>';
}
else $refer_by = '<a href="' . $refer_by . '" target="_blank">' . $refer_by_string . '</a>';
? ? ?} else {
? ? ? ?$refer_by = "Startpage";
? ? ?}
?>
? ? ? ? ? ?<td class="smallText"><?php echo $refer_by; ?></td><!--end Hadir Edit-->

Edited by crashwave

q_|_|| _|9~~J >-o>-o q_|_|| )| q_|| )

Share this post


Link to post
Share on other sites

Also is there a way to make it so that anyone who makes a purchase in the future from the affiliate, gets credit for it? In this case, cookies would not be sufficient in tracking this. I would like to make it so that any time a customer registers an account, he can put down the referrer and this referrer is stored under the customers database. So anytime the customer places an order, it is credited to that referrer. Is this possible? A good solution?

Share this post


Link to post
Share on other sites
Also is there a way to make it so that anyone who makes a purchase in the future from the affiliate, gets credit for it?

It's possible. Store the affiliate_id in the customer table, when the customer logs in back into the affiliate session

Share this post


Link to post
Share on other sites

Okay, i have paypal ipn 2.8 installed and check money order, the money order is recording the sales but paypal ipn isnt recording any sales.

 

i'm setting up a link for the affiliates like site.com/index.php?ref=1

 

I dont need banners as they are using the links in emails and such, but why wouldnt it record paypal sales?

 

THanks guys

Share this post


Link to post
Share on other sites
Okay, i have paypal ipn 2.8 installed and check money order, the money order is recording the sales but paypal ipn isnt recording any sales.

 

i'm setting up a link for the affiliates like site.com/index.php?ref=1

 

I dont need banners as they are using the links in emails and such, but why wouldnt it record paypal sales?

 

THanks guys

 

 

what do you mean - does not record? does it credit affiliates?

Share this post


Link to post
Share on other sites

I'm really stuck now. On affiliate_signup.php, I get this at the top of the window

 

FILIATE_SUBJECT', 'Welcome to the Affiliate Program'); define('MAIL_AFFILIATE_HEADER', 'Dear Affiliate, thank you for joining the Affiliate Program. Your Account Information: *********************** '); define('MAIL_AFFILIATE_ID', 'Your Affiliate ID is: '); define('MAIL_AFFILIATE_USERNAME', 'Your Affiliate Username is: '); define('MAIL_AFFILIATE_PASSWORD', 'Your Password is: '); define('MAIL_AFFILIATE_LINK', 'Link to your account here:'); define('MAIL_AFFILIATE_FOOTER', 'Have fun earning referal fees! Your Affiliate Team'); ?>

 

Which you can see at http://devilwear.co.uk/store/catalog/affiliate_signup.php

 

I also get an error message in my admin section saying

enuBoxContentLink">' . BOX_AFFILIATE_NEWSLETTER_MANAGER . '
' . '' . BOX_AFFILIATE_CONTACT . ''); } $box = new box; echo $box->menuBox($heading, $contents); ?>

 

Am I missing something as no-one else seems to have this error.

Share this post


Link to post
Share on other sites

:thumbsup: Sounds like a great contrib. I have not used it yet but I do have a client who needs this type of functionality. Sorry if the questions I post here have been posted previously. Does this contrib alow for evey product purchased while in the affiliate referer session, or is it only good for the one product the banner is for? Is there a way to make the banner or text link start a referer session just in the "top" of the store in general (not a specific product)? Is there a limit on the amount of affiliates you are aloud to have?

Thanks for your input. I would just like to know if this will do what we need it to before I invest time installing it.

uncamoe


Thanks in advance for your help!

Stephen

Share this post


Link to post
Share on other sites
Right, it records no sales for the affiliates only if paypal ipn is used.

 

 

Need to add

 

include(affiliate_checkout_process.php);

 

just above the unregister sessions routines at the bottom of paypal_checkout.php

 

David

 

(sorry, long night, and I've han WAY too much practice installing these contributions together over the past year trying to get things working - bottom line is - got to add the affiliate checkout code before the session is closed out in the paypal payment processing module)

Share this post


Link to post
Share on other sites
Need to add 

 

include(affiliate_checkout_process.php);

 

just above the unregister sessions routines at the bottom of paypal_checkout.php

 

David

 

(sorry, long night,  and I've han WAY too much practice installing these contributions together over the past year trying to get things working - bottom line is - got to add the affiliate checkout code before the session is closed out in the paypal payment processing module)

 

Hi, I do not have paypal_checkout.php

 

I am using Gregs PayPal Soppincart IPN 2.8

 

where should I add this line? Please help!

Share this post


Link to post
Share on other sites

if you have a look at v2.6a in the misc directory you'll see a file with info on howto integrate, it should work with intuition, eg. paypal/checkout_process.php is paypal/catalog/checkout_process.inc.php

 

There are also some sql alterations to be performed as specified in the above mentioned file.

 

The only revision that needs to be made is for the edit for catalog/includes/affiliates_application_top.php, you need to also insert:

 

&& $affiliates_id !=0

 

after where it says tep_not_null($affiliates_id)

 

eg:

 

tep_not_null($affiliates_id) && $affiliates_id !=0

 

Hi, I do not have paypal_checkout.php

 

I am using Gregs PayPal Soppincart IPN 2.8

 

where should I add this line? Please help!


"Any fool can know. The point is to understand." -- Albert Einstein

Share this post


Link to post
Share on other sites
Hi

 

I wanted to know if anybody used the category link submitted on 12 Aug 2004 posted in the osC affiliate contribution. I could not make it work. When I tried to create a link to my category, it gave me the following code:

 

<a href="http://www.mydomain.com/FILENAME_CATEGORIES_INFO?ref=407&cPath=2&affiliate_banner_id=1" target="_blank"><img src="http://www.mydomain.com/affiliate_show_banner.php?ref=407&affiliate_pbanner_id=2" border="0" alt="Gifts"></a>

 

What was "FILENAME_CATEGORIES_INFO"? Did I miss anything???

 

The image was not shown and when I tried to click the image holder, it generated a new window with  page not found message.  Any idea??? :o

 

Any help would be greatly appreciated. Thanks.

 

 

Was there ever a solution to this question posted? I'm seeing the same thing.

Share this post


Link to post
Share on other sites
if you have a look at v2.6a in the misc directory you'll see a file with info on howto integrate, it should work with intuition, eg. paypal/checkout_process.php is paypal/catalog/checkout_process.inc.php

 

There are also some sql alterations to be performed as specified in the above mentioned file.

 

The only revision that needs to be made is for the edit for catalog/includes/affiliates_application_top.php, you need to also insert:

 

&& $affiliates_id !=0

 

after where it says tep_not_null($affiliates_id)

 

eg:

 

tep_not_null($affiliates_id)  && $affiliates_id !=0

 

I downloaded the 2.6 version and tried to follow the instructions but the files have been changed so much in 2.8 that I can't find where to change.

 

If anyone has a solution to this problem of affiliate sales not being counted with paypal ipn, please post.

 

Thanks

Share this post


Link to post
Share on other sites
Here is a (hopefully) complete solution - :D - to the needs for Category Banners for osc Affiliate.  Installed fine on 2.2MS2.  Not sure about anything later.

 

All of the new files and the (few) necessary file changes are in the package, look at CAT BANNERS README.txt in the zip.  This adds the ability to create and manage Category banners in Admin, with click counts same as other banners.

 

It also lets affiliates build Category links the same as Product links.

 

The package is available in Contibutions here:  osC Affiliate Category Banners

 

The package ONLY contains instructions and the new files for extending an existing osC Affiliate installation.  Enjoy!

 

RDB

Share this post


Link to post
Share on other sites

Hello,

 

Can anyone provide an example of a store that is using this contribution? It would be helpful to see what it looks like installed. Also, has anyone installed it on a version of the Shoppe Enhancement Controller? This looks very interesting - congratulations and thank you to all who have worked so hard. Best,

Share this post


Link to post
Share on other sites
if you have a look at v2.6a in the misc directory you'll see a file with info on howto integrate, it should work with intuition, eg. paypal/checkout_process.php is paypal/catalog/checkout_process.inc.php

 

There are also some sql alterations to be performed as specified in the above mentioned file.

 

The only revision that needs to be made is for the edit for catalog/includes/affiliates_application_top.php, you need to also insert:

 

&& $affiliates_id !=0

 

after where it says tep_not_null($affiliates_id)

 

eg:

 

tep_not_null($affiliates_id)  && $affiliates_id !=0

 

Hi Greg,

 

and thanks - I have missed this post - will take a look and try to make it work...

 

iLia

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×