Announcement

Collapse
No announcement yet.

How does one go about toggling individual notifications via Profile field?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [vB4] How does one go about toggling individual notifications via Profile field?

    Why does the following not work?

    Template: navbar_notifications_menubit
    Code:
    <vb:if condition="($notification.phrase != 'XYZ') && ($bbuserinfo['field20'] != 'No')">
    <li><a href="{vb:raw notification.link}"><span>{vb:raw notification.total}</span> {vb:raw notification.phrase}</a></li>
    </vb:if>
    If the XYZ is found, it doesn't show any notifications. I want to show all notifications but XYZ.

    Thanks for your time.

    Edit: I figured it out, I hacked the code so it does not add the notification if the profile field is set.
    Last edited by vauge; Tue 21 Aug '12, 6:24am.
    ??

Related Topics

Collapse

Working...
X