Results 1 to 5 of 5

Thread: Affilate system for members

  1. #1
    valentino
    Guest

    Default Affilate system for members

    Affiliate system for members don't work in clean 0.4 Tested it multiple times. Anyone can verify this?

  2. #2
    mark
    Guest

    Default Steps Needed

    Hi

    Can you provide steps what you did, so that i can reproduce whatever error there was.

    Thanks!

    Moydi

  3. #3
    valentino
    Guest

    Default affiliate as members

    oke.
    Well i logged in as a member, send 5 emails to 5 test-emailaddresses after i set up the amounts for affilates as members, 5 members - 5 days gold, 10 members - 15 days gold etc...everything checked correct in the admin panel. Affillate checked and checked off free mode) Then after i recieved the 5 testmails i registered then through the link in the 5 testmails..but no members where added to my account, it stayed on 0...so i assume that there is a bug...is it a known one or just at my site? I am running clean version 04.

    kind regards

  4. #4
    mark
    Guest

    Default The Codes

    Okay, there are two things to check if its a bug :

    1) Look into the table->aff_members -- Does it increase everytime you signup with affiliate link.

    2) Does the affiliate link has this -- ?dAff=<whatevernumber>


    What is the code In join_form.php, similar below :

    // 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'" );
    }
    }

  5. #5
    valentino
    Guest

    Default affiliate as members

    the email template only gives a link away...so ni id or what soever in the link and the join page only has this part:

    // -------------------------


    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)");
    }
    }


    // ---------------

    I don'tknow if its supposed to be like that?
    And i don't know how to make the email include an id from the sender in the link. I have another datingsite based on IQ and everything you said is in there and works, just this site is clean 04 and not...so help me out here please, i can just grab your code and paste it into the login.php...but how to get this email to give an ID to the link...i don't know

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SMS System
    By misterx01 in forum Other 3rd Party Applications
    Replies: 1
    Last Post: 07-10-2009, 01:46 AM
  2. Credit System in 6.1
    By daser007 in forum Dolphin General Discussion v6.00 and above
    Replies: 0
    Last Post: 05-08-2008, 09:46 AM
  3. newsletter system ?
    By LovePieds in forum Dolphin General Discussion v6.00 and above
    Replies: 6
    Last Post: 11-21-2007, 08:27 PM
  4. Mail system hacked and spaming members !
    By bigboy in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 2
    Last Post: 05-08-2007, 12:47 AM
  5. Better comunication system
    By viox in forum Wishlist
    Replies: 0
    Last Post: 01-03-2007, 01:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •