News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

how to disable avatar from the user welcome area

Started by Afro, November 17, 2008, 06:54:26 PM

Previous topic - Next topic

Afro

hello,

how do i disable the avatar that appears on the user info area for all members. WHERE IT SAYS(you have unread post, you have spent 32 hours online)

Kermit

default or custom theme ?

when default,do this

index.template.php


Code (find) Select

if (!empty($context['user']['avatar']))
echo '
<td class="windowbg" valign="middle">', $context['user']['avatar']['image'], '</td>';


Code (replace with) Select

/*
if (!empty($context['user']['avatar']))

echo '
<td class="windowbg" valign="middle">', $context['user']['avatar']['image'], '</td>';
*/



when not,you should better attach your index.template.php
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Afro

#2
i m using dilber mc theme...

Afro


Kermit

index.template.php

Code (find) Select

<td valign="middle" width="1" style="padding-right:10px; padding-left:10px;">', !empty($context['user']['avatar']) ? $context['user']['avatar']['image'] : '', '</td>


Code (replace with) Select

<td valign="middle" width="1" style="padding-right:10px; padding-left:10px;"></td>
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Afro


Advertisement: