alibak Posted July 9, 2004 Share Posted July 9, 2004 could someone please help me with the above 2 errors? I'd appreciate it. thanks again. Quote Link to comment Share on other sites More sharing options...
Music Groove Entertainment Posted July 9, 2004 Share Posted July 9, 2004 (edited) I've installed the Affiliate Program but I am able to access my shops admin panel, but i am unable to access the shops Main page. i get the following error: Fatal error: Call to a member function on a non-object in /home/xxxxx/public_html/shop/includes/application_top.php on line 508 And i did the followin process correctly: CATALOG ALTERATIONS In application_top.php in the catalog/includes directory enter at the end of the file before ?>: // Include OSC-AFFILIATE require(DIR_WS_INCLUDES . 'affiliate_application_top.php'); Does anyone know How i can correct this error? Thanks in advance, Edited July 9, 2004 by Music Groove Entertainment Quote Link to comment Share on other sites More sharing options...
Guest Posted July 9, 2004 Share Posted July 9, 2004 Hi guys, I'm having slight trouble with displaying banners with OSC affiliate. Text links work fine, however the banner images are not displaying correctly for banner links. Below is a screenshot: I'd appreciate any help or advice on fixing this problem. Thanks. Quote Link to comment Share on other sites More sharing options...
Music Groove Entertainment Posted July 10, 2004 Share Posted July 10, 2004 (edited) Check and make sure the image is in the right location Check and make sure you spelled the image name correctly Check and make sure the image extention is correct (.jpg, .gif) Can anyone help me with th post above? Edited July 10, 2004 by Music Groove Entertainment Quote Link to comment Share on other sites More sharing options...
alibak Posted July 10, 2004 Share Posted July 10, 2004 Well, I still after 4 days haven't heard any support toward my errors that I posted above. I wish please someone could help. I really would appreciate it. thanks Quote Link to comment Share on other sites More sharing options...
alibak Posted July 14, 2004 Share Posted July 14, 2004 hello, it's been about a week since I posted my errors in this page. is there a reason noone has attempted to help! I would appreciate the help in fixing the errors. thanks Quote Link to comment Share on other sites More sharing options...
Kurt Posted July 15, 2004 Share Posted July 15, 2004 What about "Affiliate-tier" i mean Multilevel Affiliate provision. It`s perfect function, but how it can work if affiliater can`t see report this some information abot their tierlevel web-masters (affiliaters)? Quote Link to comment Share on other sites More sharing options...
hoolahoous Posted July 17, 2004 Share Posted July 17, 2004 how do we set multi tier affiliates ? The control panel allows to set the commissions and all, but I couldn't a place to actually assign one affiliate as sub affiliate of other affiliate. If someone can brief me or post a link to documentation that would be really appriciated. Quote Link to comment Share on other sites More sharing options...
ridesign Posted July 24, 2004 Share Posted July 24, 2004 Hi guys, I'm having slight trouble with displaying banners with OSC affiliate. Text links work fine, however the banner images are not displaying correctly for banner links. Below is a screenshot: I'd appreciate any help or advice on fixing this problem. Thanks. I have the same problem, can someone help, all the rest of the images in the site work fin but the ones for creating a banner don't, build a link etc.. thank you Quote Link to comment Share on other sites More sharing options...
Guest Posted July 27, 2004 Share Posted July 27, 2004 I believe there is an error in the affiliate_application_top.php file. When I installed OSC-Afflilate the index page would bring up a Cannot Redeclare... error. So I started looking through some of the code and saw at the bottom of affiliate_application_top.php the last line of code is something like require(DIR_WS_INCLUDE . 'affiliate_application_top.php'); why would it need to require it's own file? Anyway I deleted it seems to work just fine. Is this just an error? Or is it suppose to require another file? I've seen there are some other people on the forums that seem to have the same problem I had. I assume that that line of code only interferes with certain set ups. Quote Link to comment Share on other sites More sharing options...
csquat Posted July 27, 2004 Share Posted July 27, 2004 I am trying to get the affiliate_signup.php to show company information. I see that there is a function that determines if the affiliate is a personal or company account. How do I get the company settings to appear. I am intersted in the Tax ID field so we can issue tax statements to those companies. Quote Link to comment Share on other sites More sharing options...
kinetek Posted July 27, 2004 Share Posted July 27, 2004 QUOTE (importhookup @ Jul 9 2004, 09:29 PM) Hi guys, I'm having slight trouble with displaying banners with OSC affiliate. Text links work fine, however the banner images are not displaying correctly for banner links. Below is a screenshot: I'd appreciate any help or advice on fixing this problem. Thanks. I have the same problem, can someone help, all the rest of the images in the site work fin but the ones for creating a banner don't, build a link etc.. thank you Q: Banner: Links to banners work. Images don't display A: - In the affiliate_configure.php you can activate a debug modus for affiliate_show_banners. - Try changing define ('AFFILIATE_KIND_OF_BANNERS','2');to 1 in catalog/includes/affiliate_configuration.php. Then you should see where it tries to get the images from. Quote Link to comment Share on other sites More sharing options...
kinetek Posted July 27, 2004 Share Posted July 27, 2004 Am I missing something? How do I add text links? Quote Link to comment Share on other sites More sharing options...
howdy Posted July 27, 2004 Share Posted July 27, 2004 Well, I have found the problem with MY banners... The problem is that the images are not being pulled from the correct directory. domain.com/images and it should be: domain.com/catalog/images Where is that specified for the affiliate program? All other images are FINE, even in the affiliate addon. It seems to be ONLY when it is producing the banners. I have messed with this for 3 days now, almost 30 hours total! I have fixed allot of things. I am sorry that I did not document all the changes. I have them in my head so I might try to jot them down and add to the contrib. Thanks! Quote Link to comment Share on other sites More sharing options...
kinetek Posted July 27, 2004 Share Posted July 27, 2004 Nevermind. I think i got it. You just don't put in an image. Although the link still shows up in the Banner Links page. change this line in affiliate_banners_banners.php $affiliate_banners_values = tep_db_query("select * from " . TABLE_AFFILIATE_BANNERS . " order by affiliate_banners_title"); to this $affiliate_banners_values = tep_db_query("select * from " . TABLE_AFFILIATE_BANNERS . " where affiliate_banners_image != '' order by affiliate_banners_title"); Quote Link to comment Share on other sites More sharing options...
howdy Posted July 30, 2004 Share Posted July 30, 2004 Holy CRAP! Man.... I got my affiliate banners to show up now! WOW, what a headache!! In your MAIN config (/includes/configure.php) make sure that this line define('HTTP_SERVER', 'http://domain.com); // eg, http://localhost - should not be empty for productive servers is actually pointing to your CART! Example: If OSCommerce is installed at domain.com/shop then your configure.php needs to be: define('HTTP_SERVER', 'http://domain.com/shop); // What a SMALL little error to give me HOURS of fits! There is obviously some errors in the code if this has to be modified only for this contrib. If I had time, I would search and fix, but this fix works for me and hopefully for everyone else that has problems with the banners not showing up. Quote Link to comment Share on other sites More sharing options...
99darkgreenGT Posted July 31, 2004 Share Posted July 31, 2004 i would like to know if anyone ever found out how to create affiliate links that will take the person directly to a category instead of a product. i tried looking through the osc affiliate thread, but i did not really see an answer. if someone can point me in the right direction, i would appreciate it. thanks Quote Link to comment Share on other sites More sharing options...
howdy Posted August 1, 2004 Share Posted August 1, 2004 If ALL (not link to both cats and prods) you want to do is create the links to the catagories and not each product, it should be that hard to modify the files. I am at a remote location tonight or I would look at it more.... I would START by looking in /admin/affiliate_banners.php and see how it builds the links. Look in MySQL also to see how it is stored. Once you edit the code to the /path/to/catagories -product If I could see the code I could help a bit more. Also, look at at the catalog files to see how they are reading the banner links. If they are reading a /path/to/the/catagory/product it seems easy enough to simply delete the /product Again, sorry I cant help more tonight but that should help get you started if you want it really bad :) Quote Link to comment Share on other sites More sharing options...
99darkgreenGT Posted August 3, 2004 Share Posted August 3, 2004 If ALL (not link to both cats and prods) you want to do is create the links to the catagories and not each product, it should be that hard to modify the files. I am at a remote location tonight or I would look at it more.... I would START by looking in /admin/affiliate_banners.php and see how it builds the links. Look in MySQL also to see how it is stored. Once you edit the code to the /path/to/catagories -product If I could see the code I could help a bit more. Also, look at at the catalog files to see how they are reading the banner links. If they are reading a /path/to/the/catagory/product it seems easy enough to simply delete the /product Again, sorry I cant help more tonight but that should help get you started if you want it really bad :) i would like to be able to do both products and categories. not entirely necessary for both, but it would be nice. i am not really good with php at all. i am just good at following the directions on how to change it :P :D so if you or anyone can help out, it will be appreciated. thanks! Quote Link to comment Share on other sites More sharing options...
redrum Posted August 3, 2004 Share Posted August 3, 2004 Two q's 1. Does OSC Affiliate only give the affiliate percent on the sale that he generate, or does OSC Affiliate store the customer account information and give the affiliate percentage also on the second sale for that customer, even if the customer went directly to my webshop and not thru the affiliate link? 2. How does OSC Affiliate work with coupons? Will the affiliate get percentage on the actual sale, what the customer paid for the goods. Or will he get percentage on what the goods cost without any discount? Thanks, Fredrik Quote Link to comment Share on other sites More sharing options...
Rwfresh Posted August 5, 2004 Share Posted August 5, 2004 Hi there, Does anyone using OSCAffiliate have a good faq developed on their site they wouldn't mind sharing? rw Quote Link to comment Share on other sites More sharing options...
Rwfresh Posted August 6, 2004 Share Posted August 6, 2004 CREATING LINKS TO CATEGORIES. Hi All, I would like to create banners for my affiliates that link to categories rather then products. Just wondering if the following would work: http://www.teetimesamerica.com/index.php?ref=1&cPath=259 If a visitor used this link and then ordered something would the affiliate still recieve the credit? As long as i know the customer will actually be credited i can build a quick and dirty link/banner creator. Thanks! rw Quote Link to comment Share on other sites More sharing options...
Rob123 Posted August 6, 2004 Share Posted August 6, 2004 Rwfresh, I would like to create banners for my affiliates that link to categories rather then products. Just wondering if the following would work Yes and No. If you install the contribution as is (with no modifications) the affiliate should get credit. However, you would not be able to track which category was clicked. I modified my version so I can also track clicked products and/or categories. I'm trying to decipher my code so I can post it in the thread, if it's requested. HTH, Robert Quote Link to comment Share on other sites More sharing options...
mark754 Posted August 10, 2004 Share Posted August 10, 2004 Can non-expiring cookies be set in osc affiliate? If so, do I just put "0" as the cookie lifetime? To have a 45-day cookie lifetime, I assume I enter 3,888,000, since it's in seconds. Can the setting be changed to "days" instead of seconds? Quote Link to comment Share on other sites More sharing options...
mark754 Posted August 11, 2004 Share Posted August 11, 2004 Can someone tell me how affiliates can obtain the product number for an item they wish to link to with the Build a Link feature? I read about a product number pop-up mod on about page 63 of this thread, but that was written for a previous version of osc affiliate. Is there another solution? Also, is there any way to have sales that have been made, but have not yet passed the "billing time" period reflected on the affiliates' summary pages? For example, a "pending sales" figure? Or must they wait until the billing time (e.g. 30 days) has passed before seeing any activity? Also, It would be great if someone can comment on my last post above :) Thanks. 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.