henri Posted January 22, 2003 Author Share Posted January 22, 2003 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... Quote Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2003 Share Posted January 22, 2003 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: Quote Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2003 Share Posted January 22, 2003 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: Quote Link to comment Share on other sites More sharing options...
henri Posted January 22, 2003 Author Share Posted January 22, 2003 Thx, jworking on it now... Update within an hour :tellme: Quote Link to comment Share on other sites More sharing options...
henri Posted January 22, 2003 Author Share Posted January 22, 2003 Ok, new version at sourceforge... - german language support. - Debugmodus for affiliate_show_banner ... For all changes look at cvs... Quote Link to comment Share on other sites More sharing options...
loxly Posted January 24, 2003 Share Posted January 24, 2003 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 Quote [no external urls in signatures please, kthanks] Link to comment Share on other sites More sharing options...
Guest Posted January 24, 2003 Share Posted January 24, 2003 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 Quote Link to comment Share on other sites More sharing options...
loxly Posted January 24, 2003 Share Posted January 24, 2003 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 Quote [no external urls in signatures please, kthanks] Link to comment Share on other sites More sharing options...
henri Posted January 24, 2003 Author Share Posted January 24, 2003 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... Quote Link to comment Share on other sites More sharing options...
henri Posted January 24, 2003 Author Share Posted January 24, 2003 :oops: >mission function missing I mean Quote Link to comment Share on other sites More sharing options...
loxly Posted January 24, 2003 Share Posted January 24, 2003 Cool! I'll do that, I saw some things in the cvs that I like for 0.4! Debbie Quote [no external urls in signatures please, kthanks] Link to comment Share on other sites More sharing options...
Snowman Posted January 25, 2003 Share Posted January 25, 2003 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??? Quote Link to comment Share on other sites More sharing options...
Snowman Posted January 25, 2003 Share Posted January 25, 2003 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? Quote Link to comment Share on other sites More sharing options...
henri Posted January 25, 2003 Author Share Posted January 25, 2003 @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? Quote Link to comment Share on other sites More sharing options...
Snowman Posted January 26, 2003 Share Posted January 26, 2003 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. Quote Link to comment Share on other sites More sharing options...
henri Posted January 26, 2003 Author Share Posted January 26, 2003 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 2, 2003 Share Posted February 2, 2003 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 Quote Link to comment Share on other sites More sharing options...
Snowman Posted February 2, 2003 Share Posted February 2, 2003 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 :) Quote Link to comment Share on other sites More sharing options...
Guest Posted February 2, 2003 Share Posted February 2, 2003 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted February 2, 2003 Share Posted February 2, 2003 Ok one last question.... So the link should be http://www.store.com/default.php?ref=1 ?? would that be enough? Thanks, Emerson Quote Link to comment Share on other sites More sharing options...
Snowman Posted February 2, 2003 Share Posted February 2, 2003 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 Quote Link to comment Share on other sites More sharing options...
henri Posted February 2, 2003 Author Share Posted February 2, 2003 So the link should be http://www.store.com/default.php?ref=1 ??would that be enough? Yes this is enough, but the will be no stats for bannerviews. As text link it's ok. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 2, 2003 Share Posted February 2, 2003 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 Quote Link to comment Share on other sites More sharing options...
michellez1 Posted February 3, 2003 Share Posted February 3, 2003 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 Quote Link to comment Share on other sites More sharing options...
Snowman Posted February 3, 2003 Share Posted February 3, 2003 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.