"Invite a Friend" populate fields?

Hi everyone,

Is there a way to populate the fields of "Your Name" and "Your Email" with the login nickname and the associated email address when the "invite a friend" window opens, as this function only seems to work if these values correspond with the logged in profile.


Many people will not think to use their login name but would use their full name and possibly a different email address.


If these values don't correspond a "send email failed" message appears.

Can something be changed in the tellfriend.php to make this happen?

Thanks,

Wizard247

Quote · 1 Mar 2010

Hello!


U may change this part in tellfriend.php code for placing FirstName field instead NickName:

this one:

$profileID = 0;

change to the following:

(int)$_COOKIE['memberID'] : 0


'name' => array(
'type' => 'text',
'name' => 'name',
'caption' => _t("_Your name"),
'value' => $sVisitorName
),

instead $sVisitorName u may enter $aVisitorInfo['FirstName'] for example.

Regard

Quote · 1 Mar 2010
 
 
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.