Jump to content

Archived

This topic is now archived and is closed to further replies.

Seth Zankuten

Avatar Help

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

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

×

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.