Zen Cart Logo
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]

Views: 88,369

Results 221 to 240 of 365
18 Feb 2009, 9:36 PM
#221
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

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

Wow, this was it!

included/modules/create_account.php
should go into:
included/modules/YOUR_TEMPLATE/create_account.php

21 Apr 2009, 8:20 PM
#222
johns0114 avatar

johns0114

New Zenner

Join Date:
Jun 2007
Location:
Ireland
Posts:
6
Plugin Contributions:
0

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

Just checked back on this post for the first time in months and finally the answer to my problem. Thanks very much Donn and mydanilo :D

24 Apr 2009, 4:34 AM
#223
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

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

My apologies if this has been asked and answered previously in this thread...I looked but my eyes are crossing and I may have easily missed it LOL

I just went into admin to check the "Other" sources and found an error message because someone had used an apostrophe in what they wrote...is there a fix already for this? Or an easy fix if one doesn't exist yet? I deleted the apostrophe in PHPMyAdmin before copying the error message :oops: LOL TIA :)

14 May 2009, 2:55 PM
#224
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

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

Ok, so I've been reading in this thread but I still can't seem to solve the problem of why I'm not getting my customer's response. The referred by field is blank for my customers. Can anybody help me out here?

Ian
https://www.examplecart.com
login: visitor
password: chickenlips

17 Jun 2009, 9:02 PM
#225
bjc999 avatar

bjc999

New Zenner

Join Date:
Mar 2009
Posts:
12
Plugin Contributions:
0

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

Johns0114:

Hi there,
My head is fried from this now. :frusty:
I follow saplanets steps and uploaded. Nothing has changed so I presume it was setup the same way in the first place.

So, none of my data is appearing in the admin. Right now in admin>extras>referral sources I have 33 'other' sources. When I click into it, there is no data it simply says 'Displaying 0 to 0 (of 0 referral sources)'!! Where's my data gone?

Any advice much appreciated.

Thanks a million

Hi, I have the exact same problem, did you sort this out?

I have tried everything, what does it mean by 'comparing' files?

Does anyone have the code for the files that SHOULD be uploaded?

Thanks a million!!!!!!!

15 Jul 2009, 1:37 PM
#226
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

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

I'm having a different problem to everyone else with this mod.

At the bottom of my create account page is...
How did you hear about us:
Fatal error: Call to undefined function zen_get_source_list() in /home/aroma/public_html/includes/templates/template_default/templates/tpl_modules_create_account.php on line 189

And now no one can create an account.

I'm using v1.3.0.1 and it hasn't been upgraded.
Server Host: web001.nz.serveweb.net (120.138.17.201) Database Host: localhost (127.0.0.1)
Server OS: Linux 2.6.18-6-xen-686 Database: MySQL 5.0.81-community
Server Date: 07/16/2009 01:36:10 Database Date: 07/16/2009 01:36:10
Server Up Time: 01:36:10 up 101 days, 23:22, 0 users, load average: 1.42, 1.54, 1.70
PHP Version: 5.2.9 (Zend: 2.2.0)

Everything has been ticking along fine until I decided this mod looked fun. I downloaded the 1.3.x.x version. 37kb.

It's taken me several hours to work out how to access the sql file to read it, however it's the same as the beginning of this post. I've put the create account php file in mytemplates as suggested.

Please help asap
Thanks
Tarn

16 Jul 2009, 12:31 PM
#227
elemi avatar

elemi

Zen Follower

Join Date:
Mar 2006
Location:
Auckland, New Zealand
Posts:
242
Plugin Contributions:
0

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

I got it sorted. I cleared it all out, uploaded the original files (yes, I still have the 1.3.0 file set) and this evening whilst it was all quiet on my website as most sane people are in bed by this time, I uploaded all the files again - except the sql script as I have no idea how to delete one of them - and it worked!!!!

So I'm happy - oh, and I put all the files in the same place the download says to put them.

:-)

22 Jul 2009, 8:46 PM
#228
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

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

I also was having trouble with the refers not showing up. I went back through and found that I had not put modules/customers.php into my templete folder!!! fixed that and IT WORKS!!!!

27 Jul 2009, 8:36 PM
#229
deko avatar

deko

New Zenner

Join Date:
Sep 2004
Posts:
34
Plugin Contributions:
0

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

Well I had no installation problems with this script, smooth as silk. Although I did place more than one file in my overrides directories.

However I seem to have an extra '7' appearing in my count for 'Referral Sources'??
Where it should be '0' it's '70'
Where it should be '1' it's '71'

This is immediately after installation, with no actual results.

I've traced it as far as Line 124 of stats_referral_sources.php

<td class="dataTableContent" align="right"><?php echo $referrals->fields['no_referrals']; ?> </td>

$referrals->fields['no_referrals'] is returning "7(RESULT)"

I've tested this on two different servers, same problem, same lucky number 7.

??

29 Jul 2009, 7:52 PM
#230
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

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

Alright, now I'm confused.........again. Months ago when I was working on my site https://www.redlinestands.com I got this module to work properly and now here I find myself again with the same damn problem as before only with https://www.mowerpartsupply.com/catalog The fields are there on the register page and everything in my admin panel looks right but I'm still getting "none" for my referral sources. Did anyone else have this problem and know what to do? I tried taking all the files that make this module work from Redlinestands.com and transferred them to mowerpartsupply.com/catalog but it still doesn't work. I even tried installing the sql patch again but naturally that just gives me errors telling me that I've already done that. Now I'm lost.........

Ian

3 Aug 2009, 6:39 PM
#231
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

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

Yes I did. What other mods do you have installed? Maybe order editor? Some mods need to be merged.

customers.php might be the one...

25 Aug 2009, 8:24 PM
#232
makenoiz avatar

makenoiz

Zen Follower

Join Date:
Mar 2006
Posts:
284
Plugin Contributions:
0

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

Hello. Report problem. I cant tell how many customers came from sources other than 'other'? Where am I supposed to see how many were referred from Google or MSN or my custom fields? I am not using referral codes, just the drop down.

I must be missing something obvious.

Thank you

25 Aug 2009, 8:55 PM
#233
makenoiz avatar

makenoiz

Zen Follower

Join Date:
Mar 2006
Posts:
284
Plugin Contributions:
0

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

Found the answer post 221 in this thread.... put the create_account.php in override template folder.... that did the trick..

Thanks

9 Oct 2009, 11:12 PM
#234
scamp avatar

scamp

New Zenner

Join Date:
Feb 2008
Location:
NZ
Posts:
60
Plugin Contributions:
0

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

RSprinkel:

Ok I am having difficulty getting the drop down to display the different referral options in Create Account. I am not sure where all the switches are to get this enabled. I am using 1.3.7

I do have the following switches set:

Admin/Config/My Store - Display "Other" Referral option TRUE
Admin/Config/Customer Details - Require Referral TRUE
Admin/Config/Customer Details - Customers Referral Status 2

Thanks Much in Advance.

This solved my problem at least with the test account I just created. The problem I had was the referral source selected at time of creating an account was NOT showing in admin. I made sure I had the above switches to that, did a test account and referral source there!

6 Nov 2009, 3:55 AM
#235
dnolan avatar

dnolan

New Zenner

Join Date:
Mar 2007
Location:
Dexter, MO USA
Posts:
32
Plugin Contributions:
0

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

Where is the download link for this "Referral' mod? I've read the 24 pages here and can't find where to download.

26 Jan 2010, 1:59 AM
#237
honeypot avatar

honeypot

New Zenner

Join Date:
Jan 2007
Posts:
55
Plugin Contributions:
0

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

Hi,
Does anyone know how to get this addon to give a javascript error if someone misses to fill this out while they are trying to create an account? At the moment if you do not fill in the 'how did you hear about us?' and click submit then the page refreshes with an error message. However, if you use javascript then the page does not need to refresh the error message just pops up.

27 Jan 2010, 10:53 PM
#238
honeypot avatar

honeypot

New Zenner

Join Date:
Jan 2007
Posts:
55
Plugin Contributions:
0

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

I manage to do some of the work for the java script error as follows:

**1. First install How did you hear about us add on (if you are unsure about where the download link is for this see 2 posts up)

  1. Then find

** /includes/languages/YOURTEMPLATE/english.php

Search for:
define('ENTRY_REFERENCE_FROM', 'How did you hear about us?');

…right after that line enter the following…

define('ENTRY_REFERENCE_FROM_ERROR', 'You must select a choice from How did you hear about us? pull down menu.');

3. Then find
/includes/modules/pages/create_account/jscript_form_check.php

Search for:

check_select("country", "", "<?php echo ENTRY_COUNTRY_ERROR; ?>");

…right after that line enter the following…

check_select("source", "", "<?php echo ENTRY_REFERENCE_FROM_ERROR; ?>");

That should give a java script error for the dropdown menu itself.

However, I need some help to do a javascript error if someone chooses the "other" option from the how did you hear about us drop down menu but leaves the "other" field underneath blank. Any help would be greatly appreciated.

28 Jan 2010, 8:36 PM
#239
zepher avatar

zepher

New Zenner

Join Date:
Jan 2010
Posts:
28
Plugin Contributions:
0

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

Does this mod add the referral info to the confirmation email when a customer orders?

29 Jan 2010, 3:34 PM
#240
zepher avatar

zepher

New Zenner

Join Date:
Jan 2010
Posts:
28
Plugin Contributions:
0

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

Looks like no need of the sources on the order email, because of the 'referral sources' page. I'm now wondering how to sort the refferals, by month, year, day, etc. Doesn't look like it's built in.. Maybe a feature request or Mod-of-Mod option.. Modification works great, was exactly what I needed. Be nice to do more detailed 'reports' or have more options on the 'referral sources' page. Thanks! :bigups: