* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Re: package manager by Jacob
[March 15, 2020, 09:52:22 pm]


Re: How can i create a mysql database by Jacob
[March 15, 2020, 09:49:47 pm]


Re: package manager by SMFNew
[March 15, 2020, 07:42:01 pm]


package manager by dofferz
[March 15, 2020, 03:12:36 pm]


Re: How can i create a mysql database by SMFNew
[March 15, 2020, 11:37:10 am]


Re: How can i create a mysql database by AbilayHan
[March 15, 2020, 11:34:13 am]


Re: How can i create a mysql database by SMFNew
[March 15, 2020, 11:31:02 am]


How can i create a mysql database by AbilayHan
[March 15, 2020, 11:30:29 am]


SSL Cheaper option now for custom domain users! by SMFNew
[February 26, 2020, 11:17:04 pm]


Re: I need help by Jacob
[February 22, 2020, 03:42:41 am]

* Poll

  • Have you noticed better loading times?
  • Dot YES! My forum loads instantly!
  • 53 (33%)
  • Dot I have much better loading times
  • 20 (12%)
  • Dot I have noticed my forum loads a tiny bit faster than before
  • 22 (13%)
  • Dot I have not noticed any changes
  • 64 (40%)
  • Total Members Voted: 150
  • View Topic

* Twitter

Keep up to date with SMFNew by following us on twitter!

Author Topic: [MYBB]Adding a users avatar to a portal  (Read 2528 times)

0 Members and 1 Guest are viewing this topic.

Offline Nick

  • SMFNew Support
  • *
  • Posts: 2079
  • Reputation: +19/-1
    • View Profile
    • GearedGamers
[MYBB]Adding a users avatar to a portal
« 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


Go to

Admin CP > templates > Your template > Portal Templates > portal_welcome_membertext

Now right at the top of the template editor above

Code: [Select]
<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.
« Last Edit: September 04, 2011, 05:10:25 pm by Nick »
Wondering how to install new modifications and/or themes to your SMFNew forum? Suggest one »HERE«

Share on Facebook Share on Twitter


Offline Shole

  • Shole Company
  • Friends
  • Posts: 1206
  • Reputation: +33/-7
  • The Writing Hut
    • View Profile
    • The Writing Hut
Re: Adding a users avatar to a portal
« Reply #1 on: November 10, 2009, 04:31:08 pm »
nice to see another tut made by you Nick :D

Offline Nick

  • SMFNew Support
  • *
  • Posts: 2079
  • Reputation: +19/-1
    • View Profile
    • GearedGamers
Re: Adding a users avatar to a portal
« Reply #2 on: November 10, 2009, 04:36:11 pm »
Thanks i do try :).
Wondering how to install new modifications and/or themes to your SMFNew forum? Suggest one »HERE«


Offline GuruMoose

  • Member
  • Posts: 1381
  • Reputation: +23/-39
    • View Profile
Re: Adding a users avatar to a portal
« Reply #3 on: November 13, 2009, 07:18:17 am »
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
When writing a support topic, remember to post: Your forum URl, forum type(smf 1x,smf2x or mybb 1x), your problem.

When leaving a suggestion, please leave only two links to the modification/plugin, otherwise it will most likely be not looked at until there is a link to the modification/plugin

Offline Nick

  • SMFNew Support
  • *
  • Posts: 2079
  • Reputation: +19/-1
    • View Profile
    • GearedGamers
Re: Adding a users avatar to a portal
« Reply #4 on: December 01, 2009, 12:23:11 pm »
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.
Wondering how to install new modifications and/or themes to your SMFNew forum? Suggest one »HERE«


Offline GuruMoose

  • Member
  • Posts: 1381
  • Reputation: +23/-39
    • View Profile
Re: Adding a users avatar to a portal
« Reply #5 on: December 01, 2009, 01:28:47 pm »
Well thats great. I will always look up to you.
When writing a support topic, remember to post: Your forum URl, forum type(smf 1x,smf2x or mybb 1x), your problem.

When leaving a suggestion, please leave only two links to the modification/plugin, otherwise it will most likely be not looked at until there is a link to the modification/plugin

 

SimplePortal 2.3.7 © 2008-2020, SimplePortal