Forums / All Other Contributions/Addons / Snap Affiliates v2.0 for v1.5.0 and later

Snap Affiliates v2.0 for v1.5.0 and later

Views: 68,401

Results 161 to 180 of 464
13 Nov 2013, 12:46 AM
#161
hrdhat avatar

hrdhat

New Zenner

Join Date:
Nov 2008
Posts:
2
Plugin Contributions:
0

Snap Affiliates v2.0 for v1.5.0 and later

Hello. I cant see a link in the information side box to the referrer signup page? Can someone give me that link? Thanks.

13 Nov 2013, 12:47 PM
#162
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

hrdhat:

Hello. I cant see a link in the information side box to the referrer signup page? Can someone give me that link? Thanks.
Do you have your admin's Configuration->Affiliate Program->Include in Information Sidebox set to true?

18 Nov 2013, 6:11 AM
#163
motherlode avatar

motherlode

New Zenner

Join Date:
Nov 2013
Location:
Victoria, BC Canada
Posts:
9
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

I'm finding that after uploading the files, as per instructions and changing all the Your_Template folder names to my "template_default", then logging into initiate the db update, it still won't show up in my information sidebox where it's suppose to. I've done pretty much everything, checked everything several times, so now I'm at a loss as what I can do next to get the script running.

18 Nov 2013, 6:14 AM
#164
motherlode avatar

motherlode

New Zenner

Join Date:
Nov 2013
Location:
Victoria, BC Canada
Posts:
9
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

I have the same problem, and I have my config set to "true", but it doesn't show.

18 Nov 2013, 12:55 PM
#165
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

motherlode:

I have the same problem, and I have my config set to "true", but it doesn't show.
For the affiliates link to show in the information sidebox:

  1. The "Show Affiliates Link in Sidebox" needs to be set 'true'
  2. The "Information" sidebox needs to be enabled
  3. The file /includes/modules/sideboxes/YOUR_TEMPLATE/informtion.php needs to be present
    Since you say that 1 and 2 are true, I'm guessing that you missed the folder-rename for the sidebox module.
2 Dec 2013, 6:41 AM
#166
motherlode avatar

motherlode

New Zenner

Join Date:
Nov 2013
Location:
Victoria, BC Canada
Posts:
9
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

Nope, did it all and still won't appear.

2 Dec 2013, 2:41 PM
#167
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

@motherlode: Would you post a link to your website?

8 Dec 2013, 12:09 PM
#169
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

@motherlode: Replace the file /includes/modules/sideboxes/classic/information.php with the following:

<?php
/** Get Paid mod
 * information sidebox - displays list of general info links, as defined in this file
 *
 * @package templateSystem
 * @copyright Copyright 2003-2013 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version GIT: $Id: Author: DrByte  Sun Feb 17 23:22:33 2013 -0500 Modified in v1.5.2 $
 */

  unset($information);
?>
<!-- Start information links -->
<?php
  if (SNAP_INFORMATION_SIDEBOX === 'true') {
    $information[] = '<a href="' . zen_href_link(FILENAME_REFERRER_SIGNUP, '', 'SSL'). '">' . BOX_INFORMATION_REFERRER_TERMS . '</a>';
  }
  if (DEFINE_SHIPPINGINFO_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';
  }
  if (DEFINE_PRIVACY_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a>';
  }
  if (DEFINE_CONDITIONS_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';
  }
  if (DEFINE_CONTACT_US_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>';
  }

// Forum (phpBB) link:
  if ( (isset($phpBB->phpBB['db_installed_config']) && $phpBB->phpBB['db_installed_config']) && (isset($phpBB->phpBB['files_installed']) && $phpBB->phpBB['files_installed'])  && (PHPBB_LINKS_ENABLED=='true')) {
    $information[] = '<a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>';
// or: $phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX
// or: str_replace(str_replace(DIR_WS_CATALOG, '', DIR_FS_CATALOG), '', DIR_WS_PHPBB)
  }

  if (DEFINE_SITE_MAP_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a>';
  }

  // only show GV FAQ when installed
  if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') {
    $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';
  }
  // only show Discount Coupon FAQ when installed
  if (DEFINE_DISCOUNT_COUPON_STATUS <= 1 && MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') {
    $information[] = '<a href="' . zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' . BOX_INFORMATION_DISCOUNT_COUPONS . '</a>';
  }

  if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') {
    $information[] = '<a href="' . zen_href_link(FILENAME_UNSUBSCRIBE) . '">' . BOX_INFORMATION_UNSUBSCRIBE . '</a>';
  }

  require($template->get_template_dir('tpl_information.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_information.php');

  $title =  BOX_HEADING_INFORMATION;
  $title_link = false;

  require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);

I added the bit in red just to make sure that the sidebox code is being run.

Note: I don't want to nag, but your use of the classic folder as your "override" folder might cause you problems when you upgrade.

15 Dec 2013, 7:55 AM
#170
brianwi avatar

brianwi

New Zenner

Join Date:
Jun 2011
Posts:
35
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

I have the Stock by Attributes module on my store. Anyone know if this mod plays nice with that?

15 Dec 2013, 11:35 AM
#171
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Snap Affiliates v2.0 for v1.5.0 and later

BrianWI:

I have the Stock by Attributes module on my store. Anyone know if this mod plays nice with that?

Which version of SBA are you using?

15 Dec 2013, 8:38 PM
#172
brianwi avatar

brianwi

New Zenner

Join Date:
Jun 2011
Posts:
35
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

picandnix:

Which version of SBA are you using?

I think it is 1.5.1.1

I know orders files are overwritten by both mods, but if the changes were done manually... just wondering.

16 Dec 2013, 12:09 AM
#173
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Snap Affiliates v2.0 for v1.5.0 and later

BrianWI:

I think it is 1.5.1.1

I know orders files are overwritten by both mods, but if the changes were done manually... just wondering.

Play safe, can you please post a link to the SBA mod that you are using.
NB you should always manually compare file merges rather than blindly over right files.

17 Jan 2014, 1:32 AM
#174
motherlode avatar

motherlode

New Zenner

Join Date:
Nov 2013
Location:
Victoria, BC Canada
Posts:
9
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

Sorry, been away for a bit. Now ready to tackle this.

I checked my directory, and there is no "information.php" in this path..... rather it's ---- /includes/modules/sideboxes/classic/empty.txt

17 Jan 2014, 11:23 AM
#175
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Snap Affiliates v2.0 for v1.5.0 and later

motherlode:

Sorry, been away for a bit. Now ready to tackle this.

I checked my directory, and there is no "information.php" in this path..... rather it's ---- /includes/modules/sideboxes/classic/empty.txt

To bring us up to speed can you re-post your original question please?

17 Jan 2014, 12:26 PM
#176
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

picandnix:

To bring us up to speed can you re-post your original question please?
Echoing what picandnix said, but to answer your last question ... "I checked my directory, and there is no "information.php" in this path..... rather it's ---- /includes/modules/sideboxes/classic/empty.txt" ...

That implies that

  1. You're still using the classic template. You should create your own template directory if you make changes; see this FAQ (http://www.zen-cart.com/content.php?180-how-do-i-create-a-new-custom-template) for details or install one of the very nice free ones available in the Plugins. Doing this will save you *major *grief the next time you upgrade your Zen Cart software!
  2. You haven't yet made changes the the information sidebox file. Once you have your custom template, you would copy the plugin's file /includes/templates/YOUR_TEMPLATE/sideboxes/information.php to /includes/templates/CUSTOM/sideboxes/information.php.
23 Jan 2014, 3:11 PM
#177
ifss avatar

ifss

New Zenner

Join Date:
Oct 2013
Location:
Australia
Posts:
13
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

Apologies it's 2am and my head is splitting open ... Does the customer (referrer) have to have a website?
We have a few artists on our dev team and they don't have websites, but if they are promoting our products it would be good for them to have some compensation within an affiliate program. :)
Promoting on facebook pages, forums, places where they frequent, even our video artists have YouTube.

Cheers :)

23 Jan 2014, 3:30 PM
#178
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Snap Affiliates v2.0 for v1.5.0 and later

You could have the people who are promoting your store via facebook or youtube to simply enter facebook.com or youtube.com as their website. The website name is gathered solely for your record-keeping.

26 Jan 2014, 2:01 PM
#179
ifss avatar

ifss

New Zenner

Join Date:
Oct 2013
Location:
Australia
Posts:
13
Plugin Contributions:
0

Re: Snap Affiliates v2.0 for v1.5.0 and later

Awesome, after school goes back for us I'll get the other half to install it :) Need a day to ourselves rather than chase the monster.

Thank you.

26 Jan 2014, 2:33 PM
#180
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Snap Affiliates v2.0 for v1.5.0 and later

ifss:

Awesome, after school goes back for us I'll get the other half to install it :) Need a day to ourselves rather than chase the monster.

Thank you.

Hope you enjoyed Australia Day, hic :cheers: