Page 7 of 23 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 223
  1. #61
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: snap-affiliates?

    Quote Originally Posted by helpme View Post
    Ok, figured everything else out, but where do I put the path for the banners? I have uploaded them to the templetes/mytemplete/images/referrers folder and changed the sizes to reflect the correct size in the tools file, but they are coming up blank because I don't have the code in. Every way I put the code in it breaks that page.
    Can someone post an example and placement please?
    Thanks, I am already loving this mod!!
    Ok this was a bit difficult and I don't know why I nor the gentlemen who originally wrote this left it off.

    To get the Marketing Tools to give you the code for the banners:

    1) Edit your template directory's : /templates/tpl_referrers_tools.php file. Scroll down and look for the following code:

    PHP Code:
     /* uncomment when images are developed and in-place
    print_referrer_image(468, 60);
    print_referrer_image(234, 60);
    print_referrer_image(80, 15);
    print_referrer_image(88, 31);
    print_referrer_image(120, 90);
    print_referrer_image(120, 60);
    print_referrer_image(120, 240);
    print_referrer_image(125, 125);
     */ 
    2) Cut the portion of code that represents the size of the image you want to make. Then past it DIRECTLY ABOVE the line:

    PHP Code:
    /* uncomment when images are developed and in-place 
    So if you wanted a 468x60 image you file should look like:

    PHP Code:
    print_referrer_image(46860);
     
    /* uncomment when images are developed and in-place
    print_referrer_image(468, 60);
    print_referrer_image(234, 60);
    print_referrer_image(80, 15);
    print_referrer_image(88, 31);
    print_referrer_image(120, 90);
    print_referrer_image(120, 60);
    print_referrer_image(120, 240);
    print_referrer_image(125, 125);
    */ 
    The name of image file should be /images/referrers/ref.xxx.yyy.jpg where xxx is the length of the image and yyy is the height of it. So for a 468x60 image you should upload a image named: ref.468.60.jpg to your images/referrers directory.

    I know that maybe people want to make other images for the same size. (Example: 2 468x60's) CURRENTLY, this isn't possible BUT it is on the list of stuff for the next version. I'll post a code patch up here shortly.

    The only thing that is stopping me from posting the new update is that I realize not everyone has the wide site layout like I have. (Some people still use the default narrow "template_default" and that just complicates writing the instructions.

    There was also an idea of me charging a small fee for me to "visit" your server and make the changes myself but that isn't exactly ideal. The new version will be ready soon once I get these kinks out of the way. Any suggestions would be welcomed.

  2. #62
    Join Date
    Sep 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: snap-affiliates

    Quote Originally Posted by thelawman View Post

    2- The files includes/languages/english/referrer_main.php
    includes/languages/english/referrer_main.php
    includes/languages/english/referrer_main.php needed to be in my overides folder to get rid of the NAVBAR_TITLE issue.

    You seem to be making some sense of it. I'm still struggling with getting the affiliate script to work. What exactly is the "overrides" folder that you're mentioning?

    When I go to mystore/index.php?main_page=referrer_signup
    I get the header "Home :: Affiliate Signup " and a blank page. Why is that?

    Any help to get this working would be much appreciated!
    Thanks.

  3. #63
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: snap-affiliates

    Quote Originally Posted by giveitago View Post
    You seem to be making some sense of it. I'm still struggling with getting the affiliate script to work. What exactly is the "overrides" folder that you're mentioning?

    When I go to mystore/index.php?main_page=referrer_signup
    I get the header "Home :: Affiliate Signup " and a blank page. Why is that?

    Any help to get this working would be much appreciated!
    Thanks.
    You need to copy the contents of the folder includes/modules/pages as well. Were these copied?

  4. #64
    Join Date
    Sep 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: snap-affiliates

    Quote Originally Posted by retched View Post
    You need to copy the contents of the folder includes/modules/pages as well. Were these copied?
    Thank you for your reply. Yes, the whole package was copied. I still don't understand what is the overrides folder that he's talking about.

    However, I understood why nothing displays under the referrer_signup. It was actually pretty simple :) the file is empty... well, apart from a couple of lines displaying title and header.

    Now I'm puzzled big time. If I want the referrer_signup to display anything, it actually has to have some content... so, what do I put there?
    Last edited by giveitago; 28 Sep 2010 at 09:19 PM.

  5. #65
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: snap-affiliates

    Quote Originally Posted by giveitago View Post
    Thank you for your reply. Yes, the whole package was copied. I still don't understand what is the overrides folder that he's talking about.

    However, I understood why nothing displays under the referrer_signup. It was actually pretty simple :) the file is empty... well, apart from a couple of lines displaying title and header.

    Now I'm puzzled big time. If I want the referrer_signup to display anything, it actually has to have some content... so, what do I put there?
    That's not right. You should see the referrer terms on that page... even if you're not signed in.

  6. #66
    Join Date
    Aug 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    I tested snap affliates with Zencart 1.3.9f, everything work but:

    1. Not working on multi currency. I set my default currency other than USD, but the commission currency symbol still $(USD). When I changed the currency into USD, the amount not changed as well as the symbol.

    2. On Pending order status, the commission has been set and displayed on affiliate tools.

    Thanks

  7. #67
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: snap-affiliates?

    Quote Originally Posted by yosemirza View Post
    I tested snap affliates with Zencart 1.3.9f, everything work but:

    1. Not working on multi currency. I set my default currency other than USD, but the commission currency symbol still $(USD). When I changed the currency into USD, the amount not changed as well as the symbol.

    2. On Pending order status, the commission has been set and displayed on affiliate tools.

    Thanks
    1) The USD$ is hard coded into the language files. I haven't had a chance to set up for Multi-Currency yet.

    2) The order status isn't checked, yet, as well... I haven't been able to get a good system going with this.

  8. #68
    Join Date
    Aug 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Thanks for reply

    1) The USD$ is hard coded into the language files. I haven't had a chance to set up for Multi-Currency yet.
    Which language file do I need to edit to change ($) USD symbol into other currency?
    Thanks

  9. #69
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: snap-affiliates?

    Quote Originally Posted by yosemirza View Post
    Thanks for reply



    Which language file do I need to edit to change ($) USD symbol into other currency?
    Thanks
    I'm sorry I made a wrong statement. It's hardcoded on the files of snap affiliate itself.

    Edit the following in tpl_referrer_main_default.php found in your templates directory:

    Around 80-86:

    PHP Code:
              <td><strong>Current sales</strong></td>
              <td> $<?php echo number_format($unpaid_total2); ?></td>
            </tr>
            <tr>
              <td><strong>Unpaid commission</strong></td>
              <td><strong>$<?php echo number_format($unpaid_commission2); ?></strong></td>
            </tr>
            <tr>
              <td><strong>Year to date sales</strong></td>
              <td> $<?php echo number_format($yearly_total2); ?></td>
            </tr>
            <tr>
              <td><strong>Year to date commission</strong></td>
              <td><strong>$<?php echo number_format($yearly_commission2); ?></strong></td>
            </tr>
          </table>
    Edit the $ that appears before the <?php echo statement to your currency.

    Then further down in the same file:

    Look for:

    PHP Code:
      printf("<td>$%s</td>\n"number_format($entry['amount'], 2)); 
    and

    PHP Code:
      printf("<td>$%s</td>\n"number_format($entry['commission'] * $entry['amount'], 2)); 
    And change the $ in each $%s to the currency of your choosing. For example, to switch to the Yen, change $%s to ¥%s.

    And then finally:

    Change the $'s before the <?php statements in each of the below:
    PHP Code:
    <tr>
     <td style='border-top: 1px dashed grey;'>
      <strong>Totals</strong>
     </td>
     <td style='border-top: 1px dashed grey;'>
       <strong>$<?php echo number_format($activity_total,2); ?></strong>
     </td>
     <td style='border-top: 1px dashed grey;'>
     </td>
     <td style='border-top: 1px dashed grey;'>
      <strong>$<?php echo number_format($activity_commission2); ?></strong>
     </td
     <td style='border-top: 1px dashed grey;'>
     </td>
    </tr>
    </table>
    If you need assistance, send a PM and I'll act on this for you.

    Whatever you do... DO NOT DO A GLOBAL FIND/REPLACE to change the $ or else you may break the coding.

  10. #70
    Join Date
    Apr 2007
    Posts
    649
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Quote Originally Posted by retched View Post
    Ok this was a bit difficult and I don't know why I nor the gentlemen who originally wrote this left it off.

    To get the Marketing Tools to give you the code for the banners:

    1) Edit your template directory's : /templates/tpl_referrers_tools.php file. Scroll down and look for the following code:

    PHP Code:
     /* uncomment when images are developed and in-place
    print_referrer_image(468, 60);
    print_referrer_image(234, 60);
    print_referrer_image(80, 15);
    print_referrer_image(88, 31);
    print_referrer_image(120, 90);
    print_referrer_image(120, 60);
    print_referrer_image(120, 240);
    print_referrer_image(125, 125);
     */ 
    2) Cut the portion of code that represents the size of the image you want to make. Then past it DIRECTLY ABOVE the line:

    PHP Code:
    /* uncomment when images are developed and in-place 
    So if you wanted a 468x60 image you file should look like:

    PHP Code:
    print_referrer_image(46860);
     
    /* uncomment when images are developed and in-place
    print_referrer_image(468, 60);
    print_referrer_image(234, 60);
    print_referrer_image(80, 15);
    print_referrer_image(88, 31);
    print_referrer_image(120, 90);
    print_referrer_image(120, 60);
    print_referrer_image(120, 240);
    print_referrer_image(125, 125);
    */ 
    The name of image file should be /images/referrers/ref.xxx.yyy.jpg where xxx is the length of the image and yyy is the height of it. So for a 468x60 image you should upload a image named: ref.468.60.jpg to your images/referrers directory.

    I know that maybe people want to make other images for the same size. (Example: 2 468x60's) CURRENTLY, this isn't possible BUT it is on the list of stuff for the next version. I'll post a code patch up here shortly.

    The only thing that is stopping me from posting the new update is that I realize not everyone has the wide site layout like I have. (Some people still use the default narrow "template_default" and that just complicates writing the instructions.

    There was also an idea of me charging a small fee for me to "visit" your server and make the changes myself but that isn't exactly ideal. The new version will be ready soon once I get these kinks out of the way. Any suggestions would be welcomed.
    Ok, I understand I think but when I pull up the page the image is still just an x. I have it named ref.468.60.jpg and placed it in the www/images/referrers folder any other help? thanks!!

 

 
Page 7 of 23 FirstFirst ... 5678917 ... LastLast

Similar Threads

  1. v151 Snap Affiliates v2.0 for v1.5.0 and later
    By lat9 in forum All Other Contributions/Addons
    Replies: 459
    Last Post: 21 Feb 2023, 05:13 PM
  2. v151 snap affiliates bitcoins
    By unckle fester in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 6 Jun 2014, 07:44 AM
  3. Snap Affiliates Module?
    By asauterChicago in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 12 Apr 2013, 09:45 AM
  4. snap affiliates not emailing
    By mindcraft in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Apr 2012, 11:19 PM
  5. oh Snap!! Broke it again.
    By Serious in forum Basic Configuration
    Replies: 4
    Last Post: 20 Feb 2011, 05:42 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR