osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-07-2003, 10:02 AM
Stu Stu is offline
New Member
 
Join Date: Oct 2003
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Stu
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-07-2003, 01:33 PM
Stu Stu is offline
New Member
 
Join Date: Oct 2003
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Stu
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.

Quote:
<!-- 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-10-2003, 07:56 AM
New Member
 
Join Date: Jun 2003
Location: Michigan, USA
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
xeokeri
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-24-2003, 05:24 PM
Anonymous
Guest
 
Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-25-2003, 07:15 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,972
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 04:19 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax