Invite friend problem

I discovered that tellfriend.php has one problem. When email to friend successfully sent it must return green message box, telling "Email sent", and hopefully close the JS window.

But it only clears form, and users will think that they invite hasn't been mailed.

UPD:

I use Dolphin 6.1.1 strongly modified by me, but I tested same actions on Boonex (http://www.boonex.us), and on Aramis's (http://www.demozzz.ru) demosites, running last version of Dolphin, and get the same result.

Quote · 5 Sep 2008

Problem fixed, tnx to Aramis!

Quote · 8 Sep 2008

and the fix was....

There are none so blind as those that will not see.
Quote · 8 Sep 2008

Just read Trac section here. And check all closed tickets to 6.2.

Quote · 9 Sep 2008

Problem fixed, tnx to Aramis!

If you can post this you can post WHAT fixed it ???

.

Quote · 9 Sep 2008

when someone here said that after we post a question, we should post resolution....let me correct that.

 

when you ask a question and you find out what the solution is....please post solution too. Telling us that you fixed it doesnt do any good.

Quote · 9 Sep 2008

All changes was in tellfriend.php of course (look at line ~52):

// --------------- GET/POST actions

if ( $_POST['submit'] )
{
	if ( SendTellFriend() )
	{
		$sWriteNewMessageC = _t('_Write new Message');
		$sCloseWinC = _t('_close window');
		//$tell_friend_text = ""._t("_Email was successfully sent")."";
		$tell_friend_text = _t_action('_Email was successfully sent');

		$tell_friend_text .= <<


.invite_form {
	display:none;
}
.boxContent {
	padding:0px;
}

EOF;
	}
	else
	{
		//$tell_friend_text = ""._t("_Email sent failed")."";
		$tell_friend_text = _t_err("_Email sent failed");
	}

Quote · 9 Sep 2008

Hm .. seems quite impossible to post here html code .. looks bad :)

and here skipped HTML code,

so I recommend just wait a new dol update

Quote · 9 Sep 2008

Are updates easy to apply? New to this script...

Quote · 9 Sep 2008

For me - all easy :)

Quote · 9 Sep 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.