Jump to content

Avatar Help


Seth Zankuten

Recommended Posts

Well, I really don't even know where to start. But what I'm attempting to do is make a script where I can implement avatars into a staff page on my site.

EXP

-User Avatar- | -User Name- | -User Position- | -User Discription-
-Avatar- | Seth Zankuten | Admin | Graphic Designer, HTML programer, MUGEN Creator, etc

Link to comment
Share on other sites

[!--quoteo(post=356037:date=Mar 17 2006, 06:30 PM:name=Gaia)--][div class=\'quotetop\']QUOTE(Gaia @ Mar 17 2006, 06:30 PM) [snapback]356037[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Ok that tells us what you are trying to accomplish, but what is the problem and where do you need help in making it happen?
[/quote]


Well I'm using MKportal with a SMF, I'm just creating a Internal Page in the MKP. I'm just getting into PHP so I really don't know any of the coding.The problem is I don't know where to start or what tags I should use to accoplish my task.

[code]
<?


$name = $mkportals->member['name'];

$content="Hi $name,
<p> So you want to know what Elemental Energy Entertainment is all about. 3E is all about learning, yes learning. 3E is here to support members, students and fans of the entertainment industry, including; video game, movies, sports, music, and art. We want to help everyone and anyone we can develop there skills in any way we can. While we are helping, teaching, and tutoring you we will be developing our skills and learning just as much as you.</p>
<p></p>";



?>[/code]

This is all I have on the page so far but after the paragraph is where I wanna make the table. I could just do it straight HTML but then the avatars would not change when the user changed them in there profile. So basicly.
Link to comment
Share on other sites

well a really simple way of doing this is just adding the URL of the image. then in the page add something like,

$avatarimage = "<img src=".$avatarurl.">";

then set the avaraturl variable to -Avatar- in the database file you are using. im not sure what you are using for a database. (mysql flatfile ect...) but just enter the avatar url the same way you do the name

hope this helps, someonemight want to make sure my code syntax is alright though
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.