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.
Views: 68,401
New Zenner
Hello. I cant see a link in the information side box to the referrer signup page? Can someone give me that link? Thanks.
Administrator
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?
New Zenner
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.
New Zenner
I have the same problem, and I have my config set to "true", but it doesn't show.
Administrator
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:
New Zenner
Nope, did it all and still won't appear.
Administrator
@motherlode: Would you post a link to your website?
New Zenner
Administrator
@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.
New Zenner
I have the Stock by Attributes module on my store. Anyone know if this mod plays nice with that?
Totally Zenned
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?
New Zenner
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.
Totally Zenned
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.
New Zenner
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
Totally Zenned
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?
Administrator
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
New Zenner
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 :)
Administrator
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.
New Zenner
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.
Totally Zenned
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:
Tell staff why this post should be reviewed.