Seth Zankuten Posted March 17, 2006 Share Posted March 17, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/5156-avatar-help/ Share on other sites More sharing options...
Gaia Posted March 17, 2006 Share Posted March 17, 2006 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 Link to comment https://forums.phpfreaks.com/topic/5156-avatar-help/#findComment-18448 Share on other sites More sharing options...
Seth Zankuten Posted March 18, 2006 Author Share Posted March 18, 2006 [!--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. Quote Link to comment https://forums.phpfreaks.com/topic/5156-avatar-help/#findComment-18498 Share on other sites More sharing options...
me1000 Posted March 18, 2006 Share Posted March 18, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/5156-avatar-help/#findComment-18503 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.