How to add Email or Safelist ads for members' use?

Discussion in 'Templates customization' started by sunseapromos, Oct 21, 2010.

  1. sunseapromos

    sunseapromos Member

    Joined:
    Apr 26, 2010
    Messages:
    72
    Hi,

    I have added banner and text ads for our members usage in the affiliate area.

    Now I would like to provide them with a longer text ad such as an email that they can send out to their lists and also use with Safelists.

    I know there is no "official" place to input these in our admin. Is there maybe a code I can add to create a referral link from the db that will pick up their affiliate ID and I can include it in a long text ad that I place somewhere else (another page I create) for them to grab.

    Unless of course there is a much easier, more automated way to do this that I missed????

    Hope this makes sense?

    Thank you - again, :)
    Claudia Beck
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Are you using a wordpress integration?
    Create a page/subpages with content just for affiliates.

    David
  3. sunseapromos

    sunseapromos Member

    Joined:
    Apr 26, 2010
    Messages:
    72
    No. I have this integrated into a standalone site I just designed for my client using Dreamweaver. So I can add as many pages as I want, that is not a problem.

    What code would I use on the page though to call up the member's affliate ID from the db though? (I am a designer not a programmer so I don't know how to do that. :( )


    So specifically then I would just create an additional page and link it so the member's can access it? Add another tab on the member's page or something?
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    In amember the affiliate ID is their amember user id:
    http://www.mysite.com/members/go.php?r=1 where 1 is the amember id
    in a php page

    Place this at the top of your page - with the filename ending in php:
    <?php
    session_start();
    $user = $_SESSION['_amember_user'];
    ?>

    Then you can out put the user id

    http://www.mysite.com/members/go.php?r=<?php echo $user['member_id']; ?>

    David

Share This Page