This topic was marked solved by Nao, on August 25th, 2014, 08:26 PM

CerealGuy

  • Posts: 343
Re: Profile Fields
« Reply #1, on August 24th, 2014, 08:56 PM »Last edited on August 24th, 2014, 09:08 PM
I'm having the same problem, adding custom fields via hook (http://wedge.org/pub/feats/8677/hook-custom-fields/).
Code: (Broken line) [Select]
<dt>', profile_privacy_icon('custom_' . $field, $field['name'] . $txt[':']), '</dt>

Im not really sure what it should be, perhaps just 'custom_field' or something like that (but its a bit long, i dont know...).
My suggestion would be
Code: [Select]
<dt>', profile_privacy_icon('custom_'.$field['name'] , $field['name'] . $txt[':']), '</dt>
.

But how you do it, privacy for custom fields is still broken. Needs perhaps some more work and perhaps an option to disable privacy features for certain custom fields.

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Profile Fields
« Reply #2, on August 24th, 2014, 11:03 PM »
No no I just made a mistake in my code, and didn't test because I don't have custom fields here.

I'll fix that ASAP but a bit busy irl right now.

Re: Profile Fields
« Reply #3, on August 25th, 2014, 02:25 AM »
Not looking for any rushing here...
Just doing my part to help, reporting what I find. :)


When do fix it, if could post here the fix for existing forum, would appreciate it. :)


Re: Profile Fields
« Reply #5, on August 26th, 2014, 06:26 AM »
Works perfectly, my friend. :)

Thank you.