Announcement

Collapse
No announcement yet.

Custom Profile

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

  • Custom Profile

    Is there a way using templates only to show certain custom profile fields for certain usergroups only or do you need custom code for that?

  • #2
    You can use this conditional in the MEMBERINFO template to do this:

    HTML Code:
    <if condition="is_member_of($userinfo, USERGROUP_ID)">
    profile field info here
    </if>
    Bugdar: PHP bug tracking software that is beautiful, fast, and robust.

    Comment


    • #3
      Thanks. How about in the profile.php if you want only certain usergroups to be able to update their custom field, or even see it exists?

      Comment

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