If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / How Did You Hear About Us? Referrals Mod [Support Thread]

How Did You Hear About Us? Referrals Mod [Support Thread]

Started by martyndw2005 on 14 May 2006, 10:09 PM · Views: 89,101

Results 341 to 360 of 365
21 Jan 2015, 11:07 PM
#341
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

How Did You Hear About Us? Referrals Mod [Support Thread]

More info to add to my post (#341): On the create account page, there is a dropdown menu, plus a text box for "(if "Other" please specify)". But those are all apparently being lumped together in the report in the admin as "Other", with no info about what the customer typed in there.

When a new account is created, no matter what the customer selects for how they heard, it is not showing up in the Reports. The numbers there have not changed since January 15th - even though many new accounts have been created, including many test ones.

I have checked to make sure all the HDYHAU 1.150 files were uploaded.

9 Feb 2015, 8:25 PM
#342
cypherlock avatar

cypherlock

New Zenner

Join Date:
Nov 2013
Posts:
1
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

I am having an issue with this mod with ZC ver 1.5.1 - Everything works unless someone enters an apostrophe in the "other" box. I have not tried this other characters so this may not be the only one. Is there a fix for this?

11 Jun 2015, 6:38 PM
#343
cyberfolli avatar

cyberfolli

New Zenner

Join Date:
Sep 2010
Posts:
64
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Other Not Displaying in the admin? there are numbers with other but when i click on it it doesn't display they are in the database

15 Jun 2023, 4:36 PM
#344
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Does this work ok on a basic 1.5.8a?

16 Jun 2023, 2:13 PM
#345
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Tried downloading the latest version, says a virus threat on windows.

17 Jun 2023, 1:05 AM
#346
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

spawnie69:

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.

10 Mar 2025, 4:00 PM
#347
lat9 avatar

lat9

Administrator

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

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

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.

12 Mar 2025, 3:41 PM
#348
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
416
Plugin Contributions:
6

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

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 ```
Please select how you first heard about us.

I got 2 logs, one warning and a deprecated, which is just consequence of the first one. Here is the warning log:

[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.

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

12 Mar 2025, 4:07 PM
#349
lat9 avatar

lat9

Administrator

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

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

pilou2:

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 ```
Please select how you first heard about us.

> I got 2 logs, one warning and a deprecated, which is just consequence of the first one. Here is the warning log:
> 
> ```
[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.

12 Mar 2025, 4:44 PM
#350
lat9 avatar

lat9

Administrator

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

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

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

Correcting integration with built-in responsive_classic template.

12 Mar 2025, 5:38 PM
#351
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
416
Plugin Contributions:
6

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Great, thanks!

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

18 Mar 2025, 10:11 AM
#352
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

I have a 500 error installing How Did You Hear About Us.

Zen Cart 2.0.1
PHP 8.3.17

Logs for example installs fine in the plugin manager.

Any suggestions?

No changes are made when trying to install, just dies in a 500 error. No log

Thanks in advance,
Melanie

18 Mar 2025, 11:16 AM
#353
lat9 avatar

lat9

Administrator

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

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

mprough:

I have a 500 error installing How Did You Hear About Us.

Zen Cart 2.0.1
PHP 8.3.17

Logs for example installs fine in the plugin manager.

Any suggestions?

No changes are made when trying to install, just dies in a 500 error. No log

Thanks in advance,
Melanie
The plugin's readme clearly states that Zen Cart 2.1.0 or later is required.

18 Mar 2025, 11:19 AM
#354
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

How Did You Hear About Us - Version: v2.0.0?

18 Mar 2025, 12:39 PM
#355
lat9 avatar

lat9

Administrator

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

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

mprough:

How Did You Hear About Us - Version: v2.0.0?
That's the plugin's version, which has no bearing on the version(s) of Zen Cart required. The encapsulated version of the plugin requires zc210 and later.

7 May 2025, 7:03 PM
#356
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,456
Plugin Contributions:
4

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

lat9:

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.

IDEASLady
IDEAS Creative Studio

Your image... our business!

8 May 2025, 12:46 PM
#357
lat9 avatar

lat9

Administrator

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

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

ideasgirl:

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)

        $this->executeInstallerSql(
            [B]"INSERT IGNORE INTO configuration[/B]
                (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

        $this->executeInstallerSql(
            [B]"INSERT IGNORE INTO " . TABLE_CONFIGURATION . "[/B]
                 (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())"
        );
8 May 2025, 6:11 PM
#358
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,456
Plugin Contributions:
4

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

lat9:

Darn it, I know better!

Yes, you do :hug: That's why it was weird to me, the error.

Thanks! That made the trick!

IDEASLady
IDEAS Creative Studio

Your image... our business!

9 May 2025, 6:25 PM
#359
lat9 avatar

lat9

Administrator

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

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

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).

28 Jan 2026, 3:29 PM
#360
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

After my install how-did-you-hear-about-us-2.0.2 installation for some reason I don't have "Reports :: Referral Sources" link is not appearing after a clean install on zc 2.1.0
I tried reinstalling files same results.
on php 8.3.28

thank you