Members

scm_member_data

[scm_member_data member_id="postid" before="pre-html" after="post-html"]

Lists information on the Member, given by its post-ID. Restrictions apply to what data is presented, see below.

Parameters

  • member_id
    The post ID of the Member.
  • before (default: empty)
    HTML code that is displayed before displaying the ranking. Typically used in (child) themes only.
  • after (default: empty)
    HTML code that is displayed after displaying the ranking. Typically used in (child) themes only.

Output restrictions

  • No Member data is presented when the site user has not logged in to the site.
  • All Member data is presented when
    • the (logged in) user has the ‘admin’ role
    • the user accesses his own information (defined by ‘User name’ field)
    • in the privacy option (see “Member options”) is selected
  • Otherwise, the contact information (address, phone, mail) and the custom fields are not presented

scm_members

[scm_members syntax="NFM or FMN" orderby="N or F" category="cat-name" before="pre-html" after="post-html"]

Lists all (unless a category is selected) Members by name. A Member name has 2 possible formats: starting with the (last) name or with the first name. Order is alphabetical on name/firstname depending on chosen syntax and can be overruled by specifying a different order.

Each name has a link to the corresponding Member’s page.

Parameters

  • syntax (default: NFM)
    Example: NFM results in “Kennedy, John F” and FMN results in “John F Kennedy”.
  • orderby (default: N (for NFM) and F (for FMN))
    Overrules sorting order.
  • category (default: none)
    When specified, lists Members of the specified category only.
  • before (default: empty)
    HTML code that is displayed before displaying the ranking. Typically used in (child) themes only.
  • after (default: empty)
    HTML code that is displayed after displaying the ranking. Typically used in (child) themes only.

Output restrictions

  • No Member list is presented when the site user has not logged in to the site.