Dec
2
2007

BoonEx Dolphin Script

buy generic clomid no rx cialis cheapest clomid order levitra online where to buy accutane find discount cialis online viagra tablets cheapest accutane prices buy acomplia cheap low cost viagra lasix online stores discount cialis no rx viagra india acomplia sale viagra approved viagra pharmacy cialis pills soma without prescription buy viagra in canada find no rx viagra buy zithromax find viagra clomid online stores discount acomplia cheap clomid tablets buy generic levitra purchase levitra online cialis buy cialis india cheapest cialis prices zithromax without prescription acomplia online stores buy cheapest viagra on line propecia online cheap purchase soma online synthroid without prescription cost viagra levitra pills viagra overnight shipping cheap viagra internet buy viagra us buy generic accutane synthroid sale cheap lasix online purchase cialis without prescription buy synthroid cheap viagra cheap drug cialis for order buy cheap zithromax viagra cheap price order accutane online buy viagra low price zithromax prices order propecia online discount clomid order cialis on internet online soma order cialis no prescription cheap propecia online acomplia pills buy accutane without prescription cialis australia price of soma cialis sales buy soma without prescription no prescription cialis lasix generic cheap cialis on internet cheap clomid online synthroid online cheap purchase clomid online where to buy synthroid cheap levitra online discount cialis overnight delivery viagra australia buying viagra online zithromax for sale viagra cost viagra pills buy cialis lowest price price of clomid cialis side effects lasix for sale cheapest generic cialis find viagra on internet levitra online stores cialis overnight shipping viagra online review free cialis cialis approved buy cheapest viagra cheap viagra online where to buy levitra order cialis from canada cialis pharmacy order soma levitra cheap viagra without rx clomid cheap cheap generic synthroid where to buy propecia buy generic synthroid order lasix online where to order viagra buy accutane cheap cheap accutane tablets cheapest synthroid prices cheap viagra in uk synthroid online stores accutane prescription where to order cialis order viagra on internet sale viagra buy cheap clomid buy cialis low price find cialis no prescription required viagra internet buy discount viagra best price for viagra cheap propecia clomid without a prescription buy viagra without prescription discount lasix levitra for sale buy clomid certified cialis where to buy acomplia buy cheap accutane online buy cheapest viagra online buy cheapest cialis on line lowest price propecia viagra in uk buy no rx viagra cheapest clomid prices order cialis in us cheap acomplia tablets buy lasix without prescription discount viagra overnight delivery cheap cialis internet cialis overnight no prescription viagra buy synthroid viagra price find cheap cialis online order clomid online best price for cialis viagra purchase purchase cialis online online lasix cheapest acomplia prices zithromax without a prescription best price viagra cialis order accutane cheap buy cialis in us buy viagra on internet purchase clomid clomid cialis pharmacy online cialis purchase cheap lasix tablets cialis generic cheapest viagra price zithromax no prescription zithromax cheap cialis cheap drug buy cialis in canada cheap zithromax tablets buy clomid without prescription lowest price lasix acomplia discount cialis online viagra tablet synthroid generic propecia no prescription buy generic zithromax order viagra in us purchase viagra no rx approved viagra pharmacy purchase viagra online soma generic accutane cialis no rx required online synthroid purchase viagra overnight delivery discount cialis buy no rx cialis viagra generic buy cialis us clomid prescription acomplia prices purchase lasix online buy cheap synthroid viagra online pharmacy buy cheap clomid online lasix cheap cheap generic clomid viagra buy drug clomid pharmacy propecia without prescription synthroid online accutane sale levitra no prescription online accutane price of cialis synthroid without a prescription buy generic viagra viagra in australia cheapest zithromax prices buy lasix discount zithromax cheapest levitra cost of cialis cheap viagra in usa propecia online stores buy zithromax cheap sale cialis find cheap viagra viagra us cheap clomid cialis online stores soma no prescription buy cialis online where to buy viagra generic viagra buy cialis internet buy levitra cheap order cialis no prescription required cheap levitra tablets buy cialis overnight delivery buy viagra generic lasix online cheap cialis no prescription acomplia cheap order viagra no prescription required cheapest levitra prices discount viagra online viagra where to buy zithromax buy cheap acomplia purchase viagra accutane for sale generic acomplia cheap viagra no prescription compare viagra prices generic zithromax buy clomid online propecia cheap levitra prescription buy clomid cheap viagra in malaysia acomplia pharmacy acomplia for sale order viagra cheap online online viagra buy acomplia without prescription lowest price soma discount cialis online lasix prices cialis cheapest price cheap accutane online buy synthroid without prescription find cialis without prescription accutane without prescription buy acomplia cialis cheap cheap viagra from usa online cialis clomid discount cheap cialis in usa soma online cheap cialis without a prescription where to buy soma purchase propecia online cialis sale buy cheap soma find viagra online cheap soma online cialis free sample lowest price viagra buy cialis on line viagra from canada online pharmacy cialis levitra drug viagra online purchase drug cialis buy zithromax online buy propecia lasix pharmacy accutane generic clomid online cheap soma prices synthroid levitra generic order viagra from us purchase accutane lasix discount cheapest cialis cheap cialis pill find discount viagra online lowest price for viagra accutane prices acomplia generic cheap cialis tablet synthroid pills viagra pharmacy online viagra overnight synthroid pharmacy viagra online stores buy discount viagra online levitra online certified viagra cheap viagra in canada cheapest propecia prices order viagra without prescription clomid sale price of viagra cialis cost lowest price synthroid purchase cialis buying generic viagra lasix pills generic accutane buy cheap soma online buy lasix cheap cialis online review purchase cialis overnight delivery soma for sale cheap viagra on internet lowest price cialis cheap viagra from uk buy generic lasix buy cheap lasix order levitra cialis without prescription cialis prices buy viagra no rx buy cialis no rx purchase zithromax online best price cialis cialis in uk buy discount cialis online propecia prescription cialis discount purchase lasix propecia sale order discount cialis viagra prices discount synthroid buy generic cialis soma online buy generic viagra online buy cialis from india cheap viagra pharmacy buy synthroid online online levitra order cheap viagra cost cialis cheapest cialis price cialis us acomplia without a prescription order cialis cheap generic zithromax cheap levitra cheap cialis without prescription cheapest viagra prices cheap cialis from canada zithromax pills zithromax generic buy viagra internet drug cialis online purchase compare viagra prices online buy cialis from us cialis tablets generic viagra online buy cheap viagra internet lasix prescription drug viagra accutane discount buying cialis online cheap soma order clomid buy generic acomplia cialis online without prescription price of levitra buy levitra online acomplia without prescription cialis rx buy propecia online buy cheap accutane price of synthroid synthroid prescription viagra online cheap synthroid online order propecia order synthroid online soma without a prescription viagra free delivery buy cialis without prescription purchase synthroid discount cialis without prescription buy viagra overnight delivery order acomplia online approved cialis pharmacy cialis uk order generic cialis buy propecia cheap cialis in bangkok clomid for sale zithromax pharmacy viagra online cheap order cheap cialis online pharmacy viagra buy cheapest cialis online order generic viagra cheap cialis overnight delivery buy cheap viagra find cheap cialis buy zithromax without prescription buy viagra on line tablet cialis purchase zithromax cialis in australia lowest price clomid overnight cialis cialis in us clomid without prescription cialis overnight delivery cheap lasix cheap synthroid cheapest lasix cheapest soma prices viagra cheap cheapest lasix prices find cialis on internet order viagra no prescription zithromax online compare cialis prices find cheap viagra online generic lasix discount propecia acomplia no prescription generic cialis online cheap viagra tablets order viagra buy soma cheap propecia for sale generic viagra cheap cheap propecia tablets cheap generic acomplia viagra bangkok discount viagra without prescription levitra prices cheapest accutane propecia online zithromax online cheap lasix sale where to buy lasix buy cheap synthroid online price of lasix price of acomplia find viagra no prescription required viagra online without prescription low cost cialis cheap zithromax propecia cheap acomplia online order cialis cheap online cheap cialis cialis bangkok lowest price for cialis cialis no online prescription cheap cialis pharmacy cialis canada buy accutane cheap cialis from uk viagra sales cialis from india order cialis without prescription order discount viagra order accutane find discount viagra order cialis no rx cialis prescription buy propecia without prescription cheap zithromax online cheap viagra pill buy cheap propecia purchase acomplia buying generic cialis cialis online pharmacy buy viagra online cheap buy cheap levitra online viagra for order cheap cialis in uk acomplia online generic clomid zithromax sale where to buy clomid buy viagra viagra without a prescription buy lasix online purchase propecia cheap cialis no rx viagra side effects order cheap cialis online cialis online cheap cialis drug online propecia generic cialis cheap cialis buy viagra no prescription required accutane pharmacy viagra discount buy soma online order viagra online propecia pharmacy accutane without a prescription levitra without prescription discount accutane cheapest viagra viagra no rx required buy cialis buy viagra cheap order no rx cialis cheapest cialis online purchase levitra cheapest zithromax lasix without a prescription zithromax order no rx viagra buy viagra lowest price cialis vendors cialis in malaysia cheapest generic cialis online cheap viagra buy discount cialis cialis from canada buy soma cialis malaysia levitra pharmacy synthroid no prescription cheap cialis tablets price of zithromax order cialis in canada discount soma order cialis overnight delivery soma cheap zithromax prescription order discount viagra online viagra from india propecia generic buy cheap cialis internet viagra buy viagra uk acomplia online cheap order acomplia cialis buy drug buy cheap lasix online levitra without a prescription cialis free delivery online acomplia where to buy cialis pharmacy viagra accutane online cheap cheapest generic viagra online purchase accutane online lowest price accutane buy viagra online generic soma lasix no prescription propecia without a prescription synthroid discount cheap generic accutane viagra sale viagra pill discount viagra no rx viagra free sample no rx viagra lasix online cheap order cheap viagra online viagra order lasix free viagra clomid pills buy cheap acomplia online propecia prices buy levitra without prescription price of accutane buy cheap viagra online lowest price zithromax soma find cialis find discount cialis order viagra no rx tablet viagra viagra buy online order synthroid viagra no online prescription soma prescription lowest price acomplia cheap viagra overnight delivery cheap acomplia discount viagra find viagra without prescription synthroid for sale acomplia prescription purchase synthroid online cialis information soma pills order lasix viagra no prescription lasix without prescription accutane pills purchase acomplia online zithromax online stores cheapest soma viagra cheapest price compare cialis prices online cheap viagra tablet order cialis online buy acomplia online cheap synthroid tablets viagra canada cialis no prescription viagra information price of propecia buy cialis generic order soma online order discount cialis online cheap generic lasix purchase viagra without prescription viagra vendors cialis medication order viagra overnight delivery viagra no rx overnight viagra cheap cialis online clomid prices cheap accutane buy viagra from india cialis tablet cheap viagra no rx viagra rx buy accutane online find no rx cialis buy generic cialis online cheap viagra without prescription cheapest propecia buy cheap propecia online levitra online cheap order viagra from canada accutane no prescription soma discount cheapest synthroid generic levitra cialis price online clomid generic cialis fda approved viagra purchase cialis no rx cialis without rx cheapest acomplia buy levitra pharmacy cialis accutane online stores soma online stores buy cialis from canada clomid generic propecia pills synthroid prices cheapest generic viagra buy cheap levitra buy cialis cheap buy cialis no prescription required viagra without prescription cheap generic soma accutane online buy viagra from canada find cialis online cialis no rx discount levitra buy cialis online cheap order cialis from us viagra in us buy cheap cialis online cialis for sale cheap price cialis cialis buy online order zithromax online fda approved cialis generic propecia viagra malaysia cheap cialis from usa buying cialis generic synthroid viagra medication propecia discount cheap generic cialis soma pharmacy levitra discount cheap generic propecia viagra for sale soma sale online zithromax acomplia cheap viagra from canada buy generic propecia viagra in bangkok buy cheap zithromax online cheap generic levitra cheap price viagra buy cheap cialis cheap cialis in canada buy generic soma cheap soma tablets viagra prescription lowest price levitra buy viagra from us cialis internet buy cheapest cialis buy viagra in us buying viagra cheapest viagra online viagra overnight delivery purchase soma clomid no prescription cialis pill cheap generic viagra levitra sale order viagra in canada viagra drug synthroid cheap order zithromax cialis cheap price buy cialis on internet cost of viagra clomid online

I recently stumbled on a pretty cool social networking script called Dolphin (by BoonEx.com). It is an open-source script, however, you do need to pay for licensing fee if you want to remove references to BoonEx on your site.

My brother is launching a new social networking site based on this script for wine lovers. Check it out at http://www.winehappy.com

Since I'm playing with this script, I will have a few customization tips and tricks that I'll share with my readers.

Please keep in mind that I have version 6.0.0003 installed

First is a MOD that will add an Admin member as a friend to all other members. This MOD will only add the Admin as a friend AFTER you have the MOD installed. It doesn't roll back and add the Admin member to your existing members - this could be done, though.

Here is the file with the MOD included:

http://winehappy.com/join_form.txt

Be sure to rename join_form.txt to join_form.php

Back up your join_form.php first in case you screw it upHere is the MOD detail for those Do-It-Yourself'ers:

Open join_form.php

Find this code:

Line 374: if ( getParam('autoApproval_ifNoConfEmail') == 'on' )

Insert before line 374:

$dump = db_res("INSERT INTO FriendList SET `ID` = '{$IDnormal}', `Profile` = 1, `Check` = 1″);

You may want to change `Profile` = 1 to a value of the member ID that you are making this as the friend you are adding to all future new members.

That should do it! Please leave a rating if you like this MOD: http://www.expertzzz.com/Downloadz/view/1481

If you are MODDING (cool… I'm making this a verb, first to call it!) a Dolphin version other than 6.0.0003 then the place to insert the code may be different. So always backup a copy of your original file so you can roll back to it if you mess up something.

- Codersteve

42 Responses so far

  1. Paul Enderson December 2, 2007 6:11 pm

    Good work - and thanks for making this free! You have a new feed subscriber, so keep those mods coming… :)

  2. RoN December 4, 2007 2:51 pm

    I've added this, but I can't get it going. I have 6.0.3 and I've added it where it says. If I change Profile` = 1 to Profile` = 2, do I also change to Check` = 1 too?

  3. CoderSteve (admin) December 4, 2007 11:56 pm

    No, you don't need to change the Check value.

    Do note that this will only take effect to future members. Let me know if you are still having trouble.

  4. CoderSteve (admin) December 5, 2007 1:11 am

    I realized that it is redundant to put that line of code in two places, so I have reduced it to just one place. Please read through the MOD again.

  5. Bia December 6, 2007 6:23 pm

    Hi, it unfortunatelly did not work for me. I hope someone can help. I also have 6.003 but the code was on line 369. I put it in line 368 and returned the error (crushed the site).

    Please help!

  6. CoderSteve (admin) December 6, 2007 9:09 pm

    There should only be one place where this code appears:

    if ( getParam('autoApproval_ifNoConfEmail') == 'on' )

    You would then place the MOD right above that line.

    Make sure you use notepad or simple text editor to change your PHP files!

  7. Leo December 7, 2007 5:32 pm

    I did exactly what you mentioned but it crashed when I tried to create another member. Please review it and let us know if you work it out. I really want to have this modification. I have been searching for it for while now.

    thanks in advance

  8. CoderSteve (admin) December 7, 2007 9:43 pm

    Leo… a little more information would help, what do you mean by "crashed"?

  9. Bia December 8, 2007 7:12 am

    Hi again, I did actually use Dreavweaver and am advanced user (web designer) so this was not the problem. When this line was added the site took to load forever and then reported error on line 368, so yes it crashed…

    p.S. also on this page the protecton code is not working properly. It says it was not 'passed' where it was typed exactly.

  10. CoderSteve (admin) December 8, 2007 1:01 pm

    Hey Bia,

    I'm not sure what protection code you are talking about, and my MOD simply adds a line of PHP code in join_form.php file. It is mostly likely your Dreamweaver editor is messing up the code.

    I would advice highly against using any editors other than notepad or textpad (or any other text editors), such as frontpage, dreamweaver, Nvu, or what have yous, to edit a scripting file.

    The join_form.txt with the MOD included is here:

    http://winehappy.com/join_form.txt

    Let me know if that helps.

  11. Bia December 12, 2007 12:36 pm

    Hi sent you an email. This file totally crushed the site. It must be something simple if it works for you…

    >

  12. Doug December 25, 2007 10:24 am

    Hey i had the same problem with the code crashing my site until i just copied the code he posted directly over my join form, the code is as follows…..

    $join_pages_num )
    $page = 'done';

    // check fields from previous page
    if ( 'done' != $page )
    $join_page_check_limit = " AND `join_page` = 1000″;
    else
    $join_page_check_limit = ";

    //———————————————————–

    // ————— [ END ] GET/POST actions

    // ————— page components

    $_ni = $_page['name_index'];
    $_page_cont[$_ni]['page_main_code'] = PageCompPageMainCode();

    // ————— [END] page components

    PageCode();

    // ————— page components functions

    /**
    * page code function
    */
    function PageCompPageMainCode()
    {
    global $site;
    global $dir;
    global $tmpl;
    global $page;
    global $join_page_check_limit;
    global $join_pages_num;
    global $p_arr;
    global $_page;
    global $en_aff;
    global $oTemplConfig;
    global $newusernotify;

    $enable_security_image = getParam('enable_security_image');
    $autoApproval_ifJoin = isAutoApproval('join');

    ob_start();
    session_start();

    switch ( $page )
    {
    // fill inputs with values from precede join pages
    case ( $page > 1 ) :
    $hidden_vals = ";
    // inputs with POST values
    $respd = db_res("SELECT * FROM ProfilesDesc WHERE `visible` & 2 AND ( FIND_IN_SET('0′,show_on_page) OR FIND_IN_SET('".(int)$_page['name_index']."',show_on_page)) $join_page_check_limit ORDER BY `order` ASC");
    while ( $arrpd = mysql_fetch_array($respd) )
    {
    $fname = get_input_name( $arrpd );

    switch ( $arrpd['type'] )
    {
    case 'set': // set of checkboxes
    $vals = preg_split ("/[,\'] /", $arrpd['extra'], -1, PREG_SPLIT_NO_EMPTY);
    $p_arr[$fname] = ";
    foreach ( $vals as $v )
    {
    if ( strlen(trim($v)) ';
    $p_arr[$fname."_".$v] = process_pass_data($_POST[$fname."_".$v]);
    if ( $_POST[$fname."_".$v] == 'on' )
    {
    if ( strlen($p_arr[$fname]) )
    $p_arr[$fname] .= ",$v";
    else
    $p_arr[$fname] .= $v;
    }
    }
    break;
    case 'date':
    $p_arr[$fname] = sprintf("d-d-d",
    (int)$_POST[$fname . '_year'],
    (int)$_POST[$fname . '_month'],
    (int)$_POST[$fname . '_day']
    );
    $hidden_vals .= ";
    $hidden_vals .= ";
    $hidden_vals .= ";
    break;

    default:
    if ( $arrpd['get_value'] )
    {
    $funcbody = $arrpd['get_value'];
    $func = create_function('$arg0′, $funcbody);
    $hidden_vals .= ";
    $p_arr[$fname] = process_pass_data($func($_POST));
    }
    else
    {
    $hidden_vals .= ";
    $p_arr[$fname] = process_pass_data($_POST[$fname]);
    }
    break;
    }
    }

    // check values

    $query = "SELECT * FROM ProfilesDesc
    WHERE `visible` & 2 AND ( FIND_IN_SET('0′,show_on_page) OR FIND_IN_SET('".(int)$_page['name_index']."',show_on_page)) $join_page_check_limit
    ORDER BY `join_page` ASC";
    $respd = db_res($query);

    while ( $arrpd = mysql_fetch_array($respd) )
    {
    if ( !strlen($arrpd['check']) ) continue;
    $fname = get_input_name ( $arrpd );

    $funcbody = $arrpd[check];
    $func = create_function('$arg0′, $funcbody);
    if ( !$func($p_arr[$fname]))
    {
    $add_on .= report_err( _t($arrpd['because'], $arrpd['min_length'],$arrpd['max_length']) );
    }
    }

    $page = (!$add_on) ? $page : $page-1;

    break;

    break;

    case 'done':
    // fill array with POST values
    $respd = db_res("SELECT * FROM ProfilesDesc WHERE `visible` & 2 AND ( FIND_IN_SET('0′,show_on_page) OR FIND_IN_SET('".(int)$_page['name_index']."',show_on_page)) $join_page_check_limit ORDER BY `order` ASC");
    while ( $arrpd = mysql_fetch_array($respd) )
    {
    $fname = get_input_name( $arrpd );

    switch ( $arrpd['type'] )
    {
    case 'set': // set of checkboxes
    $vals = preg_split ("/[,\'] /", $arrpd['extra'], -1, PREG_SPLIT_NO_EMPTY);
    $p_arr[$fname] = ";
    foreach ( $vals as $v )
    {
    if ( strlen(trim($v)) ';
    $p_arr[$fname."_".$v] = process_pass_data($_POST[$fname."_".$v]);
    if ( $_POST[$fname."_".$v] == 'on' )
    {
    if ( strlen($p_arr[$fname]) )
    $p_arr[$fname] .= ",$v";
    else
    $p_arr[$fname] .= $v;
    }
    }
    break;
    case 'date':
    $p_arr[$fname] = sprintf("d-d-d",
    (int)$_POST[$fname . '_year'],
    (int)$_POST[$fname . '_month'],
    (int)$_POST[$fname . '_day']
    );
    $hidden_vals .= ";
    $hidden_vals .= ";
    $hidden_vals .= ";
    break;

    default:
    if ( $arrpd['get_value'] )
    {
    $funcbody = $arrpd['get_value'];
    $func = create_function('$arg0′,$funcbody);
    $hidden_vals .= ";
    $p_arr[$fname] = process_pass_data($func($_POST));
    }
    else
    {
    $hidden_vals .= ";
    $p_arr[$fname] = process_pass_data($_POST[$fname]);
    }
    break;
    }
    }

    // check values
    if ( $enable_security_image )
    {
    if (!isset($_POST['securityImageValue']) || !isset($_SESSION['strSec']) || md5($_POST['securityImageValue']) != $_SESSION['strSec'])
    {
    $page = $join_pages_num;
    $add_on .= report_err ( _t("_SIMG_ERR") );
    }
    }

    $respd = db_res("SELECT * FROM ProfilesDesc WHERE `visible` & 2 AND ( FIND_IN_SET('0′,show_on_page) OR FIND_IN_SET('".(int)$_page['name_index']."',show_on_page)) $join_page_check_limit AND `join_page` > 0 ORDER BY `order` ASC");
    while ( $arrpd = mysql_fetch_array($respd) )
    {
    if ( !strlen(trim($arrpd['check'])) ) continue;
    $fname = get_input_name ( $arrpd );

    $funcbody = $arrpd['check'];
    $func = create_function('$arg0′, $funcbody);
    if ( !$func($p_arr[$fname]))
    {
    $page = floor($arrpd['join_page'] / 1000);
    $add_on .= report_err( _t($arrpd['because'], $arrpd['min_length'], $arrpd['max_length']) );
    }

    }

    break;

    default:
    break;

    }

    switch( $page )
    {
    default:
    global $tmpl;
    if( $oTemplConfig -> customize['join_page']['showPageText'] )
    $page_text = _t( "_JOIN1″, $page );
    echo $add_on;
    break;
    }

    switch ( $page )
    {
    case 'done':
    // new profile creation

    $cl_values = "INSERT INTO `Profiles` SET ";
    $cl_first = 0;

    $respd = db_res("SELECT * FROM ProfilesDesc WHERE `visible` & 2 AND `to_db` = 1 AND ( FIND_IN_SET('0′,show_on_page) OR FIND_IN_SET('".(int)$_page['name_index']."',show_on_page)) $join_page_check_limit ORDER BY `order` ASC");
    while ( $arrpd = mysql_fetch_array($respd) )
    {
    $fname = get_input_name( $arrpd );
    $dbname = get_field_name( $arrpd );
    $fval = $p_arr[$fname];

    if ($dbname == 'zip')
    $fval = strtoupper( str_replace(' ', ", $fval) );

    switch ( $arrpd['type'] )
    {
    case 'set': // set of checkboxes
    case 'r': // reference to array for combo box
    case 'a': // text Area
    case 'c': // input box
    case 'rb': // radio buttons
    case 'e': // enum combo box
    case 'en': // enum combo box with numbers
    case 'eny': // enum combo box with numbers
    case 'date': // date
    $fval = process_db_input( $fval, 0, 1 );
    $cl_values .= " `$dbname` = '$fval'";
    $cl_values .= ", ";
    break;
    case 'p':
    $fval = md5( process_pass_data( $fval ) );
    $cl_values .= " `$dbname` = '$fval'";
    $cl_values .= ", ";
    break;
    }
    }

    $cl_values .= " `LastReg` = NOW()";

    db_res($cl_values);
    $IDnormal = mysql_insert_id();

    $IDcrypt = crypt( $IDnormal, "secret_string" ); // encrypted ID for security purposes
    setcookie( "IDc", $IDcrypt, 0 , "/" );
    $_COOKIE['IDc'] = $IDcrypt;

    // Affiliate and friend checking
    if ( $en_aff && $_COOKIE['idAff'] )
    {
    $res = db_res("SELECT `ID` FROM `aff` WHERE `ID` = {$_COOKIE['idAff']} AND `Status` = 'active'");
    if ( mysql_num_rows( $res ) )
    {
    $res = db_res("INSERT INTO `aff_members` (`idAff`,`idProfile`) VALUES ({$_COOKIE['idAff']}, $IDnormal)");
    }
    }
    if ( $en_aff && $_COOKIE['idFriend'] )
    {
    $idFriend = getID( $_COOKIE['idFriend'] );
    if ( $idFriend )
    {
    $res = db_res( "UPDATE `Profiles` SET `aff_num` = `aff_num` 1 WHERE `ID` = '$idFriend'" );
    createUserDataFile( $idFriend );
    }
    }

    if ( strcmp( crypt( $IDnormal, 'secret_string' ), $_COOKIE['IDc'] ) != 0 )
    {
    ob_end_clean();

    $_page['header'] = _t( "_Error" );

    $ret = "";
    $ret .= _t( "_MUST_HAVE_COOKIES" );
    $ret .= "";

    return $ret;
    }

    /* scc MOD: default friend */
    $dump = db_res("INSERT INTO FriendList SET `ID` = '{$IDnormal}', `Profile` = 1, `Check` = 1″);
    /* scc end MOD */

    if ( getParam('autoApproval_ifNoConfEmail') == 'on' )
    {
    if ( getParam('autoApproval_ifJoin') )
    {
    db_res("UPDATE `Profiles` SET `Status`='Active' WHERE `ID`='{$IDnormal}'");
    $page_text = _t( "_USER_ACTIVATION_SUCCEEDED" ) . $ret . $add_on;
    $message = getParam("t_Activation");
    $subject = getParam('t_Activation_subject');
    sendMail( $p_arr['Email'], $subject, $message, $IDnormal );
    }
    else
    {
    db_res("UPDATE `Profiles` SET `Status`='Approval' WHERE `ID`='{$IDnormal}'");
    $page_text = _t( "_USER_CONF_SUCCEEDED" ) . $add_on;
    }

    if ( $newusernotify )
    {
    $message =
    "New user {$p_arr['NickName']} with email {$p_arr['Email']} has been confirmed,
    his/her ID is {$IDnormal}.

    {$site['title']} mail delivery system

    ";
    $subject = "New user confirmed";
    sendMail( $site['email_notify'], $subject, $message );
    }
    }

    else
    {
    $page_text = _t( "_JOIN3″ ) . $add_on;
    $page_text .= activation_mail( $IDnormal );
    $page_text .= "" . _t( "_UPLOAD_WHILE_WAITING", $site['url'] ) . "";
    }

    modules_add($IDnormal);
    if ( !$autoApproval_ifJoin )
    modules_block($IDnormal);

    createUserDataFile( $IDnormal );

    // ———————————————————-
    echo "";
    echo "";
    echo "$page_text";
    break;

    default:
    echo "";
    echo "";
    //———————————————————–

    do
    {
    $join_page_limit = ('done' == $page ) ? " AND join_page > '" . ($join_pages_num * 1000) . "'" :
    " AND join_page > '" . ($page * 1000) . "' AND join_page '" . ($join_pages_num * 1000) . "'" :
    " AND join_page > '" . ($page * 1000) . "' AND join_page ";

    //———————————————————–

    echo "
    " : ">") . "

    $hidden_vals

    $page_text
    ";

    $first_row = 1;
    $respd = db_res("SELECT * FROM ProfilesDesc
    WHERE `visible` & 2 AND ( FIND_IN_SET('0′,show_on_page) OR FIND_IN_SET('".(int)$_page['name_index']."',show_on_page)) $join_page_limit
    ORDER BY `join_page` ASC");

    if( $oTemplConfig -> customize['join_page']['show_3rd_col'] )
    $columns = 3;
    else
    $columns = 2;

    while ( $arrpd = mysql_fetch_array($respd) )
    {
    $fname = get_input_name( $arrpd );

    if ( $arrpd['get_value'] && $arrpd['to_db'] == 0 )
    {
    $funcbody = $arrpd['get_value'];
    $func = create_function('$arg0′,$funcbody);
    $p_arr[$fname] = $func($p_arr);

    }

    $not_first_row = 0;
    switch ($arrpd['type'])
    {
    case 'set': // set of checkboxes
    echo print_row_set ( $first_row, $arrpd, $p_arr[$fname], "table", 0, $columns );
    break;
    case 'rb': // radio buttons
    echo print_row_radio_button ( $first_row, $arrpd, $p_arr[$fname], "table", 0, $columns );
    break;
    case 'r': // reference to array for combo box
    if ( $fname == 'Country' )
    {
    $onchange = "flagImage = document.getElementById('flagImageId'); flagImage.src = '{$site['flags']}' this.value.toLowerCase() '.gif';";
    if ( strlen($p_arr[$fname]) == 0 )
    $p_arr[$fname] = getParam( 'default_country' );
    $imagecode = ";
    }
    else
    {
    $onchange = ";
    $imagecode = ";
    }
    echo print_row_ref ( $first_row, $arrpd, $p_arr[$fname], "table", 0, $columns, ", 0, $onchange, $imagecode );
    break;
    case '0′: // divider
    echo print_row_delim( $first_row, $arrpd, "panel", $columns );
    $not_first_row = 1;
    $first_row = 1;
    break;
    case 'e': // enum combo box
    echo print_row_enum( $first_row, $arrpd, $p_arr[$fname], "table", $javascript, 0 );
    break;
    case 'en': // enum combo box with numbers
    echo print_row_enum_n( $first_row, $arrpd, $p_arr[$fname], "table", 0, $columns );
    break;
    case 'eny': // enum combo box with years
    echo print_row_enum_years( $first_row, $arrpd, $p_arr[$fname], "table", 0, $columns );
    break;
    case 'date': //date
    echo print_row_date( $first_row, $arrpd, $p_arr[$fname], "table", 0, $columns );
    break;
    case 'a': // text Area
    echo print_row_area( $first_row, $arrpd, $p_arr[$fname], "table", 0, $columns );
    break;
    case 'c': // input box
    echo print_row_edit( $first_row, $arrpd, $p_arr[$fname], "table", 0, $columns );
    break;
    case 'p': // input box password
    echo print_row_pwd( $first_row, $arrpd, $p_arr[$fname], "table", 0, $columns );
    break;
    default:
    $not_first_row = 1;
    break;
    }

    if ( !$not_first_row && $first_row == 1 )
    $first_row = 0;

    }

    echo "";

    // show on the last page of join form
    if ( $join_pages_num == $page )
    {

    ?>

    ');
    return false;
    }
    –>

    \n";
    if ( $enable_security_image )
    {
    echo "
    " .
    _t( "_Enter what you see:" ) . "";
    }
    echo "";
    $ret =
    function id_registration()
    {
    oCheckBox = document.getElementById( "boonex_id" );
    if( oCheckBox.checked )
    window.open( 'http://www.boonex.com/id/', ", 'width=800, height=600, menubar=yes, status=yes, resizable=yes, scrollbars=yes, toolbar=yes, location=yes')
    }

    ID;
    echo $ret;
    echo "
    " . _t("_I AGREE", $site['url']) . "  \n";

    // BoonEx ID implementation
    // " . _t("_ID_CREATE", "http://www.boonex.com/id/" ) . "  ";
    }

    echo "";

    break;
    }
    global $memberID;

    echo "";
    echo "";
    echo "";
    echo "";
    $action = "login";
    $text = _t( '_Member Login' );
    $table = "Profiles";
    $login_page = "{$site['url']}member.php";
    $join_page = "{$site['url']}join_form.php";
    $forgot_page = "{$site['url']}forgot.php";
    $template = "{$dir['root']}templates/tmpl_{$tmpl}/join_login_form.html";

    echo LoginForm( $text,$action,$table,$login_page,$forgot_page,$template );

    echo "";
    if( getParam( 'enable_get_boonex_id' ) )
    {
    echo "";
    $action = "boonex";
    $text = " . _t( '_Import BoonEx ID' ) . ";
    $table = "Profiles";
    $login_page = "{$site['url']}member.php";
    $join_page = "{$site['url']}join_form.php";
    $forgot_page = ";
    $template = "{$dir['root']}templates/tmpl_{$tmpl}/join_login_form.html";

    echo LoginForm( $text,$action,$table,$login_page,$forgot_page,$template );

    echo "";
    }
    echo "";

    $ret = ob_get_clean();

    return $ret;
    }

    /**
    * print error message
    */
    function report_err( $str )
    {
    return "" . _t( "_Error" ) . ": $str";
    }

    function LoginForm( $text, $action, $table, $login_page, $forgot_page, $template = " )
    {
    global $site;
    global $dir;
    global $tmpl;

    $aFormReplace = array();

    $name_label = _t("_Nickname");

    $aFormReplace['header_text'] = $site['title'] . ' ' . $mem . ' Login';
    if( $action == "login" )
    {
    $aFormReplace['warning_text'] = $text;
    $aFormReplace['submit_label'] = _t("_Log In");
    $aFormReplace['form_onsubmit'] = 'return true;';
    }
    elseif( $action == 'boonex' )
    {
    $aFormReplace['warning_text'] = $text .
    " .
    '' .
    _t( '_Get BoonEx ID' ) .
    '
    '.
    ";

    $aFormReplace['submit_label'] = _t("_Import");

    $aFormReplace['form_onsubmit'] = 'getBoonexId( this, document.forms.jform ); return false;';
    }
    $aFormReplace['action_url'] = $login_page;
    $aFormReplace['relocate_url'] = $_SERVER['PHP_SELF'];
    $aFormReplace['name_label'] = $name_label;
    $aFormReplace['password_label'] = _t("_Password");

    if( $forgot_page )
    {
    $aFormReplace['forgot_page_url'] = $forgot_page;
    $aFormReplace['forgot_label'] = _t("_forgot_your_password") . '?';
    }
    else
    {
    $aFormReplace['forgot_page_url'] = ";
    $aFormReplace['forgot_label'] = ";
    }

    if( !strlen( $template ) )
    $template = "{$dir['root']}templates/tmpl_{$tmpl}/join_login_form.html";

    $ret = file_get_contents( $template );

    foreach( $aFormReplace as $key => $val )
    $ret = str_replace( "__{$key}__", $val, $ret );

    return $ret;
    }

    ?>

  13. CoderSteve (admin) January 2, 2008 8:44 am

    Alright, guys & gals…

    the line of code should read:

    $dump = db_res("INSERT INTO FriendList SET `ID` = '{$IDnormal}', `Profile` = 1, `Check` = 1?);

    This should do it.

  14. Ronald January 15, 2008 1:34 am

    Hello CoderSteve,

    How are you? I would love to use your Mod but I am worried if I have the correct information. my site is running perfectly so I am being very careful about what I do.

    I have noticed that the difference in the code you've posted is

    12/02/07 original posting: 'check' = 1″)
    01/02/08 posting: 'check' = 1?)

    The ending is the difference. Which is correct?

    Sincerely,
    Ron

  15. CoderSteve (admin) January 15, 2008 2:04 am

    Hi Ron,

    Go with the one I posted on 1/2/2008. As always, make a backup copy of your original php file, and make sure you swap the files during wee hours when there is least activity on your site =).

    Thanks,
    Steve

  16. Ronald January 15, 2008 4:10 am

    Hello Steve,

    How are you? I backed up my join.php as instructed, modified a copy, and received an error when I performed a test. I went back in and changed that ending 'check' = 1?) back to a 'check' = 1″) and it worked perfected! Thank you. Also, I have Dolphin version 6.0.0002 installed.

    My Dolphin-based web site is a creative community open to everyone, including models and photographers, writers and editors, singers and dancers, and programmers and code writers. It would be my please if you'd take a moment and check it out. I'm sure you'll want to join, and you are most welcome.

    Ron
    The Bleu Phoenix Creative Society
    http://bleuphoenix.net

  17. tommy January 15, 2008 5:03 pm

    hi thanks for the free mod it works great :)

  18. Angela Scott February 5, 2008 7:20 am

    Hi, I'm receiving a database query error when I try to sign up using this mod. :(

  19. Pdiddly February 11, 2008 1:23 pm

    It doesn't work for me with either version??? Same error about line 378???

  20. ShAdOw February 11, 2008 8:14 pm

    Hi! I totally love you, i was looking for a mod like this, you rock! And free! OMG!

  21. Angela February 15, 2008 2:15 pm

    Is it true this won't work properly if someone has a lot of friends, due to lack of pagination of the friends list in Dolphin? I'd love to try and get this to work, but don't want to slow my site right down. :)

  22. Goran February 15, 2008 9:56 pm

    Hm I just can make it work for some reason, I'm always getting an error. Can someone help, I'm using 6.0.0003 version.

    If someone has a working join file for this version maybe you can send it to me at cobo1981@gmail.com , I would be very grateful :)

  23. CoderSteve (admin) February 15, 2008 11:38 pm

    Angela,

    This MOD will not go back to your existing members and make admin a friend. The MOD will only work on new members.

    Goran,
    Here is the join file with the MOD included:

    http://winehappy.com/join_form.txt

    Back up your join_form.php, download join_form.txt, rename to join_form.php and drop it in your site and it should work.

  24. Angela February 16, 2008 2:49 am

    Hi, thanks for the reply. I managed to get this to work now, but I had to do it using the snipped from your uncluded text page. For some reason the code you provide in your download gives a syntax error!

    Anyway, thanks for this…it's just what I needed!

  25. Lisa April 14, 2008 6:59 am

    Thanks for this free mod! Any clue on how to actually make my profile pages show up?

  26. Tee April 18, 2008 4:02 pm

    Hi everyone, does this mod work with Dolphin 6.0.0005?

  27. Jeffery May 13, 2008 7:55 pm

    I was wondering if you would happen to have this mod for version 6.1? Thanks for the great mod, it worked great on 6.0.0005…

  28. Hikemaster June 11, 2008 6:08 pm

    Hi! This doesn't appear to work with the new version 6.1.1. Any plans to update? Thanks!

  29. Mohsin June 12, 2008 7:01 am

    Hi there. I'm using Dolphin 6.1.1. There is no join_form.php for this version. However, the line of code:

    if ( getParam('autoApproval_ifNoConfEmail') == 'on' )

    is found in a totally different file: BxDolProfilesController.php. When I try to insert the code you mentioned, my site will go blank when I try to join. Does this mean that the code will not work in 6.1.1 at all?

  30. tony August 12, 2008 4:20 pm

    hello do you have this for dolphin 6.1?
    thanks

  31. smansakra August 22, 2008 4:03 am

    please "pay attention", this mod is for 6.0 not for 6.1

    and pay attention to this
    db_res(" your mysql here ");

    so the correct syntaxz is:
    db_res("INSERT INTO `FriendList` SET `ID` = '{$IDnormal}', `Profile` = 22, `Check` = 1″);
    you see there after 1 should be added "

  32. Phillip September 17, 2008 12:34 pm

    the join.php for version 6.1.1 is that equivalent to the page join_form.php?

  33. Corey September 20, 2008 7:43 am

    can someone plz give the updated version for 6.1.4 or tell me where i can acquire this at……thx

  34. victor October 3, 2008 9:56 am

    Hi, do you have this for dolphin 6.1 and above?

  35. victor October 3, 2008 9:59 am

    Hi, do you have it for dolphin 6.1 and above?

  36. Steve October 27, 2008 9:57 am

    I've used this mod successfully however I have noticed that now if someone uses the tell a friend/invite link although a mail is sent with ?idFriend=IDnumber at the end of the url in the invite email, the person accepting the invite and joining does not get the referring friend added to their friends list.

    Anyone else having problems with the invite a friend feature not adding the inviter to the invitee?

    This subject is not being answered in other forums for some reason, the usual answer is "if the email is not being sent it's due to blahblah" - which isn't the question I've been asking.

    Cheers.

  37. jeff November 13, 2008 1:39 pm

    Thank you for the code bits.
    How would you send a default message to the new member at the time of registration?

  38. Jeff powers January 4, 2009 10:23 pm

    Hi Steve,

    Can u pls share some thoughts on enabling invite friends something similar to your work @http://winehappy.com/social

  39. hEROV March 8, 2009 4:39 pm

    BOONEX DOLPHIN ARE FRIENDS OF SKADATE ALSO KNOWN AS SCAMDATE AND KYRGIZ SCAMMERS!!! Andrey Sivtsov is a famous Kyrgiz scammer. Boonex states that it is a US-based company, which is A TOTAL LIE! (If you are a man who somehow still haven't heard anything about Scamdate, read http://www.topix.com/forum/who/scam/TCS27T4P67FRVPBB9 just to be in the picture).
    Let us look at the whois info, to start with: http://whois.domaintools.com/aedating.com (it is one of the Boonex major sites).
    Registrant:
    Yulia Sivtsova
    mikroraion Asanbay d.2 kv.54
    Bishkek 720060
    Kyrgyzstan
    Nice, is not it? :-) (Cowards usually use the name of their wives to register domains by the way). If you go to http://www.aedating.com you will be redirected to Boonex.com, the main scam site of the scammer Andrey Sivtsov.
    You may ask, well, the script is "free", how do he scam people? It is very simple: to have the copyright removed, mods added, bugs (which are numerous) removed, you will have to PAY, PAY, PAY, and pay for a very long time. You will pay a lot of money. You will also frequently see such messages:
    Product is available for contributors only
    And so you become a contributor how? Thought you'd never ask!
    "You can become a contributor by donating $40 a month to ExpertZZZ. Nice scheme, eh? :-) There is a lot to learn from Kyrgiz scammers.
    If you did not know the script Boonex Dolphin has bugs, you can check this link: http://www.google.com/search?hl=en&newwindow=1&q=boonex+vulnerability&btnG=Search
    It will show you the real state of things.
    Please be warned, Boonex Dolphin is a buggy product made by a Kyrgiz scam company. Do not repeat my mistakes.

  40. Andrei April 30, 2009 7:30 pm

    Boonex Dolphin is the most ugly and terrible piece of code I've ever seen!!! Try to digg in the code, change something substantially - and you'll see yourself that it has architecture that is impossible to deploy. Structured programming mixed with OOP that violates all normal rules of OOAD, ugly and difficult to read style of coding - man I'm so angry and disappointed with it - current project I'm building upon it is late because I HAD TO REIMPLEMENT MOST SOCIAL NETWORKING FEATURES what was done because of tight coupling of code and terrible design in general…>:( Don't even think of buying it if you plan to change at least something about it substantially. It might work if you plan to stick with it while making minor changes - mostly styles and colors. But everything over that will make you regret…
    I haven't tried other Boonex products yet (and never will do so!), but DOLPHIN IS THE WORST SCRIPT I'VE EVER SEEN. I STRONGLY RECOMMEND USING OTHER PRODUCTS - there are plenty of them.
    Considering previous post - why someone wants to lie about company whereabouts? There's no other answer but to fool customers. They say they offer quality product with customer support, which is a big lie.
    Don't get fooled - use SocialEngine, JomSocial, Drupal, etc instead.

  41. CoderSteve (admin) May 1, 2009 12:59 am

    Hey Andrei,

    I don't disagree with you… I've given up on Boonex Dolphin and is using ning instead.

  42. tommy May 5, 2009 6:38 am

    i agree broonex has got well shit i dont think webmasters want the same scipts and layouts has other site thats why im building my own software easy to use looks nice and works great and its very easy to build mods for my layout looks like the old version of fbook for now but it looks brilliant and i aslo added status and wall but still needs alot doing to it it took me over 2 mounths to build but it was worth it i only started building it just to see if i could (experamental) but i might but it up on broonex for free as long as people dont take off copy wright with out my promission.

    with my social site software iam adding the best features of all the top SNs such as fbook twiter myspace bebo piczo myspace and tube on the net pluse adding all my features what i come up with.

    lets just say im goinin all out on it
    even though its in 2mounths in the makeing its come to gever nice im going to spend atleast another to mounth or so progreesing it

    and then hope webmasters will like it ok im not realy that exerinest at web development
    so ever 1 wont have a probilem building mods you could even us most of the code to build rpgs apps anything thats how easy it is becouse its in basic php

    ok onli 5% of my sofware uses functions
    up to now i have these features

    status
    profile
    browse (all members)
    search (by realname)
    forums (bb codes supported)
    friends list
    comments
    profile edit (basic personl education profile photo upload)
    account settings
    reqests
    and a few more
    in about two mounth i will upload it on exerptzzz
    thanks tommy aka cleggster

Leave a Comment

Name (required)

Email (required)

Website

Comments



You haven't activated the Flickr plugin.
If You don't have it installed
You can
Download the Flickr Plugin
from here

Recent Flickr Photo

2008 (c) InfinityScript.com - theme by ReviewSaurus