SMFNEW Support Forum
Your Forum => Tips & Resources => Outdated (Closed for posting) => Topic started by: Nick on November 10, 2009, 04:13:00 pm
-
This is for MYBB.
Description: Adds the users avatar to the top of the welcome block on the portal page.
Preview
(https://www.support.smfnew.com/proxy.php?request=http%3A%2F%2Fi33.tinypic.com%2Fei1paf.jpg&hash=c0a3ce90cebec9487d2ba3cd68077e3ea942f47a)
Go to
Admin CP > templates > Your template > Portal Templates > portal_welcome_membertext
Now right at the top of the template editor above
<span class="smalltext"><em>{$lang->member_welcome_lastvisit}</em> {$lastvisit}<br />
Add
<center><img src="{$mybb->user['avatar']}" width="0px" height="0px" /></center>
Now of course you can remove the Center tags if you dont want it to be centered. Where it says the image sizes in red change it to whatever you want.
-
nice to see another tut made by you Nick :D
-
Thanks i do try :).
-
You do very well you know. Some people look up to you. Like me. I want to be like you, but SMF type of you. Because your mostly a Mybb person
-
Thankyou for your kind words :). I started on smfnew then went to mybb. I found that i needed more space to do what i wanted.
-
Well thats great. I will always look up to you.