Page 1 of 2 12 LastLast
Results 1 to 10 of 365

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    528
    Plugin Contributions
    0

    Default Re: Referrals don't show in Customers record.

    Quote Originally Posted by spawnie69 View Post
    Tried downloading the latest version, says a virus threat on windows.
    All god now! ranger_lp just placed a clean version. Hopefully it will work with 1.58a. Will try to report later.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Referrals don't show in Customers record.

    v2.0.0 of How Did You Hear About Us is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=90

    This version supports zc210+ and PHP 8.0+; released as an encapsulated plugin.

  3. #3
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    333
    Plugin Contributions
    7

    Default Re: Referrals don't show in Customers record.

    Did you actually tried this plugin?
    After a smooth installation I got no extra field on login/create account page. If I try to create an account, this message appears
    Code:
    Please select how you first heard about us.
    and I can't go further.
    I got 2 logs, one warning and a deprecated, which is just consequence of the first one. Here is the warning log:

    Code:
    [13-Mar-2025 00:26:20 Asia/Tokyo] Request URI: /index.php?main_page=create_account
    #0 ..\zc_plugins\HowDidYouHear\v2.0.0\catalog\includes\classes\observers\auto.referrers.php(33): zen_debug_error_handler()
    #1 ..\includes\classes\traits\NotifierManager.php(107): zcObserverReferrers->notify_create_account_validation_check()
    #2 ..\includes\modules\create_account.php(263): base->notify()
    #3 ..\includes\modules\pages\create_account\header_php.php(16): include('...')
    #4 ..\index.php(35): require('...')
    --> PHP Warning: Undefined array key "source" in ..\zc_plugins\HowDidYouHear\v2.0.0\catalog\includes\classes\observers\auto.referrers.php on line 33.
    
    [13-Mar-2025 00:26:20 Asia/Tokyo] Request URI: /index.php?main_page=create_account
    #0 ..\zc_plugins\HowDidYouHear\v2.0.0\catalog\includes\classes\observers\auto.referrers.php(38): zen_debug_error_handler()
    #1 ..\includes\classes\traits\NotifierManager.php(107): zcObserverReferrers->notify_create_account_validation_check()
    #2 ..\includes\modules\create_account.php(263): base->notify()
    #3 ..\includes\modules\pages\create_account\header_php.php(16): include('...')
    #4 ..\index.php(35): require('...')
    --> PHP Warning: Undefined array key "source" in ..\zc_plugins\HowDidYouHear\v2.0.0\catalog\includes\classes\observers\auto.referrers.php on line 38.
    Latest Github ZC version
    PHP v8.3.17
    Plugin setting as default, both set to true.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Referrals don't show in Customers record.

    Quote Originally Posted by pilou2 View Post
    Did you actually tried this plugin?
    After a smooth installation I got no extra field on login/create account page. If I try to create an account, this message appears
    Code:
    Please select how you first heard about us.
    and I can't go further.
    I got 2 logs, one warning and a deprecated, which is just consequence of the first one. Here is the warning log:

    Code:
    [13-Mar-2025 00:26:20 Asia/Tokyo] Request URI: /index.php?main_page=create_account
    #0 ..\zc_plugins\HowDidYouHear\v2.0.0\catalog\includes\classes\observers\auto.referrers.php(33): zen_debug_error_handler()
    #1 ..\includes\classes\traits\NotifierManager.php(107): zcObserverReferrers->notify_create_account_validation_check()
    #2 ..\includes\modules\create_account.php(263): base->notify()
    #3 ..\includes\modules\pages\create_account\header_php.php(16): include('...')
    #4 ..\index.php(35): require('...')
    --> PHP Warning: Undefined array key "source" in ..\zc_plugins\HowDidYouHear\v2.0.0\catalog\includes\classes\observers\auto.referrers.php on line 33.
    
    [13-Mar-2025 00:26:20 Asia/Tokyo] Request URI: /index.php?main_page=create_account
    #0 ..\zc_plugins\HowDidYouHear\v2.0.0\catalog\includes\classes\observers\auto.referrers.php(38): zen_debug_error_handler()
    #1 ..\includes\classes\traits\NotifierManager.php(107): zcObserverReferrers->notify_create_account_validation_check()
    #2 ..\includes\modules\create_account.php(263): base->notify()
    #3 ..\includes\modules\pages\create_account\header_php.php(16): include('...')
    #4 ..\index.php(35): require('...')
    --> PHP Warning: Undefined array key "source" in ..\zc_plugins\HowDidYouHear\v2.0.0\catalog\includes\classes\observers\auto.referrers.php on line 38.
    Latest Github ZC version
    PHP v8.3.17
    Plugin setting as default, both set to true.
    Sigh. I did my validation with the Bootstrap template. I see that the builtin responsive_classic is not working.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Referrals don't show in Customers record.

    v2.0.1 of the plugin is now available for download.

    Correcting integration with built-in responsive_classic template.

  6. #6
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    333
    Plugin Contributions
    7

    Default Re: Referrals don't show in Customers record.

    Great, thanks!

  7. #7
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,550
    Plugin Contributions
    9

    Default Re: Referrals don't show in Customers record.

    Quote Originally Posted by lat9 View Post
    v2.0.0 of How Did You Hear About Us is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=90

    This version supports zc210+ and PHP 8.0+; released as an encapsulated plugin.
    So happy to see this one converted to a plug-in. I'm having the following error while upgrading to latest ZC version:
    Table '***_databasename.configuration' doesn't exist

    Even though I've already installed 6 other plugins without issues.

    PS: I do use prefix for the database.
    Last edited by ideasgirl; 7 May 2025 at 08:05 PM. Reason: PS
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Referrals don't show in Customers record.

    Quote Originally Posted by ideasgirl View Post
    So happy to see this one converted to a plug-in. I'm having the following error while upgrading to latest ZC version:
    Table '***_databasename.configuration' doesn't exist

    Even though I've already installed 6 other plugins without issues.

    PS: I do use prefix for the database.
    Darn it, I know better!

    Find the file /Installer/ScriptedInstaller.php in the distribution.

    Change line 60 (highlighted below)
    Code:
            $this->executeInstallerSql(
                "INSERT IGNORE INTO configuration
                    (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added)
                 VALUES
                    ('Display \"Other\" Referral option?', 'DISPLAY_REFERRAL_OTHER', 'true', 'Display \"Other - please specify\" with text box in referral source in account creation', 5, 10, 'zen_cfg_select_option([\'true\', \'false\'], ', now()),
    
                    ('Require Referral Source?', 'REFERRAL_REQUIRED', 'true', 'Require the Referral Source in account creation', 5, 11, 'zen_cfg_select_option([\'true\', \'false\'], ', now())"
            );
    to
    Code:
            $this->executeInstallerSql(
                "INSERT IGNORE INTO " . TABLE_CONFIGURATION . "
                     (configuration_title, configuration_key, configuration_value,  configuration_description, configuration_group_id, sort_order,  set_function, date_added)
                 VALUES
                     ('Display \"Other\" Referral option?', 'DISPLAY_REFERRAL_OTHER', 'true',  'Display \"Other - please specify\" with text box in referral source in  account creation', 5, 10, 'zen_cfg_select_option([\'true\', \'false\'],  ', now()),
    
                    ('Require Referral Source?',  'REFERRAL_REQUIRED', 'true', 'Require the Referral Source in account  creation', 5, 11, 'zen_cfg_select_option([\'true\', \'false\'], ',  now())"
            );

  9. #9
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,550
    Plugin Contributions
    9

    Default Re: Referrals don't show in Customers record.

    Quote Originally Posted by lat9 View Post
    Darn it, I know better!
    Yes, you do That's why it was weird to me, the error.

    Thanks! That made the trick!
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Referrals don't show in Customers record.

    v2.0.2 of the encapsulated version of this plugin is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=90

    This version corrects issue #3 (installation fails for sites using a non-blank DB_PREFIX).

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How Did You Hear About Us? mod
    By yeah! in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 28 Dec 2011, 06:28 PM
  2. Database Errors - Duplicate Entries - How Did You Hear About Us Mod
    By limelites in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 7 Sep 2010, 08:59 PM
  3. How Did You Hear About Us Mod...2 Instances Possible??
    By jdw1979 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 26 Mar 2010, 02:14 PM
  4. How Did You Hear Did You About Us -- I want to install it correctly
    By johnd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Feb 2008, 03:21 AM
  5. Error in admin - PayPal - when using How Did You Hear About us mod
    By TrvlFox in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 23 Nov 2007, 03:23 PM

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