[ZendTo] Patch for recaptcha and tne new_dropoff.js problem (for the beta)

Santiago Garcia Mantinan manty at manty.net
Fri Sep 11 11:27:19 BST 2020


Hi!

> You could change it to "{$zendToURL}index" or "${zendToURL}index.php" instead.

Or even to "${zendToURL}.", as browsers won't display the . you get
what you wanted.

The problem is that the zendToURL still appears around...

I know that I had to change NSSDropoff.php for the download urls to be
without it, I had done these changes:
-      $smarty->assign('downloadURL',
$NSSDROPBOX_URL.'download?claimID=' . $this->_claimID .
'&claimPasscode=' . $this->_claimPasscode .
($emailAddr?('&emailAddr='.urlencode($emailAddr)):''));
+      $smarty->assign('downloadURL', 'download?claimID=' .
$this->_claimID . '&claimPasscode=' . $this->_claimPasscode .
($emailAddr?('&emailAddr='.urlencode($emailAddr)):''));
     else
-      $smarty->assign('downloadURL',
$NSSDROPBOX_URL.'download.php?claimID=' . $this->_claimID .
'&claimPasscode=' . $this->_claimPasscode .
($emailAddr?('&emailAddr='.urlencode($emailAddr)):''));
+      $smarty->assign('downloadURL', 'download.php?claimID=' .
$this->_claimID . '&claimPasscode=' . $this->_claimPasscode .
($emailAddr?('&emailAddr='.urlencode($emailAddr)):''));

But I'm also getting it on whatever.new_dropoff.tpl.php as seen on my
cache, which makes dropoff fails. I don't remember where I had fixed
this, I believe it was on the template, but it doesn't work with the
zendToURL="" trick :-(

Regards...
-- 
Manty/BestiaTester -> http://manty.net



More information about the ZendTo mailing list