Template conditional based on profile field (checkbox)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arkham
    Senior Member
    • Mar 2001
    • 2233
    • 4.1.x

    Template conditional based on profile field (checkbox)

    Is it possible to display something based on a whether or not one option is checked off in a multiple-choice custom profile filed?

    Basically I wanted to add a custom field that allowed users to customize which social bookmarking icons show up. So, if I created a checkbox for Facebook, Twitter, etc, I could put a conditional around something in the bookmarks template, eg: "If <facebook's field is checked>, Show Facebook option".

    Of course the bookmarks template only has one iteration, so I'm assuming the template would have to be severely modified.

    Is this something that could be accomplished by template edits alone, or will this require code changes?
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    Here's a great list of conditionals explained - http://forum.vbulletinsetup.com/f18/...list-2185.html

    Comment

    • Arkham
      Senior Member
      • Mar 2001
      • 2233
      • 4.1.x

      #3
      Originally posted by Floris
      Here's a great list of conditionals explained - http://forum.vbulletinsetup.com/f18/...list-2185.html
      Thanks, Floris! Searching for something exactly like that was next on my list.

      Any idea if editing the bookmarks template to apply conditionals to specific existing-bookmarks (eg facebook, twitter) is possible?

      Comment

      • Floris
        Senior Member
        • Dec 2001
        • 37767

        #4
        I have no experience with that, sorry.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...