Results 1 to 5 of 5

Thread: Changing the visible name to the "member ID"

  1. #1
    Thread Starter
    Member
    Not a Verified Customer
    lappyhappy's Avatar
    Join Date
    Jan 2010
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing the visible name to the "member ID"

    In the ads it will show the name of the person that submitted the ad. I would prefer for this to show the USER ID of the person that submitted the ad.

    Has anyone made this change that could point me in the right direction?

  2. #2
    Member damien's Avatar
    Join Date
    May 2009
    Location
    Melbourne, Australia
    Posts
    91
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Changing the visible name to the "member ID"

    In single.php you could change
    to
    and get "1" for a name with a link to domain.com/?author=1

  3. #3
    Thread Starter
    Member
    Not a Verified Customer
    lappyhappy's Avatar
    Join Date
    Jan 2010
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Changing the visible name to the "member ID"

    Thanks, Damien. I was able to change it like you said. How might I go about changing it to display the username instead of a number?

  4. #4
    Member ancient-geek's Avatar
    Join Date
    Jan 2010
    Location
    Darlington, UK
    Posts
    76
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Re: Changing the visible name to the "member ID"

    Nearly there, change it to

  5. #5
    Thread Starter
    Member
    Not a Verified Customer
    lappyhappy's Avatar
    Join Date
    Jan 2010
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Changing the visible name to the "member ID"

    Brilliant, thank you both for your replies!

Thread Information

Users Browsing this Thread

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