Jump to content
henri

OSC-Affiliate

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

Share this post


Link to post
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:

Share this post


Link to post
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:

Share this post


Link to post
Share on other sites

Ok, new version at sourceforge...

 

 

- german language support.

- Debugmodus for affiliate_show_banner

...

For all changes look at cvs...

Share this post


Link to post
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]

Share this post


Link to post
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

Share this post


Link to post
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]

Share this post


Link to post
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...

Share this post


Link to post
Share on other sites

Cool! I'll do that, I saw some things in the cvs that I like for 0.4!

 

Debbie


[no external urls in signatures please, kthanks]

Share this post


Link to post
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???

Share this post


Link to post
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?

Share this post


Link to post
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?

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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


Emerson

Share this post


Link to post
Share on other sites

No emerson you have it wrong...

 

Your affiliates get paid a comission on all orders,plus you can also specify specific products.

 

its entirely up to you :)

Share this post


Link to post
Share on other sites

Oh ok,

That's awesome, the whole thing with the banners got me confused (doesn't take much, hehe)

 

Thanks for your reply! :D

 

Emerson


Emerson

Share this post


Link to post
Share on other sites

The link is actually a bit more complicated than that as it now tracks clickthru's from the banners or products. Create yourself an affiliate banner and it will create the code for you

Share this post


Link to post
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


Emerson

Share this post


Link to post
Share on other sites

Before I implement this contribution, can someone tell me if there is an option for affiliates to create TEXT links only? I'd hate to just give the affiliates 1 option of banners.

 

Regards,

Michelle

Share this post


Link to post
Share on other sites

Michelle the module doesnt yet have the function to actually create and display text only links, although it is needed.

 

I'll look into it

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

×