osCmax v2.5 User Manual
Results 1 to 5 of 5

Converting Affiliate Infobox to BTS

This is a discussion on Converting Affiliate Infobox to BTS within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Has anyone converted the actual infobox for the Affiliate contribution so that it uses the BTS? *crosses fingers* Thanks! Stu...

      
  1. #1
    Stu
    Stu is offline
    New Member
    Join Date
    Oct 2003
    Posts
    5
    Rep Power
    0


    Default Converting Affiliate Infobox to BTS

    Has anyone converted the actual infobox for the Affiliate contribution so that it uses the BTS? *crosses fingers* Thanks!

    Stu

  2. #2
    Stu
    Stu is offline
    New Member
    Join Date
    Oct 2003
    Posts
    5
    Rep Power
    0


    Default

    Nevermind, found a little time and converted. If you just replace the following section in your catalog/includes/boxes/affiliate.php file, it will use the bts.

    <!-- affiliate_system //-->

    <?php
    $boxHeading = BOX_HEADING_AFFILIATE;
    $corner_left = 'square';
    $corner_right = 'square';


    if (tep_session_is_registered('affiliate_id')) {
    $boxContent = '<a href="' . tep_href_link(FILENAME_AFFILIATE_SUMMARY, '', 'SSL') . '">' . BOX_AFFILIATE_SUMMARY . '</a><br>' .
    '<a href="' . tep_href_link(FILENAME_AFFILIATE_ACCOUNT, '', 'SSL'). '">' . BOX_AFFILIATE_ACCOUNT . '</a><br>' .
    '<a href="' . tep_href_link(FILENAME_AFFILIATE_PAYMENT, '', 'SSL'). '">' . BOX_AFFILIATE_PAYMENT . '</a><br>' .
    '<a href="' . tep_href_link(FILENAME_AFFILIATE_CLICKS, '', 'SSL'). '">' . BOX_AFFILIATE_CLICKRATE . '</a><br>' .
    '<a href="' . tep_href_link(FILENAME_AFFILIATE_SALES, '', 'SSL'). '">' . BOX_AFFILIATE_SALES . '</a><br>' .
    '<a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS). '">' . BOX_AFFILIATE_BANNERS . '</a><br>' .
    '<a href="' . tep_href_link(FILENAME_AFFILIATE_CONTACT). '">' . BOX_AFFILIATE_CONTACT . '</a><br>' .
    '<a href="' . tep_href_link(FILENAME_AFFILIATE_FAQ). '">' . BOX_AFFILIATE_FAQ . '</a><br>' .
    '<a href="' . tep_href_link(FILENAME_AFFILIATE_LOGOUT). '">' . BOX_AFFILIATE_LOGOUT . '</a>' ;
    } else {
    $boxContent = '<a href="' . tep_href_link(FILENAME_AFFILIATE_INFO). '">' . BOX_AFFILIATE_INFO . '</a><br>' .
    '<a href="' . tep_href_link(FILENAME_AFFILIATE, '', 'SSL') . '">' . BOX_AFFILIATE_LOGIN . '</a>';
    }

    require(DIR_WS_TEMPLATES . TEMPLATENAME_BOX);
    ?>
    <!-- affiliate_system_eof //-->
    I will probably lose formatting but you should be able to get the gist of it. Take care.

    Stu

  3. #3
    New Member
    Join Date
    Jun 2003
    Location
    Michigan, USA
    Posts
    10
    Rep Power
    0


    Default

    Thanks, that really helped. Now all my boxes look the same, except the Specials and New Products in the middle column.

    Trying hard to get it all to match. Don't have the cart posted yet, so I can't give a domain to see what I mean.

    - X

  4. #4
    Anonymous
    Guest


    Default

    Will the same thing work on the gift vouceher faq pages?
    I recently installed max 1.5 and the gift voucher faq pages break out of the BTS template.

    Thanks

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    This is now included in v1.5.5 and the Upgrade package in the download section.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Converting a WhoIs Modification
    By benlogan in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 02-09-2006, 11:01 AM
  2. need help converting a template
    By jcomputers in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 01-23-2006, 08:04 PM
  3. Converting CRE Template to OscMax
    By cabana in forum osCmax v2 Customization/Mods
    Replies: 8
    Last Post: 11-09-2005, 06:08 PM
  4. converting article manager to MS2-MAX
    By Anonymous in forum osCMax v1.7 General Mods Discussion
    Replies: 5
    Last Post: 11-25-2004, 01:48 PM
  5. All fields converting to paypal except price
    By pacman in forum osCommerce 2.2 Modification Help
    Replies: 11
    Last Post: 04-02-2004, 08:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •