henri Posted July 17, 2005 Author Share Posted July 17, 2005 Hi, if you want to reduce the $affiliate_total you should run through the $order_total (the code is seen in checkout_process) and check if a giftvoucher is used. If so you can reduce the $affiliate_total. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 17, 2005 Share Posted July 17, 2005 Hi, if you want to reduce the $affiliate_total you should run through the $order_total (the code is seen in checkout_process) and check if a giftvoucher is used. If so you can reduce the $affiliate_total. <{POST_SNAPBACK}> Hello henri! Well yeah i guess you could say i want to "reduce" $affiliate_total. I didn't quite understand what you ment by the $order_total since they seem to be two separate things :blush: But anyways, as it is now, the affiliate gets credited for: - The value of the merchandise without the ccgv (coupon credit) beeing deducted. This is wrong imho, since the affiliate "earning" should be calculated from the sum the store makes (total - discount). And i know the sum i need to use is _somewhere_ in the system, since it's displayed on checkout_confirmation.php :rolleyes: I just can't seem to find it, since it obviously is packed away inside a function / or array. sincerely -vebj?rn Quote Link to comment Share on other sites More sharing options...
henri Posted July 17, 2005 Author Share Posted July 17, 2005 add this: print_r($order_totals);exit(); then you should see where it is ;) Quote Link to comment Share on other sites More sharing options...
Guest Posted July 17, 2005 Share Posted July 17, 2005 add this: then you should see where it is ;) <{POST_SNAPBACK}> Aeh, i'm sorry to ask such a stupid question, but where would you suggest i put that? :o Quote Link to comment Share on other sites More sharing options...
BGSoyCandle Posted July 18, 2005 Share Posted July 18, 2005 I'm having quite a bit of trouble with the affiliate module. Can someone please help me? This is the error I'm getting when trying to log into admin: Warning: main(includes/affiliate_application_top.php): failed to open stream: No such file or directory in /home/bgsoycan/public_html/ecommerce/os/catalog/admin/includes/application_top.php on line 209 Warning: main(includes/affiliate_application_top.php): failed to open stream: No such file or directory in /home/bgsoycan/public_html/ecommerce/os/catalog/admin/includes/application_top.php on line 209 Fatal error: main(): Failed opening required 'includes/affiliate_application_top.php' (include_path='.:/usr/local/lib/php') in /home/bgsoycan/public_html/ecommerce/os/catalog/admin/includes/application_top.php on line 209 I'm pretty sure I followed all instructions from the download (2.5A). You can click my screen name to read my problems in detail. Thanks, Joyce Quote Link to comment Share on other sites More sharing options...
BGSoyCandle Posted July 18, 2005 Share Posted July 18, 2005 I found this, which would apply to me, but I don't know how to go about implementing? Just FYI, there is another issue when you have your shop in a sub folder, such as domain.com/shop You will need to edit your files accordingly so that the affiliate program knows that you are not installed in the root area. This is what caused ME the biggest problem. My shop is in a sub folder. How and what do I edit? Quote Link to comment Share on other sites More sharing options...
rose3694 Posted July 20, 2005 Share Posted July 20, 2005 Can someone help me with this problem? I am getting this error on my admin side. Fatal error: Cannot instantiate non-existent class: infoboxheading in /home/designsb/public_html/store/admin/includes/boxes/affiliate.php on line 24 Thanks, Carol Quote Link to comment Share on other sites More sharing options...
rose3694 Posted July 20, 2005 Share Posted July 20, 2005 This is line 24 it is refering to: new infoBoxHeading($info_box_contents, false, false); Thanks Quote Link to comment Share on other sites More sharing options...
Hobbes_TheReal Posted July 20, 2005 Share Posted July 20, 2005 Hello rose, that is the code in my admin/includes/boxes/affiliate.php. try it out for your one, and let me know it works or not ;) <?php /* $Id: affiliate.php,v 2.00 2003/10/12 OSC-Affiliate Contribution based on: osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 - 2003 osCommerce Released under the GNU General Public License */ ?> <!-- affiliates //--> <tr> <td> <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_AFFILIATE, 'link' => tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('selected_box')) . 'selected_box=affiliate')); if ($selected_box == 'affiliate') { $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_AFFILIATE_SUMMARY, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_AFFILIATE_SUMMARY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_AFFILIATE . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_PAYMENT, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_AFFILIATE_PAYMENT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_SALES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_AFFILIATE_SALES . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_CLICKS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_AFFILIATE_CLICKS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_BANNER_MANAGER, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_AFFILIATE_BANNERS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_NEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_AFFILIATE_NEWS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_NEWSLETTERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_AFFILIATE_NEWSLETTER_MANAGER . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_CONTACT, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_AFFILIATE_CONTACT . '</a>'); } $box = new box; echo $box->menuBox($heading, $contents); ?> </td> </tr> <!-- affiliates_eof //--> Greets Hobbes Quote Link to comment Share on other sites More sharing options...
rose3694 Posted July 20, 2005 Share Posted July 20, 2005 Ok well that got rid of that error but now when I click on any of the links I get this Fatal error: Call to a member function on a non-object then a file name Then some of the links are not showing right like Quote Link to comment Share on other sites More sharing options...
Hobbes_TheReal Posted July 20, 2005 Share Posted July 20, 2005 (edited) Have you done all changes in any php file, what in readme ? There now missing in the languages the right entries. Greets Hobbes affiliate_german.php <?php /* ?$Id: affiliate_german.php,v 1.3 2003/02/16 23:43:29 harley_vb Exp $ ?OSC-Affiliate ? ?Contribution based on: ? ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2002 - 2003 osCommerce ?Released under the GNU General Public License */ // reports box text in includes/boxes/affiliate.php define('BOX_HEADING_AFFILIATE', 'Partnerprogramm'); define('BOX_AFFILIATE_SUMMARY', 'Zusammenfassung'); define('BOX_AFFILIATE', 'Partner'); define('BOX_AFFILIATE_PAYMENT', 'Provisionszahlungen'); define('BOX_AFFILIATE_BANNERS', 'Banner'); define('BOX_AFFILIATE_CONTACT', 'Kontakt'); define('BOX_AFFILIATE_NEWS', 'News'); define('BOX_AFFILIATE_NEWSLETTER_MANAGER', 'Newsletter Manager'); define('BOX_AFFILIATE_SALES', 'Partner Verkäufe'); define('BOX_AFFILIATE_CLICKS', 'Klicks'); define('BOX_TITLE_AFFILIATES', 'Partner'); define('BOX_ENTRY_AFFILIATES', 'Partner:'); define('BOX_ENTRY_CONVERSION', 'Verk?ufe/Klicks:'); define('BOX_ENTRY_COMMISSION', 'Provision:'); ?> affiliate_english.php : <?php /* ?$Id: affiliate_english.php,v 2.00 2003/10/12 ?OSC-Affiliate ? ?Contribution based on: ? ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2002 - 2003 osCommerce ?Released under the GNU General Public License */ // reports box text in includes/boxes/affiliate.php define('BOX_HEADING_AFFILIATE', 'Affiliates'); define('BOX_AFFILIATE_SUMMARY', 'Summary'); define('BOX_AFFILIATE', 'Affiliates'); define('BOX_AFFILIATE_PAYMENT', 'Payment'); define('BOX_AFFILIATE_BANNERS', 'Banners'); define('BOX_AFFILIATE_CONTACT', 'Contact'); define('BOX_AFFILIATE_SALES', 'Sales'); define('BOX_AFFILIATE_CLICKS', 'Clicks'); define('BOX_AFFILIATE_NEWS', 'Affiliate News'); define('BOX_AFFILIATE_NEWSLETTER_MANAGER', 'Affiliate Newsletter'); define('BOX_TITLE_AFFILIATES', 'Affiliates'); define('BOX_ENTRY_AFFILIATES', 'Affiliates:'); define('BOX_ENTRY_CONVERSION', 'Conversion:'); define('BOX_ENTRY_COMMISSION', 'Commission:'); ?> Both files must be in admin/includes/languages Try it out ;) Edited July 20, 2005 by Hobbes_TheReal Quote Link to comment Share on other sites More sharing options...
rose3694 Posted July 20, 2005 Share Posted July 20, 2005 I did everything the readme file said to do but it seems like something was left out or something. The only step I skiped was the catalog side for column_left.php because I use the infobox editor add on. I have since added the box though that and it is not showing up either. Shouldn't i have needed to add something other than define('FILENAME_CATEGORIES_INFO', 'index.php'); to filenames.php? Shouldn't i have needed to add something to my english.php file? Thanks Quote Link to comment Share on other sites More sharing options...
Hobbes_TheReal Posted July 20, 2005 Share Posted July 20, 2005 Look my above post, the i have post my affiliate languages for admin/includes/languages. Test it and let me know, it works or not ;) Greets Hobbes Quote Link to comment Share on other sites More sharing options...
rose3694 Posted July 20, 2005 Share Posted July 20, 2005 I have those files installed already. They were installed when i uploaded all the files. Quote Link to comment Share on other sites More sharing options...
Hobbes_TheReal Posted July 20, 2005 Share Posted July 20, 2005 Have you look into your files that all is the same there ? Quote Link to comment Share on other sites More sharing options...
rose3694 Posted July 20, 2005 Share Posted July 20, 2005 Here is my affiliates_english.php file <?php /* $Id: affiliate_english.php,v 2.00 2003/10/12 OSC-Affiliate Contribution based on: osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 - 2003 osCommerce Released under the GNU General Public License */ define('BOX_INFORMATION_AFFILIATE', 'The Affiliate Program'); define('BOX_HEADING_AFFILIATE', 'Affiliate Program'); define('BOX_HEADING_AFFILIATE_NEWS', 'Affiliate News'); define('BOX_AFFILIATE_CENTRE', 'Affiliate Centre'); define('BOX_AFFILIATE_BANNER_CENTRE', 'Affiliate Links'); define('BOX_AFFILIATE_REPORT_CENTRE', 'Affiliate Reports'); define('BOX_AFFILIATE_INFO', 'Affiliate Information'); define('BOX_AFFILIATE_SUMMARY', 'Affiliate Summary'); define('BOX_AFFILIATE_PASSWORD', 'Change Password'); define('BOX_AFFILIATE_NEWS', 'Affiliate News'); define('BOX_AFFILIATE_NEWSLETTER', 'Newsletter'); define('BOX_AFFILIATE_ACCOUNT', 'Edit Affiliate Account'); define('BOX_AFFILIATE_REPORTS', 'Affiliate Reports'); define('BOX_AFFILIATE_CLICKRATE', 'Clickthrough Report'); define('BOX_AFFILIATE_PAYMENT', 'Payment Report'); define('BOX_AFFILIATE_SALES', 'Sales Report'); define('BOX_AFFILIATE_BANNERS', 'Affiliate Banners / Links'); define('BOX_AFFILIATE_BANNERS_BANNERS', 'WebSite Banners'); define('BOX_AFFILIATE_BANNERS_BUILD_CAT', 'Build Category Link'); define('BOX_AFFILIATE_BANNERS_BUILD', 'Build Product Link'); define('BOX_AFFILIATE_BANNERS_PRODUCT', 'Product Banners'); define('BOX_AFFILIATE_BANNERS_CATEGORY', 'Category Banners'); define('BOX_AFFILIATE_BANNERS_TEXT', 'Text Links'); //Translation for the missing help files by Hobbes ~*~ Begin define('TEXT_PAYMENT_ID', 'Shows the ID Number, of payments.'); define('TEXT_SALES_PAYMENT_DATE', 'Shows the date, of payments.'); define('TEXT_SALES_PAYMENT_Ammount', 'Affiliate Earnings represents the commission due on the sale'); define('TEXT_PAYMENT_STATUS', 'Sale Status represents the status the sale.'); //Translation for the missing help files by Hobbes ~*~ End define('BOX_AFFILIATE_CONTACT', 'Contact Us'); define('BOX_AFFILIATE_FAQ', 'Affiliate Program FAQ'); define('BOX_AFFILIATE_LOGIN', 'Affiliate Log In'); define('BOX_AFFILIATE_LOGOUT', 'Affiliate Log Out'); define('ENTRY_AFFILIATE_PAYMENT_DETAILS', 'Payable to:'); define('ENTRY_AFFILIATE_ACCEPT_AGB', 'Check here to indicate that you have read and agree to the '); define('ENTRY_AFFILIATE_ACCEPT_AGB_TEXT', 'Affiliate Program Terms and Conditions '); define('ENTRY_AFFILIATE_AGB_ERROR', '? <small><font color="#FF0000">You must accept our Affiliate Program Terms & Conditions</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_CHECK', 'Check Payee Name:'); define('ENTRY_AFFILIATE_PAYMENT_CHECK_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_CHECK_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_PAYPAL', 'PayPal Account Email:'); define('ENTRY_AFFILIATE_PAYMENT_PAYPAL_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_PAYPAL_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_BANK_NAME', 'Bank Name:'); define('ENTRY_AFFILIATE_PAYMENT_BANK_NAME_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_BANK_NAME_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NAME', 'Account Name:'); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NAME_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NAME_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NUMBER', 'Account Number:'); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NUMBER_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NUMBER_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_BANK_BRANCH_NUMBER', 'ABA/BSB number (branch number):'); define('ENTRY_AFFILIATE_PAYMENT_BANK_BRANCH_NUMBER_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_BANK_BRANCH_NUMBER_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_BANK_SWIFT_CODE', 'SWIFT Code:'); define('ENTRY_AFFILIATE_PAYMENT_BANK_SWIFT_CODE_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_BANK_SWIFT_CODE_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_COMPANY', 'Company'); define('ENTRY_AFFILIATE_COMPANY_TEXT', ''); define('ENTRY_AFFILIATE_COMPANY_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_COMPANY_TAXID', 'TAX ID.:'); define('ENTRY_AFFILIATE_COMPANY_TAXID_TEXT', ''); define('ENTRY_AFFILIATE_COMPANY_TAXID_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_HOMEPAGE', 'Homepage'); define('ENTRY_AFFILIATE_HOMEPAGE_TEXT', ' <small><font color="#AABBDD">required (http://)</font></small>'); define('ENTRY_AFFILIATE_HOMEPAGE_ERROR', ' <small><font color="#FF0000">required (http://)</font></small>'); define('ENTRY_AFFILIATE_NEWSLETTER', 'Affiliate Newsletter'); define('ENTRY_AFFILIATE_NEWSLETTER_TEXT', ''); define('ENTRY_AFFILIATE_NEWSLETTER_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('CATEGORY_PAYMENT_DETAILS', 'You get your money by:'); ?> What you gave me did make all the links somewhat show right but I still get Fatal error: Call to a member function on a non-object in whatever file it was accessing on line 20 I think I am just going to completely uninstall and try reinstalling it. Something just doesn't seem right. Quote Link to comment Share on other sites More sharing options...
Hobbes_TheReal Posted July 20, 2005 Share Posted July 20, 2005 Which version you have installed, rose ? Quote Link to comment Share on other sites More sharing options...
Hobbes_TheReal Posted July 20, 2005 Share Posted July 20, 2005 Take a look at my one, normally it works fine, when you have made all we you have read in readme files for affiliate programm. Greets Hobbes Quote Link to comment Share on other sites More sharing options...
Hobbes_TheReal Posted July 20, 2005 Share Posted July 20, 2005 Here is my affiliates_english.php file <?php /* ?$Id: affiliate_english.php,v 2.00 2003/10/12 ?OSC-Affiliate ?Contribution based on: ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2002 - 2003 osCommerce ?Released under the GNU General Public License */ define('BOX_INFORMATION_AFFILIATE', 'The Affiliate Program'); define('BOX_HEADING_AFFILIATE', 'Affiliate Program'); define('BOX_HEADING_AFFILIATE_NEWS', 'Affiliate News'); define('BOX_AFFILIATE_CENTRE', 'Affiliate Centre'); define('BOX_AFFILIATE_BANNER_CENTRE', 'Affiliate Links'); define('BOX_AFFILIATE_REPORT_CENTRE', 'Affiliate Reports'); define('BOX_AFFILIATE_INFO', 'Affiliate Information'); define('BOX_AFFILIATE_SUMMARY', 'Affiliate Summary'); define('BOX_AFFILIATE_PASSWORD', 'Change Password'); define('BOX_AFFILIATE_NEWS', 'Affiliate News'); define('BOX_AFFILIATE_NEWSLETTER', 'Newsletter'); define('BOX_AFFILIATE_ACCOUNT', 'Edit Affiliate Account'); define('BOX_AFFILIATE_REPORTS', 'Affiliate Reports'); define('BOX_AFFILIATE_CLICKRATE', 'Clickthrough Report'); define('BOX_AFFILIATE_PAYMENT', 'Payment Report'); define('BOX_AFFILIATE_SALES', 'Sales Report'); define('BOX_AFFILIATE_BANNERS', 'Affiliate Banners / Links'); define('BOX_AFFILIATE_BANNERS_BANNERS', 'WebSite Banners'); define('BOX_AFFILIATE_BANNERS_BUILD_CAT', 'Build Category Link'); define('BOX_AFFILIATE_BANNERS_BUILD', 'Build Product Link'); define('BOX_AFFILIATE_BANNERS_PRODUCT', 'Product Banners'); define('BOX_AFFILIATE_BANNERS_CATEGORY', 'Category Banners'); define('BOX_AFFILIATE_BANNERS_TEXT', 'Text Links'); //Translation for the missing help files by Hobbes ~*~ Begin define('TEXT_PAYMENT_ID', 'Shows the ID Number, of payments.'); define('TEXT_SALES_PAYMENT_DATE', 'Shows the date, of payments.'); define('TEXT_SALES_PAYMENT_Ammount', 'Affiliate Earnings represents the commission due on the sale'); define('TEXT_PAYMENT_STATUS', 'Sale Status represents the status the sale.'); //Translation for the missing help files by Hobbes ~*~ End define('BOX_AFFILIATE_CONTACT', 'Contact Us'); define('BOX_AFFILIATE_FAQ', 'Affiliate Program FAQ'); define('BOX_AFFILIATE_LOGIN', 'Affiliate Log In'); define('BOX_AFFILIATE_LOGOUT', 'Affiliate Log Out'); define('ENTRY_AFFILIATE_PAYMENT_DETAILS', 'Payable to:'); define('ENTRY_AFFILIATE_ACCEPT_AGB', 'Check here to indicate that you have read and agree to the '); define('ENTRY_AFFILIATE_ACCEPT_AGB_TEXT', 'Affiliate Program Terms and Conditions '); define('ENTRY_AFFILIATE_AGB_ERROR', '? <small><font color="#FF0000">You must accept our Affiliate Program Terms & Conditions</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_CHECK', 'Check Payee Name:'); define('ENTRY_AFFILIATE_PAYMENT_CHECK_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_CHECK_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_PAYPAL', 'PayPal Account Email:'); define('ENTRY_AFFILIATE_PAYMENT_PAYPAL_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_PAYPAL_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_BANK_NAME', 'Bank Name:'); define('ENTRY_AFFILIATE_PAYMENT_BANK_NAME_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_BANK_NAME_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NAME', 'Account Name:'); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NAME_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NAME_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NUMBER', 'Account Number:'); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NUMBER_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_BANK_ACCOUNT_NUMBER_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_BANK_BRANCH_NUMBER', 'ABA/BSB number (branch number):'); define('ENTRY_AFFILIATE_PAYMENT_BANK_BRANCH_NUMBER_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_BANK_BRANCH_NUMBER_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_PAYMENT_BANK_SWIFT_CODE', 'SWIFT Code:'); define('ENTRY_AFFILIATE_PAYMENT_BANK_SWIFT_CODE_TEXT', ''); define('ENTRY_AFFILIATE_PAYMENT_BANK_SWIFT_CODE_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_COMPANY', 'Company'); define('ENTRY_AFFILIATE_COMPANY_TEXT', ''); define('ENTRY_AFFILIATE_COMPANY_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_COMPANY_TAXID', 'TAX ID.:'); define('ENTRY_AFFILIATE_COMPANY_TAXID_TEXT', ''); define('ENTRY_AFFILIATE_COMPANY_TAXID_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('ENTRY_AFFILIATE_HOMEPAGE', 'Homepage'); define('ENTRY_AFFILIATE_HOMEPAGE_TEXT', ' <small><font color="#AABBDD">required (http://)</font></small>'); define('ENTRY_AFFILIATE_HOMEPAGE_ERROR', ' <small><font color="#FF0000">required (http://)</font></small>'); define('ENTRY_AFFILIATE_NEWSLETTER', 'Affiliate Newsletter'); define('ENTRY_AFFILIATE_NEWSLETTER_TEXT', ''); define('ENTRY_AFFILIATE_NEWSLETTER_ERROR', ' <small><font color="#FF0000">required</font></small>'); define('CATEGORY_PAYMENT_DETAILS', 'You get your money by:'); ?> What you gave me did make all the links somewhat show right but I still get Fatal error: Call to a member function on a non-object in whatever file it was accessing on line 20 I think I am just going to completely uninstall and try reinstalling it. Something just doesn't seem right. <{POST_SNAPBACK}> That is the affiliate english from catalog site, not from the admin side ;) Quote Link to comment Share on other sites More sharing options...
Hobbes_TheReal Posted July 20, 2005 Share Posted July 20, 2005 This is the one i have post for admin/includes/languages/affiliate_english.php : <?php /* $Id: affiliate_english.php,v 2.00 2003/10/12 OSC-Affiliate Contribution based on: osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 - 2003 osCommerce Released under the GNU General Public License */ // reports box text in includes/boxes/affiliate.php define('BOX_HEADING_AFFILIATE', 'Affiliates'); define('BOX_AFFILIATE_SUMMARY', 'Summary'); define('BOX_AFFILIATE', 'Affiliates'); define('BOX_AFFILIATE_PAYMENT', 'Payment'); define('BOX_AFFILIATE_BANNERS', 'Banners'); define('BOX_AFFILIATE_CONTACT', 'Contact'); define('BOX_AFFILIATE_SALES', 'Sales'); define('BOX_AFFILIATE_CLICKS', 'Clicks'); define('BOX_AFFILIATE_NEWS', 'Affiliate News'); define('BOX_AFFILIATE_NEWSLETTER_MANAGER', 'Affiliate Newsletter'); define('BOX_TITLE_AFFILIATES', 'Affiliates'); define('BOX_ENTRY_AFFILIATES', 'Affiliates:'); define('BOX_ENTRY_CONVERSION', 'Conversion:'); define('BOX_ENTRY_COMMISSION', 'Commission:'); ?> Greets Hobbes Quote Link to comment Share on other sites More sharing options...
rose3694 Posted July 20, 2005 Share Posted July 20, 2005 Ok I just reinstalled and all seems to be working fine now. Something must have seriously got mixed up during my first upload. >_< Now to just figure out how to get the infobox to show on my home page using the infobox editor add on. Thanks for all your help. Quote Link to comment Share on other sites More sharing options...
Hobbes_TheReal Posted July 20, 2005 Share Posted July 20, 2005 No Problem, rose :) have fun. I don?t have infobox add on, im doing all by hand with php ;) Greets Hobbes Quote Link to comment Share on other sites More sharing options...
sirsonic Posted July 21, 2005 Share Posted July 21, 2005 I have successfully loaded Osc Affiliate. Only one issue remains. I use SSL for user areas, and the affiliate module forces the www. before the domain on all links. For example, https://www.domain.com I have my configure.php file set to https://domain.com, but it is not using that setting. Can someone assist me with finding the correct file to change this? Shawn Quote Link to comment Share on other sites More sharing options...
fut Posted July 28, 2005 Share Posted July 28, 2005 Guys, where is the upgrade_eng.txt for non-new installations? Quote Link to comment Share on other sites More sharing options...
fut Posted July 29, 2005 Share Posted July 29, 2005 Anyone know how to edit the faq and other pages? 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.