Show avatar name on webpage by using ID

Krad
by Krad · 2 posts
9 years ago in HTML & CSS
Posted 9 years ago · Author
Hi,

I was wondering if there is a way to generate a text that would show an avatar name, given the that you already have the ID. I'm not looking for an input box where you input the ID and it generates the name based on that (I'm not looking to do something like this http://gaf210.imvustylez.net/codes/gadg ... vatar_id=#).

What I want is to have the name displayed in the page when I write the html code. For example, the code below would show me the avatar pic if I placed it in my page and replaced "ID" with the actual avatar ID.

<img id="dp" src="http://www.imvu.com/catalog/web_av_pic.php?u=ID">
for avatar 1111 it would be
<img id="dp" src="http://www.imvu.com/catalog/web_av_pic.php?u=1111">

Is it possible to make something similar that would display the name? (If it is, it would be even nicer to have the last login date and sign up date showing too)

Thanks and I hope my question is clear and not too confusing. :D
Posted 9 years ago
Krad wrote:
Hi,I was wondering if there is a way to generate a text that would show an avatar name, given the that you already have the ID. I'm not looking for an input box where you input the ID and it generates the name based on that (I'm not looking to do something like this http://gaf210.imvustylez.net/codes/gadg ... vatar_id=#).What I want is to have the name displayed in the page when I write the html code. For example, the code below would show me the avatar pic if I placed it in my page and replaced "ID" with the actual avatar ID.for avatar 1111 it would beIs it possible to make something similar that would display the name? (If it is, it would be even nicer to have the last login date and sign up date showing too)Thanks and I hope my question is clear and not too confusing.


You would have to tap into the API via ajax.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT