Advertisement:

Removing Custom Title Field from Profile Page

Aloittaja Henzo, kesäkuu 08, 2011, 09:19:42 IP

« edellinen - seuraava »

Henzo

Hi all,

I am using BBCode in my custom titles for special badges and it appears on user profiles as a block of code.

I would like to remove the Custom Title from displaying on the profile summary.

I found a post here talking about removing ICQ, etc., but I'm not sure what to remove to get rid of Custom Title appearing.


mashby

In Themes/default/Profile.template.php, look for this:
if (!empty($modSettings['titlesEnable']) && $context['member']['title'] != '')
{
echo '
<tr>
<td><b>', $txt['title1'], ': </b></td>
<td>', $context['member']['title'], '</td>
</tr>';
}

You can remove that or comment it out /*CODEABOVE*/

I think that should do it. Do you want your users to be able to edit their custom title too?
Always be a little kinder than necessary.
- James M. Barrie

Henzo

I have disabled most users from editing custom titles because badges are awarded by senior staff.

Your solution worked perfectly. Marking as solved.

Thanks so much.

Advertisement: