Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC-Affiliate


henri

Recommended Posts

Hi Steve,

 

I don't remember if I asked this or not, is it possible to have an affiliate banner link to a category instead of a product? And is it possible to have text links?

 

I badly needed that feature, I really like to setup some specific banner for some category. Steve/Henry is it possible?

 

Quick and Dirty:

A said above, yo can link every page by adding &ref=... to the url.

So make an extra page (or integrate it into the banner page) with the links you need.

 

For an integrated solution i need more time (which i don't have at the moment and buisness come first)

 

But i hope to release the next version these days...

Link to comment
Share on other sites

Hi, :whaasup:

 

my affiliate program works but when I tired to sign up a new affiliate I was getting a blank page on the SUCCESS submit of information only.

 

I tracked the problem to the following bad function name (For recent snapshots):"affiliate_signup.php line 135"

$sql_data_array = array('affiliate_password' => crypt_password($a_password),

 

which should be for more recent snapshots: "affiliate_signup.php line 135"

$sql_data_array = array('affiliate_password' => tep_encrypt_password($a_password),

 

I suggest Looking up other files for that bad function name.

It fixed my problem. Hope it saves some time to some people.

 

Qjahe :shock:

Link to comment
Share on other sites

Hi me again, :stupid:

 

found another bad function name: affiliate_affiliate.php line 31

 

if (!validate_password($affiliate_password, $check_affiliate['affiliate_password'])) {

 

should be: tep_validate_password();

which prevented me to login as an affiliate..

 

Hope it helps.

 

Qjahe :crazy:

Link to comment
Share on other sites

Ok, new version at sourceforge...

 

 

- german language support.

- Debugmodus for affiliate_show_banner

...

For all changes look at cvs...

 

This can only be used with Jan 2003 snapshots correct? Mine is November.

 

 

Debbie

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

Installed new version 0.4 for Aug Snapshot

 

Received this error after the sign up page with everything filled in correctly

 

Fatal error: Call to undefined function: tep_rand() in /home/blueanim/public_html/shop/catalog/includes/functions/affiliate_functions.php on line 68

Link to comment
Share on other sites

Installed new version 0.4 for Aug Snapshot

 

Received this error after the sign up page with everything filled in correctly

 

Fatal error: Call to undefined function: tep_rand() in /home/blueanim/public_html/shop/catalog/includes/functions/affiliate_functions.php on line 68

 

That's what I thought, you need to use 0.3 for older snapshots, apparently there are changed to the database structure if you read the last few messages. 0.4 addresses those.

 

Debbie

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

Call to undefined function: tep_rand()

Hmm, one more old snapshot mission function.

Simply get the function from a new OSC-Snapshot and copy it to affiliate_functions.php or get the new affiliate_functions.php from cvs.

 

0.4 should work with all versions which 0.3 works with...

Link to comment
Share on other sites

Henri i have just brought my 2.0 version at alpine hosting uptodate with 0.4 and all works well, apart from a few SSL issues, however i added the affiliate_payment.php files to the catalog but get a session error:

 

 

 

Fatal error: Cannot redeclare _sess_open() (previously declared in /home/alpineho/public_html/includes/functions/sessions.php:18) in /home/alpineho/public_html/includes/functions/sessions.php on line 18

 

any ideas???

Link to comment
Share on other sites

Henri

 

I just had a thought about a function linkup that might be needed as well.

 

If you delete an order out of the orders table it will remain in the affiliate sales report but will show no status.

 

any thoughts on whats the best way to get around that?

Link to comment
Share on other sites

@steve

 

Your SessionProblem: I 've no idea, especially if it's only in this one file

 

If you delete an order out of the orders table it will remain in the affiliate sales report but will show no status.

any thoughts on whats the best way to get around that?

Possible solutions:

- You do not delete orders, but add an aditional status to orders "deleted"

- wenn deleting an order, all clicks, sales.. are deleted too

- if no status is shown we write on: "deleted"

 

Your thoughts?

Link to comment
Share on other sites

Henri you solution sounds good.

 

Perhaps the script can search the database by the OID and if it cant find it maybe it should leave it off the list or as you suggest mark it deleted.

 

As for not deleteing the file and having a status called deleted. I am already doing that but while the delete function exists it is a problem.

 

As for my problems with affiliate_payment.php i dont know. This is on an August snapshot.

Link to comment
Share on other sites

I 'll try to implemet it as soon as possible.

 

>affiliate_payment.php

The error say that you try to start the session 2 times.

most likely you have somewhere an include twice.

affiliate_payment only uses sessions to check if the affiliate is logged in and thats the some code as in all other files.

Link to comment
Share on other sites

Hello everyone,

I have just installed the Affiliate module in my store and if I understand correctly, an affiliate can only earn commission on "Specific products" he/she recommends?

Is it possible to have an affiliate earn commission on a store referral? Like if an affiliate has a link to my store and a customer clicks on it an makes a purchase, the affiliate would get credit for the sale?

 

Please let me know if possible!

 

Thanks,

Emerson :D

Link to comment
Share on other sites

Cool thanks to both of you!

 

I have been palying with the links and I just noticed the difference in the links,

 

.../default.php?ref=1... this one only records the visits...

 

and

 

.../default.php?ref=1&affiliate_banner_id=2... records both visits and impressions...

 

Very cool! 8)

 

Thanks for your help!

Emerson

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...