MediaPost Social Network

Up:friend-selector/h2>

Renders a predictive friend selector input for a given person.

Attributes

  • Optional
    • int uid - The user whose friends to allow. (default value is the uid of the currently logged-in user)
    • string name - The name of the form element. (default value is login)
    • string idname - The name of the hidden form element that contains the uid of the selected friend. (default value is friend_selector)
    • bool include_me - whether or not to include the logged in user in the suggestions. (default value is false)
    • string exclude_ids - A list of user id's to exclude from the selector, separates by commas.

    Sample code

      <up:friend-selector uid="123445" name="uid" idname="friend_sel" />