how to invite people to my site

hai there. My site is almost done, thanks to a lot of work and help from some people over here (Thx!) . I closed the site for outsiders, its only available at invitation.  Only now I dont know how to invite people! In the footer of the page is a link "Invite friends" but it doesn't work for this option. Cause that link only send an email to my friends with the link of the site. When they get there they still see this  message:"invitation members only!"

so my question :"how am I suppose to invite my members?"

 

thanks a lot!!!

Quote · 15 Jun 2010

You will find the answer here

Quote · 15 Jun 2010

ok thanks a lot so I make this up out of that topic:

 

Hello.

 

"This option is accessible for anybody, but it will work only when Enable Affiliate Support is also checked"

 

so now I have to find this "enable Affiliate support" I have no idea where it is...

Quote · 16 Jun 2010

SORRY, my answer was for the Dol.6.1.x :(
and Dol.7.0.x don't have Affiliate Support yet.

Open file tellfriend.php

and below function SendTellFriend($iSenderID = 0) find this code: $sLinkAdd .= '?' . $sLinkAdd;

Chang it to: $Link .= '?' . $sLinkAdd;

Now it should work,
with Dol.7.0.x you need to be logged in before you use Invite a friend,
then you shall have a link like this in the email, http://www.YOURDOMAIN.com/?idFriend=1

Quote · 17 Jun 2010

yesssss it works!!!! thanks!!!!!!

Quote · 21 Jun 2010

In 7.1.6, the code snippet is like this

function SendTellFriend($iSenderID = 0)

{

    global $profileID;

 

    $sRecipient   = clear_xss($_POST['friends_emails']);

    $sSenderName  = clear_xss($_POST['name']);

    $sSenderEmail = clear_xss($_POST['email']);

    if ( strlen( trim($sRecipient) ) <= 0 )

        return 0;

    if ( strlen( trim($sSenderEmail) ) <= 0 )

        return 0;

 

    $sLinkAdd = $iSenderID > 0 ? 'idFriend=' . $iSenderID : '';

    $rEmailTemplate = new BxDolEmailTemplates();

    if ( $profileID ) {

        $aTemplate = $rEmailTemplate -> getTemplate( 't_TellFriendProfile', $profileID ) ;

        $Link = getProfileLink($profileID, $sLinkAdd);

    } else {

        $aTemplate = $rEmailTemplate -> getTemplate( 't_TellFriend' ) ;

        $Link = BX_DOL_URL_ROOT;

        if (strlen($sLinkAdd) > 0)

            $Link .= '?' . $sLinkAdd;

    }

    $aPlus = array(

        'Link' => $Link,

        'FromName' => $sSenderName

    );

Quote · 26 Jun 2015

still , when I click on invite_friend link, the website hangs...i ma not sure why is there is a problem

Quote · 26 Jun 2015

In 7.3.1 the code looks about the same as stated above for 7.1.6 which didn't get a reply. It still doesn't send mail, of course but it does give a fail message. It would be good to have a complete description of how to set this up correctly.

Quote · 12 Jul 2016
 
 
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.