Results 1 to 10 of 10

Affiliate links

This is a discussion on Affiliate links within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi I just installed osCMax v2.0 RC2 and sat up the affiliate program. I added a test banner for affiliates, ...

      
  1. #1
    New Member
    Join Date
    Oct 2002
    Posts
    5
    Rep Power
    0


    Default Affiliate links

    Hi
    I just installed osCMax v2.0 RC2 and sat up the affiliate program. I added a test banner for affiliates, but when you go to get links, the box below the banner is blank.

    Would anyone know what might be causing this, since it worked in the earlier versions including RC1
    Thank you
    Robert

  2. #2
    New Member
    Join Date
    Oct 2002
    Posts
    5
    Rep Power
    0


    Default RE: Affiliate links

    Hi
    Can somebody please help. I have a few affiliates now, but due to no links showing up in their accounts, they can't promote the store.
    Thank You
    Robert

  3. #3
    Member Cisco's Avatar
    Join Date
    Feb 2003
    Posts
    89
    Rep Power
    0


    Default Affiliate links

    In catalog/templates/main_page.tpl.php

    Look for the following code: line 191
    Where it says '468x50' this is the name of the "group name" when you upload a banner or affliate banner. You can name it this or use the name group that you used when you uploaded a banner.


    echo FOOTER_TEXT_BODY
    ?>

    <p> </p></td>
    </tr>
    </table>
    <?php
    if ($banner = tep_banner_exists('dynamic', '468x50')) {

  4. #4
    New Member
    Join Date
    Oct 2002
    Posts
    5
    Rep Power
    0


    Default

    Hi Cisco,

    The problem is the banners do show up for affiliates in the affiliate page.
    The code they are suppose to use for promoting is what is blank.
    So if you log in as an affiliate and either pick to promote the whole store or a product, you will see the banner to use, but the box below the banner where the code is located to use for promoting is completely blank.
    I went and removed the install and reinstalled everything, to see if I might of forgotten a file. After the second install, i still have the same problem.

  5. #5
    Member Cisco's Avatar
    Join Date
    Feb 2003
    Posts
    89
    Rep Power
    0


    Default Affiliate Links

    Can you post a link to your issue?

  6. #6
    New Member
    Join Date
    Oct 2002
    Posts
    5
    Rep Power
    0


    Default RE: Affiliate Links

    Hi Cisco,

    Sorry took so long to get back to you. I went and installed it again. lol
    You can go to http://www.profoundscripts.com
    sign up as an affiliate and when you click on banners there is one there for the main site. there is not products otherwise yet, since I have to reupload them. In the box below the banner where the code is for the affilate to copy and paste, is completely empty. this also happened when I created banners for each product I had in the store.

  7. #7
    Lurker
    Join Date
    Oct 2005
    Posts
    1
    Rep Power
    0


    Default RE: Affiliate Links

    In templates\fallback\content\affiliate_banners.tpl.p hp
    look for the following code: echo tep_draw_textarea_field('affiliate_banner', 'soft', '60', '6', $link);
    and put: $link = htmlspecialchars($link, ENT_QUOTES); before it.

  8. #8
    New Member
    Join Date
    Oct 2002
    Posts
    5
    Rep Power
    0


    Default RE: Affiliate Links

    Hi Alex_crisnic,

    Thanks for the help. found that code 2 places in the script. Did as you said and now everything is working.

  9. #9
    Member
    Join Date
    Jul 2005
    Posts
    91
    Rep Power
    0


    Default Thanks! and Clarification

    Thanks for the tip!

    That additional code goes inside the php tag, and if you template is other than /fallback, and/or if the template you are using happens to have a file by that name, you need to edit that file.

    Thanks,
    Ken

  10. #10
    Member
    Join Date
    Aug 2005
    Posts
    40
    Rep Power
    0


    Default

    Hi all,

    My templates\fallback\content\affiliate_banners.tpl.p hp now looks like this:-

    $link = htmlspecialchars($link, ENT_QUOTES); echo tep_draw_textarea_field('affiliate_banner', 'soft', '60', '6', $link);

    Nothing happens... still have banners and still DON'T have any linking codes? any help please?

Similar Threads

  1. Affiliate 2.02 affiliate tracking url
    By cewncew in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-16-2005, 07:54 AM
  2. affiliate set up
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-31-2004, 02:53 AM
  3. Problems w/Affiliate Mod
    By pcgonier in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 10-22-2003, 05:57 PM
  4. OSC-Affiliate
    By thetraveller in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 10-13-2003, 12:42 PM
  5. BTS for osc affiliate
    By Dumb_Question in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 09-11-2003, 08:14 AM

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
  •