I just successfully added this to 3.7.4. I got the same security token error, and when I compared the existing sendtofriend template with the refertofriend posted here I noticed a hidden input variable was missing:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
I added this under line 50 to the refer a friend template.
I also noticed that upon a completed submission the forms returns to the previously viewed page. That's probably fine, has anyone done this with a custom confirmation landing page?
|