Jump to content

Tell A Friend In V4.1.0rc


kinetic

Recommended Posts

I dont think I will be doing the next version

Im too afraid it will have fixed a few things but broke still more other things

and Ive gone thru and FIXED alot of those broken things

but cant figure out why tell a friend wont send email

the store sends out all the other emails just fine just not tell a friend

I need to know why/where tell a friend is broke in THIS version....

Link to comment
Share on other sites

Guest andyshawcross

I dont think I will be doing the next version

Im too afraid it will have fixed a few things but broke still more other things

and Ive gone thru and FIXED alot of those broken things

but cant figure out why tell a friend wont send email

the store sends out all the other emails just fine just not tell a friend

I need to know why/where tell a friend is broke in THIS version....

I can certainly relate to your frustrations as I too am a bit sick of the numerous bugs that require attention. But I did want you to know that I've tested the "Tell A Friend" feature in one of my clients stores running 4.1.0 RC1, and the feature works as it should.

This was not a clean install, it was an upgrade from 4.0.3.

Best of luck sorting out your troubles.

-Ron

Link to comment
Share on other sites

Guest AndySV1K

Ive just tested this on my CC4 and i havnt receieved an email yet, i have been receiving emails pretty much straight away for everything else so i suspect this function is not working for me either.

Im starting to regret buying ver 4 now, i seem to have lots of bugs and problems that really shouldnt be there on a product costing this much.

Andy.

Link to comment
Share on other sites

For me the tellafriend is not functionnaly... It say always to enter a valid email adress :)

I'm with the french version

I think my problem is with the french version because... it work..but the title of each box is not correct!:)

Link to comment
Share on other sites

The issue was a one line difference between versions. It's corrected for the next release. But essentially it prevented tellafriend from working if CAPTCHA was turned on. If you're still having the issue, I'm more than happy to post the fix. Thanks!

:blink:

Link to comment
Share on other sites

The issue was a one line difference between versions. It's corrected for the next release. But essentially it prevented tellafriend from working if CAPTCHA was turned on. If you're still having the issue, I'm more than happy to post the fix. Thanks!

:blink:

Running RC2, and havent received any emails from Tell a friend. Please post if you dont mind.

Link to comment
Share on other sites

In /includes/content/tellafriend.inc.php, around line 52, you'll see this block:

		## valid emails, lets roll

		if ($config['floodControl']) {

			$spamCode = fetchSpamCode($_POST['ESC'], true);

			if (!isset($_POST['spamcode']) || ($spamCode['SpamCode']!==strtoupper($_POST['spamcode'])) || (get_ip_address()!==$spamCode['userIp'])) {

				$errorMsg = $lang['tellafriend']['error_code'];

				$floodControlPass = false;

			}

		}

		

		if (!$errorMsg && (!$config['floodControl'] || $floodControlPass)) {

			## make email


You need to replace it with this block:




		## valid emails, lets roll

		if ($config['floodControl']) {

			$spamCode = fetchSpamCode($_POST['ESC'], true);

			if (!isset($_POST['spamcode']) || ($spamCode['SpamCode']!==strtoupper($_POST['spamcode'])) || (get_ip_address()!==$spamCode['userIp'])) {

				$errorMsg = $lang['tellafriend']['error_code'];

			}

		}

		

		if (!isset($errorMsg)) {

			## make email

That should take care of the issue. Good luck!

:blink:

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...