1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest [Suggestion] Notices - Custom User Field Criteria, IF empty

Discussion in 'Closed Suggestions' started by fronix, Feb 16, 2012.

  1. fronix

    fronix Member

    Maybe this is a bug, I don't know but I would really like to be able to check if a custom user field is empty and not just if it contains this or that.
     
    A.E. and Digital Doctor like this.
  2. This is something we're trying to leverage too.
     
  3. Digital Doctor

    Digital Doctor Well-Known Member

    VERY good idea.
    This was brought up quite early after the release of Notices.
    It would be a very effective way of encouraging people to complete their profile.
     
  4. A.E.

    A.E. Member

    +1
    We use a lot of custom user fields for different things. And we use notices to inform > 15000 members about new features, new options, ...
    We failed a few times to create a notice because of this missing function.
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    I haven't tried this, but why doesn't this work:

    Code:
    <xen:if is="{$user.customFields.customField} == ''">
    Or:

    Code:
    <xen:if is="{$user.customFields.customField}">
    As I say, I haven't tested but I'd be surprised if this doesn't already exist.
     
  6. A.E.

    A.E. Member

    We wanna use the notice system in ACP without editing templates. ;)
     

Share This Page