customising users 'home page'

Discussion in 'Templates customization' started by doggins, Mar 2, 2008.

  1. doggins

    doggins New Member

    Joined:
    Mar 2, 2008
    Messages:
    3
    when a user logs in to the members area, I'd like them to see an image that is unique to the person that is logged in

    for example, on my particular membership site I'd like to show a graph of the members weight loss progress. So ideally when they log in they see an image of their graph.

    I dont mind manually uploading the graph, I guess one way would be to name the graph TheUsername.gif and somehow have the script call the .gif file based on the username that is logged in

    Does anyone know how I can do this? Or any alternatives?
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Give this a shot:
    Add to your member.html page
    <img src="http://yoursite.com/graphics/{$smarty.session._amember_login}.gif">

    David
  3. doggins

    doggins New Member

    Joined:
    Mar 2, 2008
    Messages:
    3
    that worked. Thank you very VERY much :)

Share This Page