* User Info

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

* Recent Posts

Re: What are you listening to? by Stelios
[July 16, 2023, 08:54:53 am]


Re: What are you listening to? by Stelios
[July 16, 2023, 08:52:34 am]


Re: What are you listening to? by Jacob
[July 12, 2023, 01:59:53 am]


Re: What are you listening to? by Dagger
[July 06, 2023, 04:11:15 pm]


Re: Cannot Register on Support Forum by Jacob
[June 01, 2023, 01:09:08 am]


Re: Cannot Register on Support Forum by SMFNew
[May 21, 2023, 10:22:14 am]


Cannot Register on Support Forum by Stelios
[May 21, 2023, 06:45:30 am]


Re: Forum Profile Signature Error by SMFNew
[January 19, 2023, 10:26:49 pm]


Re: Forum Profile Signature Error by MangoMochi
[January 19, 2023, 10:24:45 pm]


Re: Forum Profile Signature Error by SMFNew
[January 19, 2023, 01:57:05 pm]

* 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 3749 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-2024, SimplePortal