Re: Can't get "referrals " mod working
I also cannot get the modification working properly. I am having the orders.php problem (I even went back and tried deleted the second calling of the class at line 253, but that didn't help), but I am also having difficulty because the actual contribution won't show up on my create account page. I know it's supposed to go beneath the newsletter portion, but no table, drop down box or input fields show up. However, the code knows that it's there because if you press submit, it won't allow you to create an account, saying that you must select how you were referred. I've gone through and checked all of my overrides...is there something in the admin section that I need to turn on? I'm at a loss.
Thanks in advance!
Re: Can't get "referrals " mod working
sorry about the second part of that post; my override structure was out of whack. Just a newbie mistake. Thanks.
I'll keep up to date on the orders.php file solution when you get around to it, ryk. Thanks for the mod update, stellarweb!
Re: Can't get "referrals " mod working
Cam,
Glad you figured it out! Your site looks GREAT!!!
Re: Can't get "referrals " mod working
hi i am getting the same error as another poster from a while back. when i install the sql patch i get this return:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true', 'false'), ', now())' at line 1
in:
[INSERT 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', '1', '22', 'zen_cfg_select_option(array('true', 'false'), ', now());]
then i dont get the configuration options in my admin>configuration>mystore and customer details.
Re: Can't get "referrals " mod working
How do I remove the other option?? Or make it so people have to type in where they found me?
Re: Can't get "referrals " mod working
okay i got the database working if anyone out there needs it here is what i did
in the last two insert lines of the sql file there is a piece at the end of both lines that goes
'zen_cfg_select_option(array(\'true\', \'false\'), ', now());
it should read
'zen_cfg_select_option(\'true\', \'false\')', now());
WARNING:
this seems to have worked for me. however, i dont know squat about sql and am not sure why the array was a problem. i cant guarantee in anyway this fix.
but it worked. sometimes i get lucky.
MM
ps if anyone could explain this, both what i did and why it worked... or why it is a bad idea i would love to hear it. and learn something.
thanks!
Re: Can't get "referrals " mod working
To ryk and anyone that had the orders.php problem with the referrals mod:
I simply downloaded a fresh install of zen cart and uploaded the new 1.3.7 orders.php file to my admin/ directory. That stopped the error on line 195, and I'm still getting who referred in my customer list. In comparing the modified file and the new file, I can't see where referrals code from 1.3.6 would come into 1.3.7. But I'm no php wonder, either. It did work for me, and the mod's working fine.
Judy, any thoughts on this? I know you were the one who compared the files and compiled the 1.3.7 mod. And thanks for the compliment by the way. I really appreciate it.
To the general publilc: goodthingsglobal.com will be going truly live in the next couple days, and I'll post in the review corner for anyone who wants to rip me a new one. Please don't be afraid to hurt feelings either. I need all the help I can get.
Thanks again everyone!
Re: Can't get "referrals " mod working
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.
Re: Can't get "referrals " mod working
question for you all - what happens if they make an error logging in? as it only seems to appear in the create account - not any error checking or login or edit details aftwards?
Admittedly I am using an old 1.2.6 version - but just compared to 1.3.7 version and the files location are identical meaning that no other files have been altered
Re: Can't get "referrals " mod working
Quote:
Originally Posted by
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.
Ok I found my problem now. But I do have one question. I am also using the Captcha Mod with this mod and it seems it modifies the same files (mainly tpl_create_account.php) and one overwrites the other. I also tried to copy/paste the code needed for the Referrals under the Captcha info in the tpl_create_account.php and got errors.
Anyway of figuring this out as I would like to have both of these on this page?
Thanks much in Advance.
RSprinkel