Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Afro on November 17, 2008, 06:54:26 PM

Title: how to disable avatar from the user welcome area
Post by: Afro on November 17, 2008, 06:54:26 PM
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)
Title: Re: disable avatar
Post by: Kermit on November 17, 2008, 07:00:51 PM
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
Title: Re: disable avatar
Post by: Afro on January 07, 2009, 08:50:43 PM
i m using dilber mc theme...
Title: Re: how to disable avatar from the user welcome area
Post by: Afro on January 08, 2009, 06:26:11 AM
bump*

any help?
Title: Re: how to disable avatar from the user welcome area
Post by: Kermit on January 08, 2009, 01:09:58 PM
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>
Title: Re: how to disable avatar from the user welcome area
Post by: Afro on January 08, 2009, 02:57:01 PM
thanks, worked..