public function __construct() {
 	parent::__construct();
 	$this->initColumns();
     $this->setName(Gpf_Lang::_runtime("Affiliates"));
     $this->setDescription(Gpf_Lang::_runtime("AffiliatesImportExportDescription"));
     $this->paramsArray['papUserIds'] = array();
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'on_subaffiliate_signup.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Affiliate - New Subaffiliate signup');
     $this->subject = Gpf_Lang::_runtime('New subaffiliate signed up');
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'merchant_new_user_signup.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Merchant - New User Signup');
     $this->subject = Gpf_Lang::_runtime('New user signed up');
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'new_user_signup_declined.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Affiliate - New User Signup Declined');
     $this->subject = Gpf_Lang::_runtime('You have been declined in affiliate program');
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'merchant_on_sale.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Merchant - New Sale / Lead');
     $this->subject = Gpf_Lang::_runtime('New sale / lead');
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'new_user_signup_approved.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Affiliate - New User Signup Approved');
     $this->subject = '{$firstname}' . Gpf_Lang::_runtime(', welcome to our affiliate program');
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'merchant_on_commission_approved.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Merchant - Commission approved');
     $this->subject = Gpf_Lang::_runtime('Commission approved');
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'affiliate_on_change_commission_status.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Affiliate - On change  Sale / Lead status');
     $this->subject = Gpf_Lang::_runtime('Change sale / lead status');
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'autoregisteringaffiliates_affiliate_on_first_sale.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Auto Registering Affiliates - Affiliate - First Sale / Lead');
     $this->subject = Gpf_Lang::_runtime('Welcome to our affiliate program - First Sale / Lead');
 }
 protected function initFields() {
     $this->addField('parentuserid', Gpf_Lang::_runtime('Parent affiliate'), 'T', 'O', 0);
     $this->addField('refid', Gpf_Lang::_runtime('Referral ID'), 'T', 'M', 0);
     $this->addField('notificationemail', Gpf_Lang::_runtime('Notification email'), 'E', 'D', 0);
     
     $this->addField('data1', Gpf_Lang::_runtime('Web Url'), 'T', 'M', 0);
     $this->addField('data2', Gpf_Lang::_runtime('Company name'), 'T', 'M', 0);
     $this->addField('data3', Gpf_Lang::_runtime('Street'), 'T', 'M', 0);
     $this->addField('data4', Gpf_Lang::_runtime('City'), 'T', 'M', 0);
     $this->addField('data5', Gpf_Lang::_runtime('State'), 'T', 'M', 0);
     $this->addField('data6', Gpf_Lang::_runtime('Country'), 'C', 'M', 0);
     $this->addField('data7', Gpf_Lang::_runtime('Zipcode'), 'T', 'O', 0);
     $this->addField('data8', Gpf_Lang::_runtime('Phone'), 'T', 'O', 0);
     $this->addField('data9', Gpf_Lang::_runtime('Fax'), 'T', 'O', 0);
     $this->addField('data10', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data11', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data12', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data13', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data14', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data15', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data16', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data17', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data18', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data19', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data20', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data21', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data22', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data23', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data24', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data25', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'affiliate_direct_link_notification.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Affiliate - DirectLink Notification');
     $this->subject = Gpf_Lang::_runtime('DirectLink notification');
 }
 protected function initFields() {
     $this->addField('data1', Gpf_Lang::_runtime('ICQ'), 'T', 'O', 0);
     $this->addField('data2', Gpf_Lang::_runtime('MSN Messenger'), 'T', 'O', 0);
     $this->addField('data3', Gpf_Lang::_runtime('Skype'), 'T', 'O', 0);
     $this->addField('data4', Gpf_Lang::_runtime('Yahoo Messenger'), 'T', 'O', 0);
     $this->addField('data5', Gpf_Lang::_runtime('Google talk'), 'T', 'O', 0);
     $this->addField('data6', Gpf_Lang::_runtime('Contact email'), 'T', 'O', 0);
     $this->addField('data7', Gpf_Lang::_runtime('Phone'), 'T', 'O', 0);
     $this->addField('data8', Gpf_Lang::_runtime('Fax'), 'T', 'O', 0);
     $this->addField('data9', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data10', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data11', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data12', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data13', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data14', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data15', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data16', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data17', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data18', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data19', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data20', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data21', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data22', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data23', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data24', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
     $this->addField('data25', Gpf_Lang::_runtime('Unused'), 'T', 'D', 0);
 }
예제 #13
0
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'pay_day_reminder.stpl';
     $this->templateName = Gpf_Lang::_runtime('Merchant - Pay day reminder');
     $this->subject = Gpf_Lang::_runtime('Pay day reminder');
     $this->payAffiliatesList = new Pap_Mail_PayDayReminder_PayAffiliatesList();
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'merchant_contact_us.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Merchant - Affiliate filled Contact us form');
     $this->subject = Gpf_Lang::_runtime('Affiliate filled Contact us form');
 }
예제 #15
0
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'on_payout.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Affiliate - On payout');
     $this->subject = Gpf_Lang::_runtime('Your commissions');
 }
 /**
  * @param $directLink can be null only in update step and create account task
  */
 public function __construct(Pap_Db_DirectLinkUrl $directLink = null) {
     parent::__construct();
     $this->mailTemplateFile = 'merchant_new_direct_link_notification.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Merchant - New DirectLink Notification');
     $this->subject = Gpf_Lang::_runtime('New DirectLink notification');
     $this->directLink = $directLink;
 }
 public function __construct($url = null, Gpf_Db_AuthUser $user = null)
 {
     parent::__construct();
     $this->mailTemplateFile = 'email_request_new_password.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Request new password');
     $this->subject = $this->templateName;
 }
 public function __construct($saleId = null) {
     parent::__construct();
     $this->mailTemplateFile = 'splitcommissions_merchant_on_sale.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Split Commission Merchant - New Sale / Lead');
     $this->subject = Gpf_Lang::_runtime('New sale summary mail');
     $this->saleId = $saleId;
 }
 public function __construct()
 {
     parent::__construct();
     $this->mailTemplateFile = 'email_account_test_mail.stpl';
     $this->isHtmlMail = true;
     $this->templateName = Gpf_Lang::_runtime('Email account test mail');
     $this->subject = $this->templateName;
 }
예제 #20
0
    private function addDefaultGadgets() {
        $this->addGadget('C', Gpf_Lang::_runtime('Quick start actions'), 'content://QuickStartActionsGadget',
            Gpf_Db_Table_Gadgets::POSITION_TYPE_SIDEBAR, 63, 1000, 333, 59);

        $this->addGadget('C', Gpf_Lang::_runtime('Pending tasks'), 'content://PendingTasksGadget',
            Gpf_Db_Table_Gadgets::POSITION_TYPE_SIDEBAR, 122, 1000, 333, 170);
            
        $this->addGadget('C', Gpf_Lang::_runtime('Traffic stats'), 'content://trafficStatsGadget',
            Gpf_Db_Table_Gadgets::POSITION_TYPE_SIDEBAR, 292, 1000, 333, 160);

        $this->addGadget('C', Gpf_Lang::_runtime('Search'), 'content://SearchGadget',
            Gpf_Db_Table_Gadgets::POSITION_TYPE_SIDEBAR, 452, 1000, 100, 88);
                
        $this->addGadget('C', Gpf_Lang::_runtime('Online users'), 'content://OnlineUsersGadget',
            Gpf_Db_Table_Gadgets::POSITION_TYPE_SIDEBAR, 540, 1000, 333, 124);
    }
예제 #21
0
 private function addDefaultGadgets()
 {
     $this->addGadget('C', Gpf_Lang::_runtime('Payout'), 'content://PayoutGadget', Gpf_Db_Table_Gadgets::POSITION_TYPE_SIDEBAR, 63, 1000, 333, 92);
 }
    private function createDefaultPayoutOptions() {
        $option = $this->createPayoutOption('8444af30','E',1,'PayPal');
        $option->setExportFileName('paypal_masspay.txt');
        $option->setExportRowTemplate('{$pp_email}\t{$amount}\t{$currency}\n');
        $option->insert();
        $this->addPayoutField('payout_option_8444af30','pp_email',Gpf_Lang::_runtime('PayPal Email'),'T','M');

        $this->addPayoutOption('8667d045','E',2,Gpf_Lang::_runtime('Check_payout_type'));
        $this->addPayoutField('payout_option_8667d045','payableto',Gpf_Lang::_runtime('Payable to'),'T','M');

        $this->addPayoutOption('5b868cd3','E',3,Gpf_Lang::_runtime('Moneybookers'));
        $this->addPayoutField('payout_option_5b868cd3','mb_email',Gpf_Lang::_runtime('Moneybookers Email'),'T','M');

        $this->addPayoutOption('dcc2ffa7','E',4,Gpf_Lang::_runtime('Bank / Wire transfer'));
        $this->addPayoutField('payout_option_dcc2ffa7','accnt_name',Gpf_Lang::_runtime('Bank account name'),'T','M');
        $this->addPayoutField('payout_option_dcc2ffa7','accnt_number',Gpf_Lang::_runtime('Bank account number'),'T','M');
        $this->addPayoutField('payout_option_dcc2ffa7','bank_name',Gpf_Lang::_runtime('Bank name'),'T','M');
        $this->addPayoutField('payout_option_dcc2ffa7','bank_code',Gpf_Lang::_runtime('Bank code'),'T','M');
        $this->addPayoutField('payout_option_dcc2ffa7','bank_address',Gpf_Lang::_runtime('Bank address'),'T','M');
        $this->addPayoutField('payout_option_dcc2ffa7','swift',Gpf_Lang::_runtime('Bank SWIFT code'),'T','M');

        Gpf_Settings::set(Pap_Settings::DEFAULT_PAYOUT_METHOD, '8444af30');
    }
예제 #23
0
 protected function defineDbSettings()
 {
     $this->addDbSetting(self::BRANDING_TEXT, Pap_Branding::DEFAULT_BRANDING_TEXT);
     $this->addDbSetting(self::DEFAULT_MERCHANT_PANEL_THEME, Pap_Branding::DEFAULT_MERCHANT_PANEL_THEME);
     $this->addDbSetting(self::DEFAULT_AFFILIATE_PANEL_THEME, Pap_Branding::DEFAULT_AFFILIATE_PANEL_THEME);
     $this->addDbSetting(self::DEFAULT_AFFILIATE_SIGNUP_THEME, Pap_Branding::DEFAULT_SIGNUP_THEME);
     $this->addDbSetting(self::PROGRAM_NAME, Gpf_Lang::_runtime('Affiliate program'));
     $this->addDbSetting(self::PROGRAM_LOGO);
     $this->addDbSetting(self::WELCOME_MESSAGE, Gpf_Lang::_runtime('Welcome to affiliate program'));
     $this->addDbSetting(self::GETTING_STARTED_CHECKS, '');
     $this->addDbSetting(self::GETTING_STARTED_SHOW, GPF::YES);
     $this->addDbSetting(self::MAIN_SITE_URL, '');
     $this->addDbSetting(self::DEFAULT_PAYOUT_METHOD, '');
     //TODO: extract 'M' to const
     $this->addDbSetting(self::AFFILIATE_APPROVAL, 'M');
     $this->addDbSetting(self::AFFILIATE_LOGOUT_URL, '../index.php');
     $this->addDbSetting(self::AFFILIATE_AFTER_LOGIN_SCREEN, 'Home');
     $this->addDbSetting(self::AFFILIATE_AFTER_LOGIN_SCREEN_MAXIMIZE, Gpf::NO);
     $this->addDbSetting(self::TIERS_VISIBLE_TO_AFFILIATE, -1);
     $this->addDbSetting(self::AFFILIATE_CANNOT_CHANGE_HIS_USERNAME, Gpf::NO);
     $this->addDbSetting(self::AFFILIATE_MENU, self::EMPTY_MENU);
     $this->addDbSetting(self::SUPPORT_DIRECT_LINKING, Gpf::YES);
     $this->addDbSetting(self::SUPPORT_SHORT_ANCHOR_LINKING, Gpf::NO);
     $this->addDbSetting(self::GPF_VERSION, '');
     $this->addDbSetting(self::PAP_VERSION, '');
     $this->addDbSetting(self::MULTIPLE_CURRENCIES, Gpf::NO);
     $this->addDbSetting(self::SIGNUP_TERMS_SETTING_NAME, '');
     $this->addDbSetting(self::POST_SIGNUP_TYPE_SETTING_NAME, 'page');
     $this->addDbSetting(self::POST_SIGNUP_URL_SETTING_NAME, '');
     $this->addDbSetting(self::FORCE_TERMS_ACCEPTANCE_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::INCLUDE_PAYOUT_OPTIONS, Gpf::NO);
     $this->addDbSetting(self::PAYOUT_OPTIONS, 'A');
     $this->addDbSetting(self::FORCE_PAYOUT_OPTION, Gpf::NO);
     $this->addDbSetting(self::ASSIGN_NON_REFERRED_AFFILIATE_TO, '');
     $this->addDbSetting(self::FLASH_BANNER_FORMAT_SETTING_NAME, self::FLASH_BANNER_DEFAULT_FORMAT);
     $this->addDbSetting(self::IMAGE_BANNER_FORMAT_SETTING_NAME, self::IMAGE_BANNER_DEFAULT_FORMAT);
     $this->addDbSetting(self::TEXT_BANNER_FORMAT_SETTING_NAME, self::TEXT_BANNER_DEFAULT_FORMAT);
     $this->addDbSetting(self::GENERATE_INVOICES, Gpf::NO);
     $this->addDbSetting(self::SEND_GENERATED_INVOICES_TO_MERCHANT, Gpf::NO, true);
     $this->addDbSetting(self::SEND_GENERATED_INVOICES_TO_AFFILIATE, Gpf::NO);
     $this->addDbSetting(self::SEND_PAYMENT_TO_AFFILIATE, Gpf::NO);
     $this->addDbSetting(self::PAYOUT_INVOICE);
     $this->addDbSetting(self::INVOICE_BCC_RECIPIENT, '', true);
     $this->addDbSetting(self::NOTIFICATION_ON_SALE, Gpf::NO, true);
     $this->addDbSetting(self::NOTIFICATION_ON_SALE_STATUS, 'A,P,D', true);
     $this->addDbSetting(self::AFF_NOTOFICATION_BEFORE_APPROVAL, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTOFICATION_SIGNUP_APPROVED_DECLINED, Gpf::YES);
     $this->addDbSetting(self::NOTIFICATION_NEW_DIRECT_LINK, Gpf::NO, true);
     $this->addDbSetting(self::NOTIFICATION_PAY_DAY_REMINDER, Gpf::NO, true);
     $this->addDbSetting(self::NOTIFICATION_PAY_DAY_REMINDER_DAY_OF_MONTH, '15', true);
     $this->addDbSetting(self::NOTIFICATION_PAY_DAY_REMINDER_RECURRENCE_MONTH, '1', true);
     $this->addDbSetting(self::NOTIFICATION_DAILY_REPORT, Gpf::NO, true);
     $this->addDbSetting(self::NOTIFICATION_WEEKLY_REPORT, Gpf::NO, true);
     $this->addDbSetting(self::NOTIFICATION_WEEKLY_REPORT_START_DAY, '0', true);
     $this->addDbSetting(self::NOTIFICATION_WEEKLY_REPORT_SENT_ON, '0', true);
     $this->addDbSetting(self::NOTIFICATION_MONTHLY_REPORT, Gpf::NO, true);
     $this->addDbSetting(self::NOTIFICATION_MONTHLY_REPORT_SENT_ON, '1', true);
     $this->addDbSetting(self::AFF_NOTIFICATION_DAILY_REPORT_ENABLED, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_WEEKLY_REPORT_ENABLED, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_MONTHLY_REPORT_ENABLED, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_DAILY_REPORT_DEFAULT, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_WEEKLY_REPORT_DEFAULT, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_MONTHLY_REPORT_DEFAULT, Gpf::NO);
     $this->addDbSetting(self::REPORTS_MAX_TRANSACTIONS_COUNT, 1000);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_NEW_SALE_ENABLED_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_NEW_SALE_DEFAULT_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_NEW_SALE_STATUS, 'A,P,D');
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_SUBAFF_SALE_ENABLED_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_SUBAFF_SALE_DEFAULT_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_CHANGE_COMMISSION_STATUS_OPTION_STATUS, 'A,P,D');
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_CHANGE_COMMISSION_STATUS_DEFAULT_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_CHANGE_COMMISSION_STATUS_ENABLED_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_DIRECT_LINK_ENABLED, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_DIRECT_LINK_DEFAULT, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_SUBAFF_SIGNUP_DEFAULT_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_SUBAFF_SIGNUP_ENABLED_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::NOTIFICATION_NEW_USER_SETTING_NAME, Gpf::NO, true);
     $this->addDbSetting(self::MERCHANT_NOTIFICATION_EMAIL, '', true);
     $this->addDbSetting(self::NOTIFICATION_ON_JOIN_TO_CAMPAIGN, Gpf::NO, true);
     $this->addDbSetting(self::NOTIFICATION_ON_COMMISSION_APPROVED, Gpf::NO, true);
     $this->addDbSetting(self::AFF_NOTIFICATION_ON_CHANGE_STATUS_FOR_CAMPAIGN, Gpf::NO);
     $this->addDbSetting(self::AFF_NOTIFICATION_CAMPAIGN_INVITATION, Gpf::YES);
     $this->addDbSetting(self::AFF_SEND_EMAILS_PER_MINUTE_SETTING_NAME, 30);
     $this->addDbSetting(self::MAIL_TO_FRIEND_ALLOW_TO_USE_SYSTEM_EMAIL, Gpf::YES);
     $this->addDbSetting(self::RECAPTCHA_ENABLED, Gpf::NO);
     $this->addDbSetting(self::RECAPTCHA_THEME, 'white');
     $this->addDbSetting(self::RECAPTCHA_PRIVATE_KEY, '');
     $this->addDbSetting(self::RECAPTCHA_PUBLIC_KEY, '');
     $this->addDbSetting(self::RECAPTCHA_ACCOUNT_ENABLED, Gpf::NO);
     $this->addDbSetting(self::RECAPTCHA_ACCOUNT_THEME, 'white');
     $this->addDbSetting(self::ACCOUNT_DEFAULT_CAMPAIGN_PRIVATE, Gpf::NO);
     $this->addDbSetting(self::SAVE_UNREFERED_SALE_LEAD_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::TRACK_BY_IP_SETTING_NAME, Gpf::YES);
     $this->addDbSetting(self::IP_VALIDITY_SETTING_NAME, 2);
     $this->addDbSetting(self::IP_VALIDITY_FORMAT_SETTING_NAME, 'D');
     $this->addDbSetting(self::DEFAULT_AFFILIATE_SETTING_NAME, '');
     $this->addDbSetting(self::FORCE_CHOOSING_PRODUCTID_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::PAYOUTS_PAYOUT_OPTIONS_SETTING_NAME, self::DEFAULT_PAYOUT_OPTIONS);
     $this->addDbSetting(self::PAYOUTS_MINIMUM_PAYOUT_SETTING_NAME, self::DEFAULT_MINIMUM_PAYOUT);
     $this->addDbSetting(self::MOD_REWRITE_PREFIX_SETTING_NAME, self::DEFAULT_PREFIX);
     $this->addDbSetting(self::MOD_REWRITE_SEPARATOR_SETTING_NAME, self::DEFAULT_SEPARATOR);
     $this->addDbSetting(self::MOD_REWRITE_SUFIX_SETTING_NAME, self::DEFAULT_SUFFIX);
     $this->addDbSetting(self::REPEATING_CLICKS_ACTION_SETTING_NAME, self::DEFAULT_REPEATING_CLICKS_ACTION);
     $this->addDbSetting(self::REPEATING_CLICKS_SECONDS_SETTING_NAME, self::DEFAULT_REPEATING_CLICKS_SECONDS);
     $this->addDbSetting(self::REPEATING_BANNER_CLICKS, Gpf::NO);
     $this->addDbSetting(self::REPEATING_CLICKS_SETTING_NAME, self::DEFAULT_REPEATING_CLICKS);
     $this->addDbSetting(self::REPEATING_SIGNUPS_ACTION_SETTING_NAME, self::DEFAULT_REPEATING_SIGNUPS_ACTION);
     $this->addDbSetting(self::REPEATING_SIGNUPS_SECONDS_SETTING_NAME, self::DEFAULT_REPEATING_SIGNUPS_SECONDS);
     $this->addDbSetting(self::REPEATING_SIGNUPS_SETTING_NAME, self::DEFAULT_REPEATING_SIGNUPS);
     $this->addDbSetting(self::DUPLICATE_ORDERS_IP_MESSAGE_SETTING_NAME, self::DEFAULT_DUPLICATE_ORDERS_IP_MESSAGE);
     $this->addDbSetting(self::DUPLICATE_ORDER_ID_HOURS_SETTING_NAME, self::DEFAULT_DUPLICATE_ORDERS_ID_HOURS);
     $this->addDbSetting(self::DUPLICATE_ORDERS_IP_ACTION_SETTING_NAME, self::DEFAULT_DUPLICATE_ORDERS_IP_ACTION);
     $this->addDbSetting(self::DUPLICATE_ORDERS_ID_MESSAGE_SETTING_NAME, self::DEFAULT_DUPLICATE_ORDERS_ID_MESSAGE);
     $this->addDbSetting(self::DUPLICATE_ORDERS_IP_SECONDS_SETTING_NAME, self::DEFAULT_DUPLICATE_ORDERS_IP_SECONDS);
     $this->addDbSetting(self::DUPLICATE_ORDERS_ID_ACTION_SETTING_NAME, self::DEFAULT_DUPLICATE_ORDERS_ID_ACTION);
     $this->addDbSetting(self::DUPLICATE_ORDERS_ID_SETTING_NAME, self::DEFAULT_DUPLICATE_ORDERS_ID);
     $this->addDbSetting(self::APPLY_TO_EMPTY_ID_SETTING_NAME, self::DEFAULT_APPLY_TO_EMPTY_ORDERS_ID);
     $this->addDbSetting(self::DUPLICATE_ORDERS_IP_SETTING_NAME, self::DEFAULT_DUPLICATE_ORDERS_IP);
     $this->addDbSetting(self::DUPLICATE_ORDERS_IP_SAMECAMPAIGN_SETTING_NAME, self::DEFAULT_DUPLICATE_ORDERS_IP_SAMECAMPAIGN);
     $this->addDbSetting(self::DUPLICATE_ORDERS_IP_SAMEORDERID_SETTING_NAME, self::DEFAULT_DUPLICATE_ORDERS_IP_SAMEORDERID);
     $this->addDbSetting(self::SETTING_LINKING_METHOD, 'P');
     $this->addDbSetting(self::AUTO_DELETE_RAWCLICKS, '0');
     $this->addDbSetting(self::AUTO_DELETE_EXPIRED_VISITORS, Gpf::NO);
     $this->addDbSetting(self::ALLOW_COMPUTE_NEGATIVE_COMMISSION, Gpf::NO);
     $this->addDbSetting(self::SUPPORT_VAT_SETTING_NAME, Gpf::NO);
     $this->addDbSetting(self::VAT_PERCENTAGE_SETTING_NAME, '0');
     $this->addDbSetting(self::VAT_COMPUTATION_SETTING_NAME, 'D');
     $this->addDbSetting(self::PAYOUT_INVOICE_WITH_VAT_SETTING_NAME);
     $this->addDbSetting(self::SIGNUP_BONUS, 0);
     $this->addDbSetting(self::MATRIX_WIDTH, self::MATRIX_WIDTH_DEFAULT_VALUE);
     $this->addDbSetting(self::MATRIX_HEIGHT, self::MATRIX_HEIGHT_DEFAULT_VALUE);
     $this->addDbSetting(self::FULL_FORCED_MATRIX, Gpf::NO);
     $this->addDbSetting(self::MATRIX_SPILLOVER, 'S');
     $this->addDbSetting(self::MATRIX_AFFILIATE, '');
     $this->addDbSetting(self::DEFAULT_MERCHANT_ID, self::DEFAULT_MERCHANT_ID_VALUE);
     $this->addDbSetting(self::MATRIX_EXPAND_WIDTH, self::MATRIX_EXPAND_WIDTH_DEFAULT_VALUE);
     $this->addDbSetting(self::MATRIX_EXPAND_HEIGHT, self::MATRIX_EXPAND_HEIGHT_DEFAULT_VALUE);
     $this->addDbSetting(self::MATRIX_FILL_BONUS, self::MATRIX_FILL_BONUS_DEFAULT_VALUE);
     $this->addDbSetting(self::MATRIX_OTHER_FILL_BONUS, self::MATRIX_OTHER_FILL_BONUS_DEFAULT_VALUE);
     $this->addDbSetting(self::NOT_SET_PARENT_AFFILIATE, Gpf::NO);
     $this->addDbSetting(self::BRANDING_KNOWLEDGEBASE_LINK, Pap_Branding::DEFAULT_BRANDING_KNOWLEDGEBASE_LINK);
     $this->addDbSetting(self::BRANDING_POST_AFFILIATE_PRO_HELP_LINK, Pap_Branding::DEFAULT_BRANDING_POST_AFFILIATE_PRO_HELP_LINK);
     $this->addDbSetting(self::BRANDING_QUALITYUNIT_POSTAFFILIATEPRO_LINK, Pap_Branding::DEFAULT_BRANDING_QUALITYUNIT_POSTAFFILIATEPRO_LINK);
     $this->addDbSetting(self::BRANDING_QUALITYUNIT_CHANGELOG_LINK, Pap_Branding::DEFAULT_BRANDING_QUALITYUNIT_CHANGELOG_LINK);
     $this->addDbSetting(self::BRANDING_QUALITYUNIT_PAP, Pap_Branding::DEFAULT_BRANDING_QUALITYUNIT_PAP);
     $this->addDbSetting(self::BRANDING_TEXT_POST_AFFILIATE_PRO, Pap_Branding::DEFAULT_BRANDING_TEXT_POST_AFFILIATE_PRO);
     $this->addDbSetting(self::BRANDING_TUTORIAL_VIDEOS_BASE_LINK, Pap_Branding::DEFAULT_BRANDING_TUTORIAL_VIDEOS_BASE_LINK);
     $this->addDbSetting(self::BRANDING_TUTORIAL_VIDEOS_ENABLED, Gpf::YES);
     $this->addDbSetting(self::GEOIP_CLICKS, Gpf::NO);
     $this->addDbSetting(self::GEOIP_SALES, Gpf::NO);
     $this->addDbSetting(self::GEOIP_AFFILIATES, Gpf::NO);
     $this->addDbSetting(self::GEOIP_CLICKS_BLACKLIST, '');
     $this->addDbSetting(self::GEOIP_SALES_BLACKLIST, '');
     $this->addDbSetting(self::GEOIP_AFFILIATES_BLACKLIST, '');
     $this->addDbSetting(self::GEOIP_CLICKS_BLACKLIST_ACTION, 'D');
     $this->addDbSetting(self::GEOIP_SALES_BLACKLIST_ACTION, 'D');
     $this->addDbSetting(self::GEOIP_AFFILIATES_BLACKLIST_ACTION, 'D');
     $this->addDbSetting(self::GEOIP_IMPRESSIONS_DISABLED, Gpf::NO);
     $this->addDbSetting(self::BANNEDIPS_CLICKS, Gpf::NO);
     $this->addDbSetting(self::BANNEDIPS_SALES, Gpf::NO);
     $this->addDbSetting(self::BANNEDIPS_SIGNUPS, Gpf::NO);
     $this->addDbSetting(self::BANNEDIPS_CLICKS_ACTION, 'D');
     $this->addDbSetting(self::BANNEDIPS_SALES_ACTION, 'D');
     $this->addDbSetting(self::BANNEDIPS_SIGNUPS_ACTION, 'D');
     $this->addDbSetting(self::BANNEDIPS_LIST_CLICKS, '');
     $this->addDbSetting(self::BANNEDIPS_LIST_SALES, '');
     $this->addDbSetting(self::BANNEDIPS_LIST_SIGNUPS, '');
     $this->addDbSetting(self::BANNEDIPS_SALES_MESSAGE, '');
     $this->addDbSetting(self::LAST_BILLING_DATE, '');
     parent::defineDbSettings();
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'on_merchant_decline_affiliate_to_campaign.stpl';
     $this->templateName = Gpf_Lang::_runtime('Affiliate - Affiliate declined in campaign');
     $this->subject = Gpf_Lang::_runtime('You have been declined in campaign');
 }
예제 #25
0
 private function setupMailOutboxFilters() {
     $filter = $this->addFilter(Gpf_Lang::_runtime('Pending Mails'),'mail_outbox','mo_pend');
     $this->addFilterCondition($filter, 'status','default','status','IN','p');
     $this->addFilterCondition($filter, 'scheduled_at','dateRange','scheduled_at','DP','A');
 }
	protected function initTemplate() {
		$this->mailTemplateFile = 'aff_monthly_report.stpl';		
		$this->templateName = Gpf_Lang::_runtime('Affiliate - Monthly report');		
	}
 protected function init() {
 	$this->mailTemplateFile = 'merchant_invoice.stpl';
 	$this->templateName = Gpf_Lang::_runtime('Merchant - Invoice');
 }
 public function __construct() {
     parent::__construct();
     $this->mailTemplateFile = 'invite_to_campaign.stpl';
     $this->templateName = Gpf_Lang::_runtime('Affiliate - Invite affiliate to campaign');
     $this->subject = Gpf_Lang::_runtime('You are invited to campaign');
 }
예제 #29
0
	protected function initTemplate() {
		$this->mailTemplateFile = 'monthly_report.stpl';
		$this->templateName = Gpf_Lang::_runtime('Merchant - Monthly report');
	}
 public function __construct() {
 	parent::__construct();
     $this->setName(Gpf_Lang::_runtime('Banners'));
     $this->setDescription(Gpf_Lang::_runtime("BannersImportExportDescription"));
 }