Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Alex4108 on January 07, 2012, 10:33:41 PM

Title: Removing the custom profile field name from display
Post by: Alex4108 on January 07, 2012, 10:33:41 PM
Hey guys!

So if you look to the left in my user info bar on this post, if I have any custom profile fields, they'll show up like this:

PROFILE FIELD NAME: Value

It does the same on my board, except one of them is an image I display (for division in a clan).  Is there a way to hide this text from view, ONLY in that userbar to the left?
Title: Re: Removing the custom profile field name from display
Post by: Ricky. on January 08, 2012, 01:38:42 AM
I guess you don't want to display advance profile field in topic view..
Then in your "Custom profile field" in Admin , there is option Show in Topic View, remove that tick and that field should not be visible in Topic view anymore.
Title: Re: Removing the custom profile field name from display
Post by: Alex4108 on January 08, 2012, 01:51:23 AM
Quote from: Ricky. on January 08, 2012, 01:38:42 AM
I guess you don't want to display advance profile field in topic view..
Then in your "Custom profile field" in Admin , there is option Show in Topic View, remove that tick and that field should not be visible in Topic view anymore.

I meant just the name, not the value
Title: Re: Removing the custom profile field name from display
Post by: Alex4108 on January 08, 2012, 08:09:45 PM
Andabump
Title: Re: Removing the custom profile field name from display
Post by: Illori on January 08, 2012, 08:47:02 PM
Alex4108 please do not bump within 24 hours we are all volunteers and reply if and when we know the answer
Title: Re: Removing the custom profile field name from display
Post by: Alex4108 on January 16, 2012, 08:52:35 AM
<?php
require("bumping.inc.php");
bump();
?>
Title: Re: Removing the custom profile field name from display
Post by: Alex4108 on January 16, 2012, 08:58:58 AM
Solved

Line 464 of Display.template.php
Edit to your liking