Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC-Affiliate


henri

Recommended Posts

What exactly is going wrong i don't know now.

 

But seems to be more things. ->

banners shouldn't be loaded from ssl (this seems to be a missconfiguration of your shop, as it seems that it doesn't switch back)

 

Then is puts weird slashes to the link, and don't know why the default pic is shown.

 

Without more investigation I can't say anything...

You can contact me: [email protected]

Link to comment
Share on other sites

and don't know why the default pic is shown.  

 

define('AFFILIATE_SHOW_BANNERS_DEFAULT_PIC', 'http://www.klosterbrauerei.com/webshop/catalog/images/banners/oscommerce.gif');  

 

Oh sorry, don't care about the default pic. I renamed my banner to oscommerce.gif for testing purpose. It is showing the banner I draw.

 

the only thing I wonder is that this is in the output

----

<a href="https://ssl.kundenserver.de/ssl.klosterbrauerei.net/webshop/catalog/product_info.php?ref=1&products_id=28&affiliate_banner_id=1"

target="_blank"><img src="https://ssl.kundenserver.de/ssl.klosterbrauerei.net/webshop/catalog/images/" border="0"></a>

------

 

and this should be the output

-------

<a

href="https://ssl.kundenserver.de/ssl.klosterbrauerei.net/webshop/catalog/product_info.php?ref=1&products_id=28&affiliate_banner_id=1"

target="_blank"><img src="https://ssl.kundenserver.de/ssl.klosterbrauerei.net/webshop/catalog/images/bock.gif" border="0"></a>

------------

 

bock.gif for the pic, or?

 

 

Stefan

Link to comment
Share on other sites

Thanks for helping me with your mental help I found it :) .

 

Merkw?rdig, alle hat fbisher funktioniert, nur das Affiliate Programm hat deshalb nict funktioniert.

 

 

I looked through everything and changed this

 

Configure.php

 

define('DIR_FS_DOCUMENT_ROOT','/homepages/23/d22152063/htdocs/webshop'); < befor !!!

 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

xxxxxxxxxx

define('HTTP_SERVER', 'https://ssl.kundenserver.de/ssl.klosterbrauerei.net'); // eg, http://localhost - should not be NULL for productive servers

define('HTTPS_SERVER', 'https://ssl.kundenserver.de/ssl.klosterbrauerei.net'); // eg, https://localhost - should not be NULL for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/webshop/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT','/homepages/23/d22152063/htdocs/webshop');

define('DIR_FS_CATALOG', '/homepages/23/d22152063/htdocs/webshop/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

xxxxxxx

 

define('DIR_FS_DOCUMENT_ROOT','/homepages/23/d22152063/htdocs/webshop'); < after !!!

 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

xxxxxx

 

define('HTTP_SERVER', 'https://ssl.kundenserver.de/ssl.klosterbrauerei.net'); // eg, http://localhost - should not be NULL for productive servers

define('HTTPS_SERVER', 'https://ssl.kundenserver.de/ssl.klosterbrauerei.net'); // eg, https://localhost - should not be NULL for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/webshop/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

https://ssl.kundenserver.de/ssl.klosterbrau...ate_banners.php

 

settings

 

define('AFFILIATE_KIND_OF_BANNERS','2');

define('AFFILIATE_SHOW_BANNERS_DEBUG', 'false');

define('AFFILIATE_SHOW_BANNERS_DEFAULT_PIC', 'http://www.klosterbrauerei.com/webshop/catalog/images/banners/oscommerce.gif');

 

everything worked.

 

Only the affiliate program didn't liked the settings before, strange isn't it?

 

Best regards Stefan

Link to comment
Share on other sites

Having sold something to a customer via the affiliate link - the sales do show up properly in the affiliates page.

But i can not Bill it. I set the threshold down to $3 but I can not get any bill having set. Whenever I press the "Start Billing"-Button it says "Your Affiliates have been sucessfully billed" - but nothing had been billed.

Do I do something wrong?

 

I have this problem :( and tried to solve it:

 

Af-Config:

E-Mail Address <[email protected]>

Affiliate Pay Per Sale Payment % Rate 10.0000

Payment Threshold 50.00

Cookie Lifetime 300

Billing Time 1

Order Min Status 3

Pay Affiliates with check true

Pay Affiliates with PayPal false

Pay Affiliates by Bank true

Individual Affiliate Percentage true

 

I made the order yesterday but can't bill it.

 

Order Status = 5

 

Where else can I look?

 

Thanks a lot for helping me.

 

Stefan

Link to comment
Share on other sites

This is the admin part of config. I think the 30 days were gone in the normal config of the shop in the sql-tables.

 

*/

 

define ('AFFILIATE_NOTIFY_AFTER_BILLING','true'); // Nofify affiliate if he got a new invoice

define ('AFFILIATE_DELETE_ORDERS','true'); // Delete affiliate_sales if an order is deleted (Warning: Only not yet billed sales are deleted)

 

define ('AFFILIATE_TAX_ID','3'); // Tax Rates used for billing the affiliates

// you get this from the URl (tID) when you select you Tax Rate at the admin: tax_rates.php?tID=1

// If set, the following actions take place each time you call the admin/affiliate_summary

define ('AFFILIATE_DELETE_CLICKTHROUGHS','30'); // (days / false) To keep the clickthrough report small you can set the days after which they are deleted (when calling affiliate_summary in the admin)

define ('AFFILIATE_DELETE_AFFILIATE_BANNER_HISTORY','30'); // (days / false) To keep thethe table AFFILIATE_BANNER_HISTORY small you can set the days after which they are deleted (when calling affiliate_summary in the admin)

 

?>

 

 

Stefan

Link to comment
Share on other sites

But i can not Bill it. I set the threshold down to $3 but I can not get any  

Af-Config:

E-Mail Address  <[email protected]>

Affiliate Pay Per Sale Payment % Rate  10.0000

Payment Threshold  50.00

Cookie Lifetime  300

Billing Time  1

Order Min Status  3

I made the order yesterday but can't bill it.

Payment Threshold 50.00 or 3 ?

set the billing time to 0 or -1 or wait till tomorrow (it may bee that the hours count in too: Sale: 02.27.2003 15:00 > 02.27.2003

 

If not contact me and i have a look.

Link to comment
Share on other sites

I took the first question from the faq to show that I had the problem like described in the faq, but I wanted to show that I rtfm :D.

 

Now, anyway, I set like you told me the billing time to 0 and it worked :D .

 

It is a great contribution.

 

Thanks a lot.

 

Stefan

Link to comment
Share on other sites

with version 1.0 and using MS1 I'm getting this error on the admin side when trying to access the admin pages.

 

Fatal error: Failed opening required 'includes/boxes/affilliate.php' (include_path='.') in /home/huntseek/public_html/gear/admin/includes/column_left.php on line 20

 

 

Fix?

Link to comment
Share on other sites

haven't gotten around to installing this yet (soon i hope) ...

 

but, can anyone tell me if affiliate payment can be set to $0 or

0 percent?

 

utilizing the above ... not sure if anyone might have mentioned it .. but the affiliate contribution can/is actually a very good way to see if those pay-per-click (etc) systems work for you. As, you can just give a different refer link to each system and see after a certain period of time -- if any type of sale is made from that link(referer).

Link to comment
Share on other sites

whoops. you're right.

 

must have been when i was copying the files ... somehow the affiliate_affiliates didn't end up where it was supposed to (even though the rest of the admin files did)

 

Are you sure?

In my zip file, i find this file.

Anyone else with this problem?

Link to comment
Share on other sites

fyi for anyone wondering ..

 

i have this working on my 09/17/02 snapshot without a hitch so far ...

 

though, i only have not tried a paypal transaction to see (paypal account problems!).

 

 

-- but, for the affiliate's management ... think they need a navigation bar that shows on all pages (banners, clicks, sales). pressing the back button isn't too intuitive.

 

-- any reason (security?) why affiliates are not able to modify their own information (payout to etc) after their account is created?

 

*thanks for the contribution

Link to comment
Share on other sites

  • 2 weeks later...

All installed and working great, however a couple of things seem a little strange to me and I suspect it's me that missed something when installing.

 

The summary that the affiliate sees appears to show earnings, clickthroughs etc for all the time since they joined the program, rather than just just the earnings for the current period. Billing works with no problems, but I had expected the summary to revert to zeros again and the payment info just to be transferred into the payment history section.

 

The other thing ... the conversion rate doesn't seem to be calculating properly. Affiliate has 4 clickthroughs and 2 sales (50% conversion?) shows on the summary as 0.5%. This is easy to fix, but I couldn't see any other postings related to it, so again I'm wondering if I missed something when installing.

 

Great contribution though :)

 

Any help appreciated ...

 

Thanks,

 

Ali

www.freelollies.co.uk

Link to comment
Share on other sites

-- but, for the affiliate's management ... think they need a navigation bar that shows on all pages (banners, clicks, sales). pressing the back button isn't too intuitive.

There's the AffiliateBox on the ledt side..

-- any reason (security?) why affiliates are not able to modify their own information (payout to etc) after their account is created?

I don't have a problem changing the information.

What happens when you try?

Link to comment
Share on other sites

The summary that the affiliate sees appears to show earnings, clickthroughs etc for all the time since they joined the program, rather than just just the earnings for the current period. Billing works with no problems, but I had expected the summary to revert to zeros again and the payment info just to be transferred into the payment history section.

Thats the way it handles it at the moment. Summary from the beginning.

 

The other thing ... the conversion rate doesn't seem to be calculating properly. Affiliate has 4 clickthroughs and 2 sales (50% conversion?) shows on the summary as 0.5%. This is easy to fix, but I couldn't see any other postings related to it, so again I'm wondering if I missed something when installing.

I'll look at it

Link to comment
Share on other sites

Thanks Henri ...

 

Please don't take my comments the wrong way - they're not intended as criticism at all - the contribution is fantastic! I just wanted to make sure that I had installed it correctly ... :wink:

 

Ali

Link to comment
Share on other sites

Mental note to self: don't post on this forum using Opera browser as it seems to post several times! Sorry!

 

Ali.

(now using IE)

Me using Opera and don't having any problems ;)

Link to comment
Share on other sites

I'm using the delete button and I don't have any problems ?

 

In other words: I've deleted the multiple postings...

:D

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

I installed the affiliate module. Everything seems to work fine except when i am in the admin section. When i click on the '?' affiliate_help6.php or any of the help. I get this error,

Fatal error: Cannot redeclare tep_session_start() (previously declared in /home/digitgoc/public_html/includes/functions/sessions.php:67) in /home/digitgoc/public_html/includes/functions/sessions.php on line 66

anyone have this problem too?

Link to comment
Share on other sites

Hello

 

My problem with affiliate with oscommerce 2.2MS1

 

 

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/xlandia.com/httpdocs/tienda/admin/includes/affiliate_application_top.php on line 56

 

Fatal error: Failed opening required 'includes/languages/affiliate_.php' (include_path='.:') in /usr/local/psa/home/vhosts/xlandia.com/httpdocs/tienda/admin/includes/affiliate_application_top.php on line 56

 

The language default is spanish (espanol.php)

is the same for admin and catalog

 

Please help me, Thanks for your time :roll:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...