News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Custom Profile Field Not Showing...

Started by Burke ♞ Knight, December 26, 2014, 10:19:58 AM

Previous topic - Next topic

Burke ♞ Knight

Okay, I have a couple of custom profile fields that should be showing for all users, yet it seems that only the owner can see theirs. Not even the admin, can see other member's info in that field.

However, this is only on the mini-profile in posts, that it does not show right.
The code I have to show for the standard placement in Display.template.php is:

// Any custom fields for standard placement?
if (!empty($message['member']['custom_fields']))
{
foreach ($message['member']['custom_fields'] as $custom)
if (empty($custom['placement']) || empty($custom['value']))
echo '
<li class="custom"><strong>', $custom['title'], ':</strong><br /> ', $custom['value'], '</li>';
}



Yet, it is not following the setting for Users can see, owner can modify on the posts.
These fields are rather needed for the site, as they tell those helping some vital information that is needed to help the people.

Arantor

What are the other settings in the custom field configuration? Specifically, say, "Show on Topic View" is checked?
Holder of controversial views, all of which my own.


Burke ♞ Knight

Yes, it is checked. That is how I found this, as I could see my own, but not other people's.
Yet, if I log into another account, I get the same, just the user can see their own, no one else's.
However, I do know this for sure, these were visible in 2.0.8 but not now in 2.0.9.

Other settings:

Profile Section - Forum Profile
Placement: Standard (With Title)
1 is forced on reg, 1 is not.
Show is:
<strong>{INPUT}</strong>

Text / 50 / No BBC

No HTML / No search / Active

Burke ♞ Knight

Okay, not sure if this info is helpful or not, but the site started at 2.0.4 and had been updated via package manager as the updates came out, up to now.

I tried to have the fields shown above signature, with same issue as above, only the user see's their own, admin only see's it's own, too.
Same with placing with the icons.

Advertisement: