View Single Post
  #3  
Old 05-10-2003, 04:15 PM
  kpriest's Avatar 
kpriest kpriest is offline
 

eXpert
  
Join Date: Apr 2003
Location: Seattle, WA
Posts: 263
 

Default

This line was added in 3.3.5 in the original register.php file (v 1.60.2.4) for anti-hacking. If you use the mod from this post, also put in this snippet at line 53:
Code:
if ($current_area != "A" && $current_area!=$usertype && $mode!="checkout") { echo "Hacking attempt!!!!"; exit; }

...also, because it looks like your version of the register.tpl file has the language variables stripped out, I just added this to my version (just above where they commented out the Social Security fields around line 87):
Code:
{* Added How Heard Here *} <tr valign=middle> <td align=right>{$lng.lbl_how_heard}</td> <td></td> <td nowrap> <input type=text name=hear size=32 maxlength=255 value="{$userinfo.hear}"> </td> </tr> {*----------------------*}
...and then added the $lng.lbl_how_heard variable to the languages.
__________________
-Ken
X-Cart User / Developer Since April 2003
(Varying versions, multiple client sites, 3.x through 4.4.x)
www.pointbweb.com
Reply With Quote