Skip to:
Content
Pages
Categories
Search
Top
Bottom

Trying to figure out a Invite System for CubePoints

  • @xberserker

    Participant

    Just wondering if anyone could help point me in the right direction. Here is what I’d like to do.

    My idea is:

    A current member sends a email invite to a friend along with a random invite code. New member signs up and go to a form and inputs the invite code.

    Then the referrer get’s some points. This is the API for CubePoints pretty much:

    if( function_exists(‘cp_alterPoints’) && is_user_logged_in() ){
    cp_alterPoints(cp_currentUser(), 50);
    cp_log(‘Referral Points’, cp_currentUser(), 50, BuddyPress);
    }

  • The topic ‘Trying to figure out a Invite System for CubePoints’ is closed to new replies.
Skip to toolbar